This piston controls my outside lights: they should come on at sunset and stay on until 10:30pm. In addition, they should come on during the day if anyone gets home, doors get unlocked or the doorbell rings. If triggered by an event, they should stay on for 20 mins.
Issue is that the light stays on all day. We open the door before sunrise, the lights come on, but they don’t turn off.
Here is my piston and log. What could be happening?
12/28/2021, 8:11:22 AM +44ms
+2ms ╔Received event [Door Lock - Front].lock = locked with a delay of 88ms
+213ms ║Setting up scheduled job for Tue, Dec 28 2021 @ 5:36:00 PM EST (in 33877s), with 1 more job pending
+224ms ╚Event processed successfully (224ms)
12/28/2021, 8:11:00 AM +668ms
+2ms ╔Received event [Door Lock - Front].lock = unlocked with a delay of 92ms
+234ms ║Setting up scheduled job for Tue, Dec 28 2021 @ 5:36:00 PM EST (in 33899s), with 1 more job pending
+242ms ╚Event processed successfully (242ms)
12/28/2021, 8:07:42 AM +166ms
+2ms ╔Received event [Michael’s iPhone X].presence = present with a delay of 191ms
+208ms ║8:07 Someone came home or door lock opened
+247ms ║Setting up scheduled job for Tue, Dec 28 2021 @ 8:27:42 AM EST (in 1199s), with 2 more jobs pending
+258ms ╚Event processed successfully (258ms)
12/28/2021, 7:38:32 AM +434ms
+2ms ╔Received event [Door Lock - Front].lock = locked with a delay of 118ms
+10144ms ║Piston waited at a semaphore for 10046ms
+10203ms ║Setting up scheduled job for Tue, Dec 28 2021 @ 5:36:00 PM EST (in 35837s), with 1 more job pending
+10214ms ╚Event processed successfully (10214ms)
12/28/2021, 7:38:32 AM +394ms
+1ms ╔Received event [Door Lock - Front].lock = locked with a delay of 78ms
+132ms ║Setting up scheduled job for Tue, Dec 28 2021 @ 5:36:00 PM EST (in 35847s), with 1 more job pending
+143ms ╚Event processed successfully (143ms)
12/28/2021, 7:38:01 AM +237ms
+2ms ╔Received event [Door Lock - Front].lock = unlocked with a delay of 119ms
+229ms ║7:38 Someone came home or door lock opened
+309ms ║Setting up scheduled job for Tue, Dec 28 2021 @ 7:58:01 AM EST (in 1199s), with 2 more jobs pending
+352ms ╚Event processed successfully (352ms)