1) Give a description of the problem
Piston fails to reliably execute a daily schedule. My search on “time happens daily” did not yield a conclusive solution. Not sure if using this condition is best practice.
2) What is the expected behaviour?
At the specified time, set light level and turn off. Aside from executing at a particular time, I hope to leave the lights in a known state for anyone that wishes to use the physical switch to operate.
3) What is happening/not happening?
Piston execution delays ranging from seconds to minutes create a false time comparison, causing no additional action to be taken.
4) Post a Green Snapshot of the piston
5) Attach logs after turning logging level to Full
9/22/2020, 9:07:31 PM +802ms
+3ms ╔Received event [Panorama].time = 1600833900000 with a delay of 151801ms
+2886ms ║RunTime Analysis CS > 2796ms > PS > 33ms > PE > 58ms > CE
+2889ms ║Runtime (39998 bytes) successfully initialized in 33ms (v0.3.110.20191009) (2883ms)
+2890ms ║╔Execution stage started
+2931ms ║╚Execution stage complete. (41ms)
+2996ms ║Setting up scheduled job for Tue, Sep 22 2020 @ 10:05:00 PM MST (in 3445.206s), with 1 more job pending
+3007ms ╚Event processed successfully (3007ms)
9/22/2020, 9:06:22 PM +513ms
+0ms ╔Received event [Panorama].execute = recovery with a delay of 65ms
+51ms ║RunTime Analysis CS > 20ms > PS > 10ms > PE > 21ms > CE
+53ms ║Runtime (39991 bytes) successfully initialized in 10ms (v0.3.110.20191009) (52ms)
+54ms ║╔Execution stage started
+62ms ║║Comparison (time) 75982572 happens_daily_at (time) 75900000 = false (1ms)
+64ms ║║Condition #2 evaluated false (4ms)
+65ms ║║Cancelling statement #2’s schedules…
+69ms ║║Requesting time schedule wake up at Wed, Sep 23 2020 @ 9:05:00 PM MST
+74ms ║║Comparison (time) 75982584 happens_daily_at (time) 79500000 = false (0ms)
+76ms ║║Condition #15 evaluated false (4ms)
+77ms ║║Cancelling statement #15’s schedules…
+81ms ║║Requesting time schedule wake up at Tue, Sep 22 2020 @ 10:05:00 PM MST
+83ms ║║Condition group #16 evaluated false (state did not change) (24ms)
+84ms ║║Condition group #1 evaluated false (state did not change) (26ms)
+87ms ║║Condition group #37 evaluated true (state did not change) (1ms)
+89ms ║╚Execution stage complete. (35ms)
+91ms ║Setting up scheduled job for Tue, Sep 22 2020 @ 10:05:00 PM MST (in 3517.397s), with 1 more job pending
+97ms ╚Event processed successfully (97ms)