Motion Activated Light OFF/ON


#1

1) Give a description of the problem
Lights turning off even though there’s motion and activity.

2) What is the expected behavior?
When there is no motion or activity, there is a delay, and the lights turn off.

3) What is happening/not happening?
Wife is in kitchen where there is motion and the light turns off. :frowning:

4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)
+1ms ╔Starting piston… (v0.3.000.20180224)
+591ms ║╔Subscribing to devices…
+624ms ║║Subscribing to Guest Bedroom Motion Sensor.motion…
+635ms ║║Subscribing to Kitchen Motion Sensor.motion…
+646ms ║║Subscribing to Porah’s Motion Sensor.motion…
+656ms ║║Subscribing to Rene’s Motion Sensor.motion…
+668ms ║║Subscribing to Master Bathroom Door Sensor.contact…
+679ms ║║Subscribing to Master Bedroom Door Sensor.contact…
+690ms ║║Subscribing to PoraH’s Door Sensor.contact…
+865ms ║║Subscribing to Antwan’s Corner…
+867ms ║║Subscribing to Dining Room Light Switch…
+867ms ║║Subscribing to Foyer Light Switch…
+868ms ║║Subscribing to IMac Corner…
+869ms ║║Subscribing to Kitchen Light Switch…
+870ms ║║Subscribing to Living Room…
+871ms ║║Subscribing to Master Bathroom Light Switch…
+872ms ║║Subscribing to Porah’s Bathroom Light Switch…
+873ms ║╚Finished subscribing (284ms)
+913ms ║Comparison (enum) inactive is (string) inactive = true (2ms)
+928ms ║Comparison (enum) inactive is (string) inactive = true (1ms)
+983ms ║Comparison (enum) open did_not_change = true (40ms)
+992ms ║Comparison (time) 82980064 is_between (time) 79200000 … (time) 25200000 = true (6ms)
+993ms ║Time restriction check passed
+1003ms ║Cancelling statement #34’s schedules…
+1025ms ║Requesting time schedule wake up at Sat, Mar 24 2018 @ 7:00:00 AM EDT
+1050ms ║Setting up scheduled job for Sat, Mar 24 2018 @ 7:00:00 AM EDT (in 28619.872s)
+1062ms ╚Piston successfully started (1062ms)
3/22/2018, 10:06:29 PM +710ms
+157ms ╔Stopping piston…
+261ms ╚Piston successfully stopped (105ms)
3/22/2018, 10:05:57 PM +921ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = active with a delay of 145ms
+193ms ║RunTime Analysis CS > 22ms > PS > 57ms > PE > 114ms > CE
+196ms ║Runtime (42287 bytes) successfully initialized in 57ms (v0.3.000.20180224) (193ms)
+196ms ║╔Execution stage started
+217ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+219ms ║║Condition #30 evaluated true (18ms)
+232ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+234ms ║║Condition #31 evaluated true (15ms)
+275ms ║║Comparison (enum) open did_not_change = true (29ms)
+276ms ║║Condition #33 evaluated true (42ms)
+285ms ║║Comparison (time) 79558198 is_between (time) 79200000 … (time) 25200000 = true (6ms)
+286ms ║║Time restriction check passed
+287ms ║║Condition #34 evaluated true (10ms)
+288ms ║║Cancelling statement #34’s schedules…
+292ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+294ms ║║Condition group #1 evaluated true (state did not change) (93ms)
+296ms ║║Cancelling statement #7’s schedules…
+309ms ║║Executed physical command [Antwan’s Corner].off() (8ms)
+309ms ║║Executed [Antwan’s Corner].off (8ms)
+324ms ║║Executed physical command [Dining Room Light Switch].off() (12ms)
+325ms ║║Executed [Dining Room Light Switch].off (14ms)
+339ms ║║Executed physical command [Foyer Light Switch].off() (12ms)
+340ms ║║Executed [Foyer Light Switch].off (13ms)
+349ms ║║Executed physical command [IMac Corner].off() (7ms)
+350ms ║║Executed [IMac Corner].off (9ms)
+365ms ║║Executed physical command [Kitchen Light Switch].off() (12ms)
+365ms ║║Executed [Kitchen Light Switch].off (13ms)
+375ms ║║Executed physical command [Living Room].off() (7ms)
+375ms ║║Executed [Living Room].off (8ms)
+390ms ║║Executed physical command [Master Bathroom Light Switch].off() (12ms)
+390ms ║║Executed [Master Bathroom Light Switch].off (13ms)
+405ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (12ms)
+406ms ║║Executed [Porah’s Bathroom Light Switch].off (14ms)
+408ms ║╚Execution stage complete. (212ms)
+410ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32041.67s)
+420ms ╚Event processed successfully (420ms)
3/22/2018, 10:05:00 PM +11ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = inactive with a delay of 141ms
+194ms ║RunTime Analysis CS > 21ms > PS > 58ms > PE > 115ms > CE
+197ms ║Runtime (42287 bytes) successfully initialized in 58ms (v0.3.000.20180224) (195ms)
+198ms ║╔Execution stage started
+218ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+220ms ║║Condition #30 evaluated true (18ms)
+233ms ║║Comparison (enum) inactive is (string) inactive = true (2ms)
+234ms ║║Condition #31 evaluated true (13ms)
+267ms ║║Comparison (enum) open did_not_change = true (19ms)
+268ms ║║Condition #33 evaluated true (33ms)
+276ms ║║Comparison (time) 79500280 is_between (time) 79200000 … (time) 25200000 = true (5ms)
+277ms ║║Time restriction check passed
+279ms ║║Condition #34 evaluated true (9ms)
+279ms ║║Cancelling statement #34’s schedules…
+283ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+286ms ║║Condition group #1 evaluated true (state did not change) (83ms)
+287ms ║║Cancelling statement #7’s schedules…
+299ms ║║Executed physical command [Antwan’s Corner].off() (7ms)
+300ms ║║Executed [Antwan’s Corner].off (9ms)
+314ms ║║Executed physical command [Dining Room Light Switch].off() (12ms)
+315ms ║║Executed [Dining Room Light Switch].off (13ms)
+330ms ║║Executed physical command [Foyer Light Switch].off() (12ms)
+330ms ║║Executed [Foyer Light Switch].off (13ms)
+340ms ║║Executed physical command [IMac Corner].off() (8ms)
+340ms ║║Executed [IMac Corner].off (8ms)
+355ms ║║Executed physical command [Kitchen Light Switch].off() (12ms)
+356ms ║║Executed [Kitchen Light Switch].off (13ms)
+365ms ║║Executed physical command [Living Room].off() (7ms)
+366ms ║║Executed [Living Room].off (9ms)
+380ms ║║Executed physical command [Master Bathroom Light Switch].off() (12ms)
+381ms ║║Executed [Master Bathroom Light Switch].off (12ms)
+395ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (12ms)
+396ms ║║Executed [Porah’s Bathroom Light Switch].off (14ms)
+399ms ║╚Execution stage complete. (202ms)
+400ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32099.589s)
+411ms ╚Event processed successfully (411ms)
3/22/2018, 10:04:04 PM +199ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = active with a delay of 138ms
+194ms ║RunTime Analysis CS > 22ms > PS > 57ms > PE > 115ms > CE
+197ms ║Runtime (42287 bytes) successfully initialized in 57ms (v0.3.000.20180224) (195ms)
+198ms ║╔Execution stage started
+219ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+221ms ║║Condition #30 evaluated true (18ms)
+233ms ║║Comparison (enum) inactive is (string) inactive = true (2ms)
+235ms ║║Condition #31 evaluated true (12ms)
+273ms ║║Comparison (enum) open did_not_change = true (25ms)
+274ms ║║Condition #33 evaluated true (39ms)
+283ms ║║Comparison (time) 79444474 is_between (time) 79200000 … (time) 25200000 = true (6ms)
+284ms ║║Time restriction check passed
+285ms ║║Condition #34 evaluated true (10ms)
+286ms ║║Cancelling statement #34’s schedules…
+290ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+292ms ║║Condition group #1 evaluated true (state did not change) (89ms)
+294ms ║║Cancelling statement #7’s schedules…
+308ms ║║Executed physical command [Antwan’s Corner].off() (8ms)
+308ms ║║Executed [Antwan’s Corner].off (9ms)
+324ms ║║Executed physical command [Dining Room Light Switch].off() (13ms)
+325ms ║║Executed [Dining Room Light Switch].off (15ms)
+340ms ║║Executed physical command [Foyer Light Switch].off() (12ms)
+341ms ║║Executed [Foyer Light Switch].off (14ms)
+351ms ║║Executed physical command [IMac Corner].off() (7ms)
+352ms ║║Executed [IMac Corner].off (9ms)
+366ms ║║Executed physical command [Kitchen Light Switch].off() (12ms)
+367ms ║║Executed [Kitchen Light Switch].off (13ms)
+377ms ║║Executed physical command [Living Room].off() (8ms)
+378ms ║║Executed [Living Room].off (8ms)
+392ms ║║Executed physical command [Master Bathroom Light Switch].off() (12ms)
+393ms ║║Executed [Master Bathroom Light Switch].off (14ms)
+408ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (12ms)
+409ms ║║Executed [Porah’s Bathroom Light Switch].off (14ms)
+411ms ║╚Execution stage complete. (213ms)
+413ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32155.389s)
+424ms ╚Event processed successfully (424ms)
3/22/2018, 10:03:48 PM +886ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = inactive with a delay of 144ms
+217ms ║RunTime Analysis CS > 34ms > PS > 57ms > PE > 126ms > CE
+220ms ║Runtime (42287 bytes) successfully initialized in 57ms (v0.3.000.20180224) (218ms)
+221ms ║╔Execution stage started
+242ms ║║Comparison (enum) inactive is (string) inactive = true (2ms)
+244ms ║║Condition #30 evaluated true (18ms)
+257ms ║║Comparison (enum) inactive is (string) inactive = true (2ms)
+259ms ║║Condition #31 evaluated true (14ms)
+420ms ║║Comparison (enum) open did_not_change = true (146ms)
+421ms ║║Condition #33 evaluated true (162ms)
+430ms ║║Comparison (time) 79429308 is_between (time) 79200000 … (time) 25200000 = true (6ms)
+431ms ║║Time restriction check passed
+432ms ║║Condition #34 evaluated true (10ms)
+433ms ║║Cancelling statement #34’s schedules…
+437ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+439ms ║║Condition group #1 evaluated true (state did not change) (214ms)
+441ms ║║Cancelling statement #7’s schedules…
+453ms ║║Executed physical command [Antwan’s Corner].off() (8ms)
+454ms ║║Executed [Antwan’s Corner].off (9ms)
+469ms ║║Executed physical command [Dining Room Light Switch].off() (13ms)
+470ms ║║Executed [Dining Room Light Switch].off (14ms)
+486ms ║║Executed physical command [Foyer Light Switch].off() (14ms)
+486ms ║║Executed [Foyer Light Switch].off (14ms)
+496ms ║║Executed physical command [IMac Corner].off() (7ms)
+496ms ║║Executed [IMac Corner].off (8ms)
+512ms ║║Executed physical command [Kitchen Light Switch].off() (12ms)
+512ms ║║Executed [Kitchen Light Switch].off (14ms)
+522ms ║║Executed physical command [Living Room].off() (7ms)
+523ms ║║Executed [Living Room].off (9ms)
+538ms ║║Executed physical command [Master Bathroom Light Switch].off() (12ms)
+538ms ║║Executed [Master Bathroom Light Switch].off (13ms)
+553ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (12ms)
+553ms ║║Executed [Porah’s Bathroom Light Switch].off (13ms)
+556ms ║╚Execution stage complete. (336ms)
+558ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32170.557s)
+568ms ╚Event processed successfully (568ms)
3/22/2018, 10:02:59 PM +384ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = active with a delay of 121ms
+173ms ║RunTime Analysis CS > 17ms > PS > 46ms > PE > 110ms > CE
+176ms ║Runtime (42287 bytes) successfully initialized in 46ms (v0.3.000.20180224) (174ms)
+177ms ║╔Execution stage started
+196ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+198ms ║║Condition #30 evaluated true (16ms)
+211ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+213ms ║║Condition #31 evaluated true (14ms)
+245ms ║║Comparison (enum) open did_not_change = true (19ms)
+247ms ║║Condition #33 evaluated true (33ms)
+256ms ║║Comparison (time) 79379632 is_between (time) 79200000 … (time) 25200000 = true (6ms)
+257ms ║║Time restriction check passed
+259ms ║║Condition #34 evaluated true (11ms)
+259ms ║║Cancelling statement #34’s schedules…
+264ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+266ms ║║Condition group #1 evaluated true (state did not change) (85ms)
+268ms ║║Cancelling statement #7’s schedules…
+278ms ║║Executed physical command [Antwan’s Corner].off() (5ms)
+279ms ║║Executed [Antwan’s Corner].off (7ms)
+292ms ║║Executed physical command [Dining Room Light Switch].off() (10ms)
+292ms ║║Executed [Dining Room Light Switch].off (12ms)
+305ms ║║Executed physical command [Foyer Light Switch].off() (11ms)
+306ms ║║Executed [Foyer Light Switch].off (12ms)
+312ms ║║Executed physical command [IMac Corner].off() (4ms)
+313ms ║║Executed [IMac Corner].off (6ms)
+325ms ║║Executed physical command [Kitchen Light Switch].off() (10ms)
+326ms ║║Executed [Kitchen Light Switch].off (11ms)
+332ms ║║Executed physical command [Living Room].off() (5ms)
+333ms ║║Executed [Living Room].off (5ms)
+345ms ║║Executed physical command [Master Bathroom Light Switch].off() (10ms)
+345ms ║║Executed [Master Bathroom Light Switch].off (11ms)
+357ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (10ms)
+358ms ║║Executed [Porah’s Bathroom Light Switch].off (11ms)
+361ms ║╚Execution stage complete. (185ms)
+362ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32220.254s)
+373ms ╚Event processed successfully (373ms)
3/22/2018, 10:02:47 PM +37ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = inactive with a delay of 115ms
+205ms ║RunTime Analysis CS > 14ms > PS > 59ms > PE > 132ms > CE
+207ms ║Runtime (42287 bytes) successfully initialized in 59ms (v0.3.000.20180224) (205ms)
+208ms ║╔Execution stage started
+229ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+230ms ║║Condition #30 evaluated true (17ms)
+244ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+246ms ║║Condition #31 evaluated true (15ms)
+279ms ║║Comparison (enum) open did_not_change = true (20ms)
+281ms ║║Condition #33 evaluated true (33ms)
+292ms ║║Comparison (time) 79367319 is_between (time) 79200000 … (time) 25200000 = true (8ms)
+293ms ║║Time restriction check passed
+295ms ║║Condition #34 evaluated true (13ms)
+296ms ║║Cancelling statement #34’s schedules…
+300ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+302ms ║║Condition group #1 evaluated true (state did not change) (89ms)
+305ms ║║Cancelling statement #7’s schedules…
+314ms ║║Executed physical command [Antwan’s Corner].off() (5ms)
+315ms ║║Executed [Antwan’s Corner].off (6ms)
+329ms ║║Executed physical command [Dining Room Light Switch].off() (11ms)
+329ms ║║Executed [Dining Room Light Switch].off (13ms)
+342ms ║║Executed physical command [Foyer Light Switch].off() (11ms)
+343ms ║║Executed [Foyer Light Switch].off (12ms)
+349ms ║║Executed physical command [IMac Corner].off() (4ms)
+350ms ║║Executed [IMac Corner].off (6ms)
+362ms ║║Executed physical command [Kitchen Light Switch].off() (10ms)
+363ms ║║Executed [Kitchen Light Switch].off (12ms)
+369ms ║║Executed physical command [Living Room].off() (4ms)
+370ms ║║Executed [Living Room].off (6ms)
+383ms ║║Executed physical command [Master Bathroom Light Switch].off() (11ms)
+384ms ║║Executed [Master Bathroom Light Switch].off (12ms)
+396ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (11ms)
+397ms ║║Executed [Porah’s Bathroom Light Switch].off (12ms)
+400ms ║╚Execution stage complete. (192ms)
+402ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32232.562s)
+480ms ╚Event processed successfully (480ms)
3/22/2018, 10:01:57 PM +455ms
+2ms ╔Received event [Kitchen Motion Sensor].motion = active with a delay of 153ms
+212ms ║RunTime Analysis CS > 25ms > PS > 72ms > PE > 114ms > CE
+214ms ║Runtime (42287 bytes) successfully initialized in 72ms (v0.3.000.20180224) (211ms)
+215ms ║╔Execution stage started
+238ms ║║Comparison (enum) inactive is (string) inactive = true (2ms)
+240ms ║║Condition #30 evaluated true (20ms)
+252ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+254ms ║║Condition #31 evaluated true (14ms)
+287ms ║║Comparison (enum) open did_not_change = true (20ms)
+289ms ║║Condition #33 evaluated true (33ms)
+297ms ║║Comparison (time) 79317745 is_between (time) 79200000 … (time) 25200000 = true (6ms)
+298ms ║║Time restriction check passed
+300ms ║║Condition #34 evaluated true (10ms)
+301ms ║║Cancelling statement #34’s schedules…
+305ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+307ms ║║Condition group #1 evaluated true (state did not change) (87ms)
+309ms ║║Cancelling statement #7’s schedules…
+324ms ║║Executed physical command [Antwan’s Corner].off() (9ms)
+324ms ║║Executed [Antwan’s Corner].off (10ms)
+343ms ║║Executed physical command [Dining Room Light Switch].off() (16ms)
+344ms ║║Executed [Dining Room Light Switch].off (17ms)
+360ms ║║Executed physical command [Foyer Light Switch].off() (14ms)
+361ms ║║Executed [Foyer Light Switch].off (14ms)
+372ms ║║Executed physical command [IMac Corner].off() (9ms)
+372ms ║║Executed [IMac Corner].off (9ms)
+389ms ║║Executed physical command [Kitchen Light Switch].off() (14ms)
+390ms ║║Executed [Kitchen Light Switch].off (15ms)
+402ms ║║Executed physical command [Living Room].off() (9ms)
+403ms ║║Executed [Living Room].off (10ms)
+419ms ║║Executed physical command [Master Bathroom Light Switch].off() (14ms)
+420ms ║║Executed [Master Bathroom Light Switch].off (15ms)
+436ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (13ms)
+437ms ║║Executed [Porah’s Bathroom Light Switch].off (15ms)
+440ms ║╚Execution stage complete. (225ms)
+441ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32282.104s)
+452ms ╚Event processed successfully (452ms)
3/22/2018, 10:01:56 PM +659ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = inactive with a delay of 140ms
+198ms ║RunTime Analysis CS > 23ms > PS > 63ms > PE > 112ms > CE
+200ms ║Runtime (42287 bytes) successfully initialized in 63ms (v0.3.000.20180224) (198ms)
+201ms ║╔Execution stage started
+222ms ║║Comparison (enum) inactive is (string) inactive = true (2ms)
+224ms ║║Condition #30 evaluated true (17ms)
+235ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+237ms ║║Condition #31 evaluated true (13ms)
+354ms ║║Comparison (enum) open did_not_change = true (104ms)
+356ms ║║Condition #33 evaluated true (118ms)
+365ms ║║Comparison (time) 79317015 is_between (time) 79200000 … (time) 25200000 = true (6ms)
+366ms ║║Time restriction check passed
+367ms ║║Condition #34 evaluated true (11ms)
+368ms ║║Cancelling statement #34’s schedules…
+372ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+374ms ║║Condition group #1 evaluated true (state did not change) (168ms)
+376ms ║║Cancelling statement #7’s schedules…
+388ms ║║Executed physical command [Antwan’s Corner].off() (7ms)
+389ms ║║Executed [Antwan’s Corner].off (9ms)
+404ms ║║Executed physical command [Dining Room Light Switch].off() (12ms)
+404ms ║║Executed [Dining Room Light Switch].off (13ms)
+419ms ║║Executed physical command [Foyer Light Switch].off() (12ms)
+420ms ║║Executed [Foyer Light Switch].off (14ms)
+430ms ║║Executed physical command [IMac Corner].off() (8ms)
+430ms ║║Executed [IMac Corner].off (8ms)
+445ms ║║Executed physical command [Kitchen Light Switch].off() (12ms)
+446ms ║║Executed [Kitchen Light Switch].off (13ms)
+456ms ║║Executed physical command [Living Room].off() (7ms)
+456ms ║║Executed [Living Room].off (8ms)
+470ms ║║Executed physical command [Master Bathroom Light Switch].off() (12ms)
+470ms ║║Executed [Master Bathroom Light Switch].off (12ms)
+484ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (11ms)
+485ms ║║Executed [Porah’s Bathroom Light Switch].off (13ms)
+488ms ║╚Execution stage complete. (287ms)
+489ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32282.852s)
+502ms ╚Event processed successfully (501ms)
3/22/2018, 10:01:16 PM +362ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = active with a delay of 120ms
+189ms ║RunTime Analysis CS > 18ms > PS > 57ms > PE > 113ms > CE
+192ms ║Runtime (42287 bytes) successfully initialized in 57ms (v0.3.000.20180224) (189ms)
+193ms ║╔Execution stage started
+229ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+231ms ║║Condition #30 evaluated true (33ms)
+256ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+258ms ║║Condition #31 evaluated true (26ms)
+357ms ║║Comparison (enum) open did_not_change = true (81ms)
+359ms ║║Condition #33 evaluated true (100ms)
+368ms ║║Comparison (time) 79276722 is_between (time) 79200000 … (time) 25200000 = true (6ms)
+370ms ║║Time restriction check passed
+371ms ║║Condition #34 evaluated true (11ms)
+372ms ║║Cancelling statement #34’s schedules…
+376ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+379ms ║║Condition group #1 evaluated true (state did not change) (182ms)
+381ms ║║Cancelling statement #7’s schedules…
+391ms ║║Executed physical command [Antwan’s Corner].off() (4ms)
+391ms ║║Executed [Antwan’s Corner].off (6ms)
+404ms ║║Executed physical command [Dining Room Light Switch].off() (11ms)
+405ms ║║Executed [Dining Room Light Switch].off (12ms)
+419ms ║║Executed physical command [Foyer Light Switch].off() (11ms)
+419ms ║║Executed [Foyer Light Switch].off (13ms)
+426ms ║║Executed physical command [IMac Corner].off() (5ms)
+427ms ║║Executed [IMac Corner].off (5ms)
+440ms ║║Executed physical command [Kitchen Light Switch].off() (12ms)
+440ms ║║Executed [Kitchen Light Switch].off (12ms)
+447ms ║║Executed physical command [Living Room].off() (5ms)
+448ms ║║Executed [Living Room].off (5ms)
+461ms ║║Executed physical command [Master Bathroom Light Switch].off() (12ms)
+462ms ║║Executed [Master Bathroom Light Switch].off (13ms)
+474ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (10ms)
+474ms ║║Executed [Porah’s Bathroom Light Switch].off (11ms)
+477ms ║╚Execution stage complete. (285ms)
+479ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32323.16s)
+493ms ╚Event processed successfully (493ms)
3/22/2018, 10:01:15 PM +559ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = inactive with a delay of 113ms
+161ms ║RunTime Analysis CS > 12ms > PS > 40ms > PE > 109ms > CE
+163ms ║Runtime (42287 bytes) successfully initialized in 40ms (v0.3.000.20180224) (161ms)
+164ms ║╔Execution stage started
+185ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+187ms ║║Condition #30 evaluated true (18ms)
+199ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+201ms ║║Condition #31 evaluated true (13ms)
+291ms ║║Comparison (enum) open did_not_change = true (77ms)
+293ms ║║Condition #33 evaluated true (90ms)
+301ms ║║Comparison (time) 79275852 is_between (time) 79200000 … (time) 25200000 = true (6ms)
+302ms ║║Time restriction check passed
+303ms ║║Condition #34 evaluated true (10ms)
+304ms ║║Cancelling statement #34’s schedules…
+308ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+311ms ║║Condition group #1 evaluated true (state did not change) (141ms)
+313ms ║║Cancelling statement #7’s schedules…
+322ms ║║Executed physical command [Antwan’s Corner].off() (5ms)
+323ms ║║Executed [Antwan’s Corner].off (7ms)
+337ms ║║Executed physical command [Dining Room Light Switch].off() (12ms)
+338ms ║║Executed [Dining Room Light Switch].off (14ms)
+351ms ║║Executed physical command [Foyer Light Switch].off() (11ms)
+352ms ║║Executed [Foyer Light Switch].off (13ms)
+358ms ║║Executed physical command [IMac Corner].off() (4ms)
+359ms ║║Executed [IMac Corner].off (6ms)
+372ms ║║Executed physical command [Kitchen Light Switch].off() (10ms)
+372ms ║║Executed [Kitchen Light Switch].off (12ms)
+379ms ║║Executed physical command [Living Room].off() (4ms)
+379ms ║║Executed [Living Room].off (5ms)
+392ms ║║Executed physical command [Master Bathroom Light Switch].off() (11ms)
+393ms ║║Executed [Master Bathroom Light Switch].off (12ms)
+406ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (11ms)
+407ms ║║Executed [Porah’s Bathroom Light Switch].off (13ms)
+410ms ║╚Execution stage complete. (246ms)
+411ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32324.03s)
+422ms ╚Event processed successfully (422ms)
3/22/2018, 10:00:44 PM +786ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = active with a delay of 106ms
+167ms ║RunTime Analysis CS > 18ms > PS > 40ms > PE > 109ms > CE
+170ms ║Runtime (42287 bytes) successfully initialized in 40ms (v0.3.000.20180224) (168ms)
+171ms ║╔Execution stage started
+191ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+193ms ║║Condition #30 evaluated true (17ms)
+207ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+209ms ║║Condition #31 evaluated true (15ms)
+366ms ║║Comparison (enum) open did_not_change = true (143ms)
+368ms ║║Condition #33 evaluated true (158ms)
+376ms ║║Comparison (time) 79245155 is_between (time) 79200000 … (time) 25200000 = true (6ms)
+377ms ║║Time restriction check passed
+379ms ║║Condition #34 evaluated true (10ms)
+380ms ║║Cancelling statement #34’s schedules…
+384ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+386ms ║║Condition group #1 evaluated true (state did not change) (210ms)
+388ms ║║Cancelling statement #7’s schedules…
+397ms ║║Executed physical command [Antwan’s Corner].off() (5ms)
+398ms ║║Executed [Antwan’s Corner].off (6ms)
+410ms ║║Executed physical command [Dining Room Light Switch].off() (11ms)
+411ms ║║Executed [Dining Room Light Switch].off (12ms)
+422ms ║║Executed physical command [Foyer Light Switch].off() (9ms)
+423ms ║║Executed [Foyer Light Switch].off (11ms)
+429ms ║║Executed physical command [IMac Corner].off() (4ms)
+430ms ║║Executed [IMac Corner].off (6ms)
+442ms ║║Executed physical command [Kitchen Light Switch].off() (10ms)
+443ms ║║Executed [Kitchen Light Switch].off (11ms)
+449ms ║║Executed physical command [Living Room].off() (5ms)
+450ms ║║Executed [Living Room].off (5ms)
+462ms ║║Executed physical command [Master Bathroom Light Switch].off() (11ms)
+463ms ║║Executed [Master Bathroom Light Switch].off (12ms)
+475ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (10ms)
+476ms ║║Executed [Porah’s Bathroom Light Switch].off (12ms)
+479ms ║╚Execution stage complete. (308ms)
+480ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32354.734s)
+490ms ╚Event processed successfully (490ms)
3/22/2018, 10:00:43 PM +504ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = inactive with a delay of 118ms
+183ms ║RunTime Analysis CS > 19ms > PS > 50ms > PE > 115ms > CE
+186ms ║Runtime (42287 bytes) successfully initialized in 50ms (v0.3.000.20180224) (185ms)
+187ms ║╔Execution stage started
+208ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+210ms ║║Condition #30 evaluated true (16ms)
+223ms ║║Comparison (enum) inactive is (string) inactive = true (1ms)
+225ms ║║Condition #31 evaluated true (14ms)
+403ms ║║Comparison (enum) open did_not_change = true (165ms)
+405ms ║║Condition #33 evaluated true (179ms)
+414ms ║║Comparison (time) 79243910 is_between (time) 79200000 … (time) 25200000 = true (7ms)
+415ms ║║Time restriction check passed
+416ms ║║Condition #34 evaluated true (11ms)
+417ms ║║Cancelling statement #34’s schedules…
+422ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+424ms ║║Condition group #1 evaluated true (state did not change) (232ms)
+426ms ║║Cancelling statement #7’s schedules…
+436ms ║║Executed physical command [Antwan’s Corner].off() (5ms)
+437ms ║║Executed [Antwan’s Corner].off (6ms)
+450ms ║║Executed physical command [Dining Room Light Switch].off() (11ms)
+451ms ║║Executed [Dining Room Light Switch].off (13ms)
+464ms ║║Executed physical command [Foyer Light Switch].off() (11ms)
+465ms ║║Executed [Foyer Light Switch].off (13ms)
+472ms ║║Executed physical command [IMac Corner].off() (4ms)
+472ms ║║Executed [IMac Corner].off (6ms)
+485ms ║║Executed physical command [Kitchen Light Switch].off() (11ms)
+486ms ║║Executed [Kitchen Light Switch].off (12ms)
+493ms ║║Executed physical command [Living Room].off() (4ms)
+493ms ║║Executed [Living Room].off (6ms)
+506ms ║║Executed physical command [Master Bathroom Light Switch].off() (11ms)
+507ms ║║Executed [Master Bathroom Light Switch].off (12ms)
+520ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (11ms)
+521ms ║║Executed [Porah’s Bathroom Light Switch].off (13ms)
+524ms ║╚Execution stage complete. (337ms)
+526ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32355.971s)
+580ms ╚Event processed successfully (580ms)
3/22/2018, 10:00:12 PM +929ms
+1ms ╔Received event [Kitchen Motion Sensor].motion = active with a delay of 116ms
+192ms ║RunTime Analysis CS > 12ms > PS > 64ms > PE > 115ms > CE
+194ms ║Runtime (42287 bytes) successfully initialized in 64ms (v0.3.000.20180224) (192ms)
+195ms ║╔Execution stage started
+225ms ║║Comparison (enum) inactive is (string) inactive = true (2ms)
+227ms ║║Condition #30 evaluated true (26ms)
+242ms ║║Comparison (enum) inactive is (string) inactive = true (2ms)
+244ms ║║Condition #31 evaluated true (16ms)
+309ms ║║Comparison (enum) open did_not_change = true (50ms)
+310ms ║║Condition #33 evaluated true (65ms)
+320ms ║║Comparison (time) 79213240 is_between (time) 79200000 … (time) 25200000 = true (7ms)
+321ms ║║Time restriction check passed
+322ms ║║Condition #34 evaluated true (11ms)
+323ms ║║Cancelling statement #34’s schedules…
+328ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT
+330ms ║║Condition group #1 evaluated true (state did not change) (130ms)
+332ms ║║Cancelling statement #7’s schedules…
+341ms ║║Executed physical command [Antwan’s Corner].off() (5ms)
+342ms ║║Executed [Antwan’s Corner].off (6ms)
+355ms ║║Executed physical command [Dining Room Light Switch].off() (11ms)
+356ms ║║Executed [Dining Room Light Switch].off (12ms)
+368ms ║║Executed physical command [Foyer Light Switch].off() (10ms)
+369ms ║║Executed [Foyer Light Switch].off (12ms)
+375ms ║║Executed physical command [IMac Corner].off() (4ms)
+376ms ║║Executed [IMac Corner].off (6ms)
+388ms ║║Executed physical command [Kitchen Light Switch].off() (10ms)
+389ms ║║Executed [Kitchen Light Switch].off (11ms)
+396ms ║║Executed physical command [Living Room].off() (5ms)
+397ms ║║Executed [Living Room].off (5ms)
+409ms ║║Executed physical command [Master Bathroom Light Switch].off() (11ms)
+410ms ║║Executed [Master Bathroom Light Switch].off (11ms)
+421ms ║║Executed physical command [Porah’s Bathroom Light Switch].off() (10ms)
+422ms ║║Executed [Porah’s Bathroom Light Switch].off (11ms)
+425ms ║╚Execution stage complete. (230ms)
+426ms ║Setting up scheduled job for Fri, Mar 23 2018 @ 7:00:00 AM EDT (in 32386.645s)
+512ms ╚Event processed successfully (512ms)
3/22/2018, 9:59:59 PM +699ms
+0ms ╔Received event [The Marshall’s].time = 1521770400000 with a delay of -302ms
+442ms ║RunTime Analysis CS > 24ms > PS > 119ms > PE > 300ms > CE
+445ms ║Runtime (42290 bytes) successfully initialized in 119ms (v0.3.000.20180224) (443ms)
+446ms ║╔Execution stage started
+476ms ║║Comparison (enum) inactive is (string) inactive = true (2ms)
+478ms ║║Condition #30 evaluated true (25ms)
+498ms ║║Comparison (enum) inactive is (string) inactive = true (2ms)
+500ms ║║Condition #31 evaluated true (22ms)
+555ms ║║Comparison (enum) open did_not_change = true (38ms)
+557ms ║║Condition #33 evaluated true (55ms)
+568ms ║║Comparison (time) 79200257 is_between (time) 79200000 … (time) 25200000 = true (7ms)
+569ms ║║Time restriction check passed
+570ms ║║Cancelling condition #34’s schedules…
+571ms ║║Condition #34 evaluated true (14ms)
+575ms ║║Cancelling statement #34’s schedules…
+581ms ║║Requesting time schedule wake up at Fri, Mar 23 2018 @ 7:00:00 AM EDT


#2

Check this thread for suggestion…


#3

Thank you. I’m trying it now.