New version...
2.9.6 - 04/08/21 - Adjustment to checkSunHandler
New version...
2.9.6 - 04/08/21 - Adjustment to checkSunHandler
I just updated to 2.9.8 version and now this rule is working. @brian, fyi, not sure what changes were done between 2.9.6 and 2.9.8 that could explain this.
New version on GitHub...
3.0.0 - 04/26/21 - Adjustments, big change to 'xx as Restriction'
Check you time related Cogs! 
Is the Event Engine capable of doing System Startup Notification? I believe it is called systemStart ?? In RM it is under Location. Thanks
New version...
3.0.1 - 05/07/21 - Added 'System Startup' to Condition Types
![]()
Thanks Bryan.
EDIT: Working Perfect!
Kids today are SO spoiled... ![]()
New version...
3.0.2 - 05/09/21 - Added 'Button' to Condition Types
Yup, now you can select a button as a condition (doubleTapped, held, pushed, released, taps) !
OMG...(checking my pulse, it's off the charts!). Who are you, and what have you done w/Bryan!!??
Button support in Event Engine...I guess wonders will never cease.

Much gracias!
I still hate buttons but wanted to add in my Pico's 
Ahhh...Picos, that does explain it. They do rule the world, don't they. ![]()
New version...
Added Blue Iris Control to EE Actions. BI Info needs to be added to EE parent app.
New version...
3.0.4 - 05/15/21 - More BI fun!
New version...
BIG update! Added support for Calendarific, trigger on any Holiday just by selecting them from a dropdown! Free API Key required and needs to be entered in the parent app.
Also, made a small change to the BI setup in the parent app. Make sure your info is still there! 
New version...
05/28/21 - Added a random delay for sunset/sunrise options
What if it isn't an odd day, but it is kind of a strange day - can I set an oddness trigger level?
![]()
On a roll this weekend...
3.0.9 - 05/29/21 - Added Transition Conditions for Device Attributes, HSM Status and Modes
Curious, what would YOU like to see added?
Hi Brian, I upgraded to 3.0.9 but most of my lighting control has stopped working. The lights turn on but never turn off. I've spent a lot of time trying to figure this out (I'm mean, no one else is reporting this problem so it must be me)
I've tried a EE repair in HPM, uninstalled the COGS, rebuilt the switches by mode table, enable/disable just about every option I could think of.
So my last resort:
Thank-you
Description:
Event Engine Cog (3.0.9) - Éclairage - Marche
Conditions
***** Cog will fire when ANY Condition is true (Using OR)
- By Contact Sensor: [Porte Vestibule, Porte Entrée] - ClosedOpen: true, ANDOR: true
- By Motion Sensor: [MS Marche] - InactiveActive: true, ANDOR: true
Actions
- Switches Per Mode:
| Mode | Devices | Level | Temp | Color | TimeRev | MinSec |
|---|---|---|---|---|---|---|
| Jour | Marches | 30 | 3200 | NA | 15 | Sec |
| Soir | Marches | 20 | 2700 | NA | 15 | Sec |
| Nuit | Marches | 20 | NA | Red | 15 | Sec |
| Réveil | Marches | 25 | 2700 | NA | 15 | Sec |
| Projecteur | Marches | 25 | NA | Red | 15 | Sec |
- True Reverse: true
- Reverse: true
- Delay Between Actions: 100
LOG:
app:52192021-06-02 10:51:15.515 trace********************* End - startTheProcess (3.0.9) - Éclairage - Marche *********************
dev:28492021-06-02 10:51:15.398 infoOpening telnet connection
app:52192021-06-02 10:51:14.925 debugIn setLevelandColorHandler - switchesPerMode - setColorTemp - Marches, setColorTemp(3200)
app:52192021-06-02 10:51:14.922 debugIn setLevelandColorHandler - alreadyThere: true
app:52192021-06-02 10:51:14.919 debugIn setLevelandColorHandler - switchesPerMode - sPDM: Marches - tDevice: Marches
app:52192021-06-02 10:51:14.916 debugIn setLevelandColorHandler - switchesPerMode - Working on: Marches
app:52192021-06-02 10:51:14.913 infoIn setLevelandColorHandler - oldMap: [Marches:off::10.0::3200]
app:52192021-06-02 10:51:14.909 debugIn setLevelandColorHandler - 1 - hue: null - saturation: null - onLevel: 30
app:52192021-06-02 10:51:14.906 debugIn setLevelandColorHandler - fromWhere: switchesPerMode, color: NA - onLevel: 30
app:52192021-06-02 10:51:14.903 debugIn switchesPerModeActionHandler - (3.0.9)
app:52192021-06-02 10:51:14.899 debugIn startTheProcess - actionType: [aSwitchesPerMode]
app:52192021-06-02 10:51:14.896 debugIn startTheProcess - HERE WE GO! - whatToDo: run
app:52192021-06-02 10:51:14.893 debugIn checkingWhatToDo - ********** whatToDo: run **********
app:52192021-06-02 10:51:14.890 debugIn checkingWhatToDo - Using A - Run
app:52192021-06-02 10:51:14.887 debugIn checkingWhatToDo - everythingOK: true
app:52192021-06-02 10:51:14.884 debugIn checkingWhatToDo - USING OR - totalMatch: 0 - totalMatchHelper: 0 - setpointOK: false - transitionOK: null - timeOK: true
app:52192021-06-02 10:51:14.880 debugIn checkingWhatToDo (3.0.9)
app:52192021-06-02 10:51:14.877 debugIn checkTransitionHandler (3.0.9)
app:52192021-06-02 10:51:14.874 debugIn devicesGoodHandler - MOTION - OR - count: 1 - totalMatch: 0 - totalConditions: 2
app:52192021-06-02 10:51:14.870 debugIn devicesGoodHandler - type: true - deviceMatch: 0 - theCount: 1 - type: true
app:52192021-06-02 10:51:14.867 traceIn devicesGoodHandler - Adding to deviceTrue2: 1
app:52192021-06-02 10:51:14.864 debugIn devicesGoodHandler - Working 2: inactive and Current Value: inactive
app:52192021-06-02 10:51:14.860 debugIn devicesGoodHandler - Checking: MS Marche - motion - Testing Current Value - inactive
app:52192021-06-02 10:51:14.857 debugIn devicesGoodHandler (3.0.9) - MOTION - data: condition
app:52192021-06-02 10:51:14.854 debugIn devicesGoodHandler - CONTACT - OR - count: 2 - totalMatch: 0 - totalConditions: 1
app:52192021-06-02 10:51:14.851 debugIn devicesGoodHandler - type: true - deviceMatch: 0 - theCount: 2 - type: true
app:52192021-06-02 10:51:14.847 traceIn devicesGoodHandler - Adding to deviceTrue2: 2
app:52192021-06-02 10:51:14.844 debugIn devicesGoodHandler - Working 2: closed and Current Value: closed
app:52192021-06-02 10:51:14.841 debugIn devicesGoodHandler - Checking: Porte Entrée - contact - Testing Current Value - closed
app:52192021-06-02 10:51:14.838 traceIn devicesGoodHandler - Adding to deviceTrue2: 1
app:52192021-06-02 10:51:14.834 debugIn devicesGoodHandler - Working 2: closed and Current Value: closed
app:52192021-06-02 10:51:14.831 debugIn devicesGoodHandler - Checking: Porte Vestibule - contact - Testing Current Value - closed
app:52192021-06-02 10:51:14.828 debugIn devicesGoodHandler (3.0.9) - CONTACT - data: condition
app:52192021-06-02 10:51:14.824 debugIn startTheProcess - 1C - betweenTime: true - timeBetweenSun: true - daysMatch: true - modeMatch: true
app:52192021-06-02 10:51:14.821 debugIn startTheProcess - 1B - daysMatchRestic: null - timeBetweenRestric: null - timeBetweenSunRestric: null - modeMatchRestric: true
app:52192021-06-02 10:51:14.818 debugIn startTheProcess - 1A - betweenTime: true - timeBetweenSun: true - daysMatch: true - modeMatch: true
app:52192021-06-02 10:51:14.814 debugIn hsmStatusHandler - hsmStatus: null
app:52192021-06-02 10:51:14.811 debugIn hsmAlertHandler - hsmAlertStatus: null
app:52192021-06-02 10:51:14.808 debugIn modeHandler - modeMatch: true
app:52192021-06-02 10:51:14.804 debugIn modeHandler - No Mode selected so modeMatch = true
app:52192021-06-02 10:51:14.801 debugIn modeHandler (3.0.9)
app:52192021-06-02 10:51:14.798 debugIn dayOfTheWeekHandler - daysMatch: true
app:52192021-06-02 10:51:14.795 debugIn dayOfTheWeek (3.0.9)
app:52192021-06-02 10:51:14.792 debugIn checkSunHandler - timeDaysType:
app:52192021-06-02 10:51:14.789 debugIn checkSunHandler (3.0.9)
app:52192021-06-02 10:51:14.786 debugIn startTheProcess - whoHappened: MS Marche - whatHappened: inactive - whoText: MS Marche: motion is inactive
app:52192021-06-02 10:51:14.768 trace******************** Start - startTheProcess (3.0.9) - Éclairage - Marche ********************
app:52192021-06-02 10:51:14.764 trace*
dev:4812021-06-02 10:51:14.584 infoMS Marche: motion is inactive
app:52212021-06-02 10:51:06.632 warnjava.lang.NullPointerException: Cannot invoke method split() on null object on line 4164
app:55692021-06-02 10:51:06.597 warnjava.lang.NullPointerException: Cannot invoke method split() on null object on line 4223
app:52192021-06-02 10:51:04.164 trace*
app:52192021-06-02 10:51:04.161 trace********************* End - startTheProcess (3.0.9) - Éclairage - Marche *********************
app:52192021-06-02 10:51:03.669 debugIn setLevelandColorHandler - switchesPerMode - setColorTemp - Marches, setColorTemp(3200)
app:52192021-06-02 10:51:03.666 debugIn setLevelandColorHandler - alreadyThere: true
app:52192021-06-02 10:51:03.663 debugIn setLevelandColorHandler - switchesPerMode - sPDM: Marches - tDevice: Marches
app:52192021-06-02 10:51:03.660 debugIn setLevelandColorHandler - switchesPerMode - Working on: Marches
app:52192021-06-02 10:51:03.657 infoIn setLevelandColorHandler - oldMap: [Marches:off::10.0::3200]
app:52192021-06-02 10:51:03.654 debugIn setLevelandColorHandler - 1 - hue: null - saturation: null - onLevel: 30
app:52192021-06-02 10:51:03.651 debugIn setLevelandColorHandler - fromWhere: switchesPerMode, color: NA - onLevel: 30
app:52192021-06-02 10:51:03.648 debugIn switchesPerModeActionHandler - (3.0.9)
app:52192021-06-02 10:51:03.644 debugIn startTheProcess - actionType: [aSwitchesPerMode]
app:52192021-06-02 10:51:03.641 debugIn startTheProcess - HERE WE GO! - whatToDo: run
app:52192021-06-02 10:51:03.638 debugIn checkingWhatToDo - ********** whatToDo: run **********
app:52192021-06-02 10:51:03.635 debugIn checkingWhatToDo - Using A - Run
app:52192021-06-02 10:51:03.632 debugIn checkingWhatToDo - everythingOK: true
app:52192021-06-02 10:51:03.629 debugIn checkingWhatToDo - USING OR - totalMatch: 1 - totalMatchHelper: 0 - setpointOK: false - transitionOK: null - timeOK: true
app:52192021-06-02 10:51:03.625 debugIn checkingWhatToDo (3.0.9)
app:52192021-06-02 10:51:03.622 debugIn checkTransitionHandler (3.0.9)
app:52192021-06-02 10:51:03.619 debugIn devicesGoodHandler - MOTION - OR - count: 1 - totalMatch: 1 - totalConditions: 2
app:52192021-06-02 10:51:03.616 debugIn devicesGoodHandler - Using OR1
app:52192021-06-02 10:51:03.613 debugIn devicesGoodHandler - type: true - deviceMatch: 1 - theCount: 1 - type: true
app:52192021-06-02 10:51:03.609 traceIn devicesGoodHandler - Adding to deviceTrue1: 1
app:52192021-06-02 10:51:03.606 debugIn devicesGoodHandler - Working 1: active and Current Value: active
app:52192021-06-02 10:51:03.603 debugIn devicesGoodHandler - Checking: MS Marche - motion - Testing Current Value - active
app:52192021-06-02 10:51:03.599 debugIn devicesGoodHandler (3.0.9) - MOTION - data: condition
app:52192021-06-02 10:51:03.596 debugIn devicesGoodHandler - CONTACT - OR - count: 2 - totalMatch: 0 - totalConditions: 1
app:52192021-06-02 10:51:03.593 debugIn devicesGoodHandler - type: true - deviceMatch: 0 - theCount: 2 - type: true
app:52192021-06-02 10:51:03.590 traceIn devicesGoodHandler - Adding to deviceTrue2: 2
app:52192021-06-02 10:51:03.586 debugIn devicesGoodHandler - Working 2: closed and Current Value: closed
app:52192021-06-02 10:51:03.583 debugIn devicesGoodHandler - Checking: Porte Entrée - contact - Testing Current Value - closed
app:52192021-06-02 10:51:03.580 traceIn devicesGoodHandler - Adding to deviceTrue2: 1
app:52192021-06-02 10:51:03.577 debugIn devicesGoodHandler - Working 2: closed and Current Value: closed
app:52192021-06-02 10:51:03.573 debugIn devicesGoodHandler - Checking: Porte Vestibule - contact - Testing Current Value - closed
app:52192021-06-02 10:51:03.570 debugIn devicesGoodHandler (3.0.9) - CONTACT - data: condition
app:52192021-06-02 10:51:03.567 debugIn startTheProcess - 1C - betweenTime: true - timeBetweenSun: true - daysMatch: true - modeMatch: true
app:52192021-06-02 10:51:03.564 debugIn startTheProcess - 1B - daysMatchRestic: null - timeBetweenRestric: null - timeBetweenSunRestric: null - modeMatchRestric: null
app:52192021-06-02 10:51:03.560 debugIn startTheProcess - 1A - betweenTime: true - timeBetweenSun: true - daysMatch: true - modeMatch: true
app:52192021-06-02 10:51:03.506 debugIn hsmStatusHandler - hsmStatus: null
app:52192021-06-02 10:51:03.503 debugIn hsmAlertHandler - hsmAlertStatus: null
app:52192021-06-02 10:51:03.500 debugIn modeHandler - modeMatch: true
app:52192021-06-02 10:51:03.497 debugIn modeHandler - No Mode selected so modeMatch = true
app:52192021-06-02 10:51:03.494 debugIn modeHandler (3.0.9)
app:52192021-06-02 10:51:03.491 debugIn dayOfTheWeekHandler - daysMatch: true
app:52192021-06-02 10:51:03.487 debugIn dayOfTheWeek (3.0.9)
app:52192021-06-02 10:51:03.484 debugIn checkSunHandler - timeDaysType:
app:52192021-06-02 10:51:03.481 debugIn checkSunHandler (3.0.9)
app:52192021-06-02 10:51:03.478 debugIn startTheProcess - whoHappened: MS Marche - whatHappened: active - whoText: MS Marche: motion is active
app:52192021-06-02 10:51:03.462 trace******************** Start - startTheProcess (3.0.9) - Éclairage - Marche ********************