Yeah this isn’t solved. still an ongoing issue.
1/20/2018, 5:01:20 PM +310ms
+2ms ╔Received event [Motion Bath].motion = inactive with a delay of 725ms
+238ms ║RunTime Analysis CS > 19ms > PS > 97ms > PE > 122ms > CE
+241ms ║Runtime (46400 bytes) successfully initialized in 97ms (v0.2.102.20180116) (238ms)
+242ms ║╔Execution stage started
-----snipped for brevity-----
+320ms ║║Executed virtual command [Bathroom Light].wait (1ms)
+321ms ║║Requesting a wake up for Sat, Jan 20 2018 @ 5:04:50 PM PST (in 210.0s)
+326ms ║╚Execution stage complete. (84ms)
+328ms ║Setting up scheduled job for Sat, Jan 20 2018 @ 5:04:50 PM PST (in 209.995s)
+338ms ╚Event processed successfully (338ms)
And then at 5:04:50:
1/20/2018, 5:04:49 PM +352ms
+0ms ╔Received event [Home].time = 1516496690632 with a delay of -1281ms
+246ms ║RunTime Analysis CS > 18ms > PS > 80ms > PE > 145ms > CE
+251ms ║Runtime (46396 bytes) successfully initialized in 80ms (v0.2.102.20180116) (250ms)
+255ms ║╔Execution stage started
+256ms ║╚Execution stage complete. (4ms)
+257ms ╚Event processed successfully (258ms)
Piston wakes up but does not execute the off command. I look in the ST IDE to see if perhaps some motion event cancelled the task, but nothing. Last motion event was the inactive at 5:01:19. There are no other events between then and the 5:04:50 wait.
WTF??? Why does it not schedule and execute my Turn Off??? Why does it work sometimes and not other times? If some event cancelled the task why isn’t it logged?