1) Give a description of the problem
It should turn off the lights after X wait but is not
2) What is the expected behavior?
When one of the garage doors opens it turns the inside garage lights on, then waits 15 minutes and turns off.
3) What is happening/not happening?
It never turns off
4) Post a Green Snapshot of the piston
(UPLOAD YOUR IMAGE HERE)
5) Attach any logs (From ST IDE and by turning logging level to Full)
WebCore logs
3/6/2018, 8:04:11 AM +202ms
+1ms ╔Received event [Garage Lights].switch = off with a delay of 921ms
+229ms ║RunTime Analysis CS > 29ms > PS > 78ms > PE > 122ms > CE
+232ms ║Runtime (43897 bytes) successfully initialized in 78ms (v0.3.000.20180224) (230ms)
+233ms ║╔Execution stage started
+302ms ║║Comparison (time) 29051440 is_between (time) 1520380140000 … (time) 1520380140000 = true (9ms)
+303ms ║║Time restriction check passed
+305ms ║║Condition #22 evaluated true (67ms)
+306ms ║║Condition group #null evaluated true (state did not change) (69ms)
+321ms ║║Condition #2 evaluated false (12ms)
+322ms ║║Condition group #1 evaluated false (state did not change) (14ms)
+330ms ║║Comparison (enum) off changes_to (string) on = false (0ms)
+331ms ║║Condition #15 evaluated false (5ms)
+332ms ║║Condition group #10 evaluated false (state did not change) (7ms)
+340ms ║║Comparison (enum) off changes_to (string) off = true (1ms)
+342ms ║║Cancelling condition #21’s schedules…
+343ms ║║Condition #21 evaluated true (6ms)
+344ms ║║Cancelling condition #18’s schedules…
+345ms ║║Condition group #18 evaluated true (state changed) (9ms)
+347ms ║║Cancelling statement #19’s schedules…
+354ms ║║Executed virtual command [Garage Lights].setVariable (1ms)
+357ms ║╚Execution stage complete. (124ms)
+359ms ╚Event processed successfully (358ms)
3/6/2018, 7:52:38 AM +1ms
+2ms ╔Received event [Garage Main].contact = closed with a delay of 1101ms
+226ms ║RunTime Analysis CS > 31ms > PS > 79ms > PE > 115ms > CE
+228ms ║Runtime (43897 bytes) successfully initialized in 79ms (v0.3.000.20180224) (225ms)
+229ms ║╔Execution stage started
+294ms ║║Comparison (time) 28358236 is_between (time) 1520380140000 … (time) 1520380140000 = true (9ms)
+295ms ║║Time restriction check passed
+297ms ║║Condition #22 evaluated true (62ms)
+298ms ║║Condition group #null evaluated true (state did not change) (63ms)
+309ms ║║Comparison (enum) closed changes_to (string) open = false (0ms)
+311ms ║║Condition #2 evaluated false (11ms)
+312ms ║║Condition group #1 evaluated false (state did not change) (12ms)
+323ms ║║Cancelling condition #15’s schedules…
+324ms ║║Condition #15 evaluated false (9ms)
+325ms ║║Condition group #10 evaluated false (state did not change) (10ms)
+335ms ║║Condition #21 evaluated false (7ms)
+336ms ║║Condition group #18 evaluated false (state did not change) (8ms)
+338ms ║╚Execution stage complete. (109ms)
+340ms ╚Event processed successfully (340ms)
3/6/2018, 7:51:38 AM +376ms
+1ms ╔Received event [Garage Lights].switch = on with a delay of 249ms
+233ms ║RunTime Analysis CS > 29ms > PS > 82ms > PE > 122ms > CE
+236ms ║Runtime (43893 bytes) successfully initialized in 82ms (v0.3.000.20180224) (234ms)
+237ms ║╔Execution stage started
+301ms ║║Comparison (time) 28298618 is_between (time) 1520380140000 … (time) 1520380140000 = true (9ms)
+302ms ║║Time restriction check passed
+304ms ║║Condition #22 evaluated true (62ms)
+305ms ║║Condition group #null evaluated true (state did not change) (64ms)
+320ms ║║Cancelling condition #2’s schedules…
+321ms ║║Condition #2 evaluated false (13ms)
+322ms ║║Cancelling condition #1’s schedules…
+323ms ║║Condition group #1 evaluated false (state changed) (16ms)
+330ms ║║Comparison (enum) on changes_to (string) on = true (1ms)
+332ms ║║Cancelling condition #15’s schedules…
+333ms ║║Condition #15 evaluated true (6ms)
+376ms ║║Comparison (enum) off is (string) off = true (2ms)
+378ms ║║Comparison (enum) off is (string) off = true (1ms)
+381ms ║║Comparison (enum) off is (string) off = true (1ms)
+383ms ║║Comparison (enum) off is (string) off = true (2ms)
+385ms ║║Comparison (enum) off is (string) off = true (1ms)
+388ms ║║Comparison (enum) off is (string) off = true (2ms)
+390ms ║║Comparison (enum) off is (string) off = true (2ms)
+393ms ║║Condition #16 evaluated true (60ms)
+401ms ║║Comparison (boolean) false is (boolean) true = false (2ms)
+402ms ║║Condition #17 evaluated false (8ms)
+403ms ║║Condition group #10 evaluated false (state did not change) (77ms)
+410ms ║║Comparison (enum) on changes_to (string) off = false (1ms)
+412ms ║║Condition #21 evaluated false (6ms)
+413ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+415ms ║╚Execution stage complete. (178ms)
+417ms ╚Event processed successfully (416ms)
3/6/2018, 7:51:37 AM +609ms
+1ms ╔Received event [Garage Main].contact = open with a delay of 210ms
+215ms ║RunTime Analysis CS > 36ms > PS > 60ms > PE > 118ms > CE
+217ms ║Runtime (43899 bytes) successfully initialized in 60ms (v0.3.000.20180224) (215ms)
+219ms ║╔Execution stage started
+275ms ║║Comparison (time) 28297833 is_between (time) 1520380140000 … (time) 1520380140000 = true (10ms)
+276ms ║║Time restriction check passed
+278ms ║║Condition #22 evaluated true (55ms)
+279ms ║║Condition group #null evaluated true (state did not change) (56ms)
+290ms ║║Comparison (enum) open changes_to (string) open = true (1ms)
+292ms ║║Cancelling condition #2’s schedules…
+293ms ║║Condition #2 evaluated true (10ms)
+324ms ║║Comparison (enum) off is (string) off = true (2ms)
+327ms ║║Comparison (enum) off is (string) off = true (2ms)
+329ms ║║Comparison (enum) off is (string) off = true (2ms)
+331ms ║║Comparison (enum) off is (string) off = true (1ms)
+334ms ║║Comparison (enum) off is (string) off = true (2ms)
+336ms ║║Comparison (enum) off is (string) off = true (1ms)
+338ms ║║Comparison (enum) off is (string) off = true (1ms)
+341ms ║║Cancelling condition #8’s schedules…
+342ms ║║Condition #8 evaluated true (49ms)
+343ms ║║Cancelling condition #1’s schedules…
+344ms ║║Condition group #1 evaluated true (state changed) (63ms)
+347ms ║║Cancelling statement #3’s schedules…
+365ms ║║Executed physical command [Garage Lights].on() (16ms)
+366ms ║║Executed [Garage Lights].on (18ms)
+371ms ║║Executed virtual command [Garage Lights].setVariable (1ms)
+381ms ║║Condition #15 evaluated false (7ms)
+382ms ║║Condition group #10 evaluated false (state did not change) (8ms)
+391ms ║║Condition #21 evaluated false (6ms)
+392ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+395ms ║╚Execution stage complete. (176ms)
+396ms ╚Event processed successfully (396ms)