1) Give a description of the problem
not operating properly
2) What is the expected behavior?
Between sunset and sunrise 1) if motion from either sensors then turn on lights for x minutes. 2) if door is opened turn on lights for x minutes
3) What is happening/not happening?
Both the TURN ON’s work fine. However, it turns on when during daytime and doesn’t turn off.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
/7/2019, 4:58:40 PM +91ms
+1ms ╔Received event [Front Door Sensor].contact = closed with a delay of 333ms
+72ms ║Runtime (39317 bytes) successfully initialized in 44ms (v0.3.109.20181207) (70ms)
+74ms ║╔Execution stage started
+139ms ║╚Execution stage complete. (66ms)
+141ms ╚Event processed successfully (141ms)
2/7/2019, 4:58:37 PM +496ms
+2ms ╔Received event [Front Door Sensor].contact = open with a delay of 1681ms
+93ms ║Runtime (39316 bytes) successfully initialized in 52ms (v0.3.109.20181207) (90ms)
+94ms ║╔Execution stage started
+163ms ║╚Execution stage complete. (70ms)
+165ms ╚Event processed successfully (164ms)
2/7/2019, 4:58:36 PM +186ms
+1ms ╔Received event [Front Door Sensor].contact = open with a delay of 353ms
+94ms ║Runtime (39315 bytes) successfully initialized in 43ms (v0.3.109.20181207) (92ms)
+96ms ║╔Execution stage started
+166ms ║╚Execution stage complete. (70ms)
+167ms ╚Event processed successfully (167ms))
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.