1) Give a description of the problem
I have a piston designed to turn the garage lights on when the door opens, wait 5 minutes, and turn them off. I can get the lights to turn on - but they never turn off.
2) What is the expected behaviour?
5 minutes after the contact sensor status changes to open and the garage lights turn on, turn the garage lights off
3) What is happening/not happening?
The lights are not turning off
4) Post a Green Snapshot of the piston
5) Attach logs after turning logging level to Full
12/3/2019, 8:03:37 AM +257ms
+0ms âReceived event [Home].time = 1575385417996 with a delay of -739ms
+125ms âRunTime Analysis CS > 27ms > PS > 71ms > PE > 27ms > CE
+127ms âRuntime (37778 bytes) successfully initialized in 71ms (v0.3.110.20191009) (126ms)
+128ms ââExecution stage started
+129ms ââExecution stage complete. (1ms)
+130ms âEvent processed successfully (130ms)
12/3/2019, 7:58:42 AM +362ms
+1ms âReceived event [Garage Entry].contact = closed with a delay of 178ms
+160ms âRunTime Analysis CS > 22ms > PS > 113ms > PE > 25ms > CE
+162ms âRuntime (37776 bytes) successfully initialized in 113ms (v0.3.110.20191009) (160ms)
+163ms ââExecution stage started
+169ms ââComparison (enum) closed changes_to (string) open = false (0ms)
+171ms ââCancelling condition #2âs schedulesâŚ
+172ms ââCondition #2 evaluated false (5ms)
+173ms ââCancelling condition #1âs schedulesâŚ
+173ms ââCondition group #1 evaluated false (state changed) (7ms)
+175ms ââExecution stage complete. (12ms)
+176ms âEvent processed successfully (176ms)
12/3/2019, 7:58:37 AM +881ms
+1ms âReceived event [Garage Entry].contact = open with a delay of 184ms
+86ms âRunTime Analysis CS > 20ms > PS > 43ms > PE > 23ms > CE
+88ms âRuntime (37778 bytes) successfully initialized in 43ms (v0.3.110.20191009) (86ms)
+89ms ââExecution stage started
+96ms ââComparison (enum) open changes_to (string) open = true (0ms)
+98ms ââCancelling condition #2âs schedulesâŚ
+99ms ââCondition #2 evaluated true (5ms)
+100ms ââCancelling condition #1âs schedulesâŚ
+100ms ââCondition group #1 evaluated true (state changed) (7ms)
+102ms ââCancelling statement #3âs schedulesâŚ
+109ms ââSkipped execution of physical command [Garage Lights].on([]) because it would make no change to the device. (4ms)
+110ms ââExecuted [Garage Lights].on (5ms)
+113ms ââExecuted virtual command [Garage Lights].wait (0ms)
+114ms ââRequesting a wake up for Tue, Dec 3 2019 @ 8:03:37 AM MST (in 300.0s)
+118ms ââExecution stage complete. (29ms)
+120ms âSetting up scheduled job for Tue, Dec 3 2019 @ 8:03:37 AM MST (in 299.996s)
+132ms âEvent processed successfully (131ms)
12/3/2019, 7:35:17 AM +235ms
+1ms âReceived event [Home].time = 1575383718424 with a delay of -1189ms
+164ms âRunTime Analysis CS > 44ms > PS > 86ms > PE > 33ms > CE
+166ms âRuntime (37779 bytes) successfully initialized in 86ms (v0.3.110.20191009) (164ms)
+167ms ââExecution stage started
+168ms ââExecution stage complete. (1ms)
+169ms âEvent processed successfully (169ms)
12/3/2019, 7:30:22 AM +888ms
+1ms âReceived event [Garage Entry].contact = closed with a delay of 179ms
+87ms âRunTime Analysis CS > 22ms > PS > 43ms > PE > 22ms > CE
+89ms âRuntime (37773 bytes) successfully initialized in 43ms (v0.3.110.20191009) (87ms)
+90ms ââExecution stage started
+97ms ââComparison (enum) closed changes_to (string) open = false (0ms)
+98ms ââCancelling condition #2âs schedulesâŚ
+99ms ââCondition #2 evaluated false (5ms)
+100ms ââCancelling condition #1âs schedulesâŚ
+100ms ââCondition group #1 evaluated false (state changed) (6ms)
+102ms ââExecution stage complete. (12ms)
+103ms âEvent processed successfully (103ms)
12/3/2019, 7:30:18 AM +138ms
+2ms âReceived event [Garage Entry].contact = open with a delay of 299ms
+226ms âRunTime Analysis CS > 40ms > PS > 72ms > PE > 114ms > CE
+228ms âRuntime (37780 bytes) successfully initialized in 72ms (v0.3.110.20191009) (226ms)
+229ms ââExecution stage started
+236ms ââComparison (enum) open changes_to (string) open = true (1ms)
+238ms ââCancelling condition #2âs schedulesâŚ
+239ms ââCondition #2 evaluated true (5ms)
+240ms ââCancelling condition #1âs schedulesâŚ
+240ms ââCondition group #1 evaluated true (state changed) (7ms)
+242ms ââCancelling statement #3âs schedulesâŚ
+281ms ââExecuted physical command [Garage Lights].on() (35ms)
+282ms ââExecuted [Garage Lights].on (37ms)
+285ms ââExecuted virtual command [Garage Lights].wait (1ms)
+286ms ââRequesting a wake up for Tue, Dec 3 2019 @ 7:35:18 AM MST (in 300.0s)
+289ms ââExecution stage complete. (60ms)
+291ms âSetting up scheduled job for Tue, Dec 3 2019 @ 7:35:18 AM MST (in 299.996s)
+300ms âEvent processed successfully (300ms)
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.