Reminder piston not working as expected


#1

1) Give a description of the problem
Trying to create a reminder so my son takes out the trash. One piston fires via ST routine, and texts him two links - one link executes a url for “I did it”, and one executes a link for “remind me in 2 hours”. So that he does not get texted all night, I want the reminders to stop after 10, but send him one more the following AM (Monday) before he goes to work. Instead, it seems to be not honoring the “I did it”. (Which really just turns a switch off), and the remind me in 2 hours keeps firing, but at odd times (like at 12 AM the next day)

2) What is the expected behaviour?
See above

3) What is happening/not happening?
See above

**4) Post a Green Snapshot of the piston![image|45x37]

Logs
8/2/2020, 10:36:24 PM +860ms
+0ms ╔Received event [9011Florian].test = 1596432984859 with a delay of 0ms
+148ms ║RunTime Analysis CS > 25ms > PS > 88ms > PE > 36ms > CE
+151ms ║Runtime (39800 bytes) successfully initialized in 88ms (v0.3.110.20191009) (150ms)
+152ms ║╔Execution stage started
+157ms ║║Cancelling statement #5’s schedules…
+163ms ║║Skipped execution of physical command [null].off([]) because it would make no change to the device. (2ms)
+164ms ║║Executed [RemindAlexToTakeOutGarbage].off (4ms)
+178ms ║║Comparison (time) 81385028 is_between (time) 28800000 … (time) 79200000 = false (8ms)
+180ms ║║Condition #9 evaluated false (13ms)
+184ms ║║Cancelling statement #9’s schedules…
+190ms ║║Requesting time schedule wake up at Mon, Aug 3 2020 @ 8:00:00 AM MST
+195ms ║║Condition group #7 evaluated false (state did not change) (27ms)
+204ms ║║Comparison (time) 81385056 is_after (time) 79200000 = true (5ms)
+205ms ║║Time restriction check passed
+207ms ║║Condition #21 evaluated true (10ms)
+212ms ║║Cancelling statement #21’s schedules…
+216ms ║║Requesting time schedule wake up at Mon, Aug 3 2020 @ 12:00:00 AM MST
+219ms ║║Condition group #20 evaluated true (state did not change) (24ms)
+226ms ║║Comparison (string) Sunday is (string) Sunday = true (2ms)
+228ms ║║Condition #23 evaluated true (6ms)
+229ms ║║Condition group #22 evaluated true (state did not change) (7ms)
+231ms ║║Cancelling statement #14’s schedules…
+236ms ║║Executed virtual command [RemindAlexToTakeOutGarbage].setState (1ms)
+241ms ║║Executed virtual command [RemindAlexToTakeOutGarbage].waitForTime (2ms)
+243ms ║║Requesting a wake up for Mon, Aug 3 2020 @ 5:00:00 AM MST (in 23014.9s)
+274ms ║╚Execution stage complete. (122ms)
+279ms ║Setting up scheduled job for Mon, Aug 3 2020 @ 12:00:00 AM MST (in 5014.862s), with 2 more jobs pending
+287ms ╚Event processed successfully (287ms)
8/2/2020, 9:59:59 PM +87ms
+0ms ╔Received event [9011Florian].time = 1596430800000 with a delay of -914ms
+144ms ║RunTime Analysis CS > 27ms > PS > 77ms > PE > 40ms > CE
+147ms ║Runtime (39803 bytes) successfully initialized in 77ms (v0.3.110.20191009) (146ms)
+148ms ║╔Execution stage started
+153ms ║║Cancelling statement #5’s schedules…
+160ms ║║Skipped execution of physical command [null].off([]) because it would make no change to the device. (3ms)
+161ms ║║Executed [RemindAlexToTakeOutGarbage].off (5ms)
+173ms ║║Comparison (time) 79199251 is_between (time) 28800000 … (time) 79200000 = false (7ms)
+175ms ║║Cancelling condition #9’s schedules…
+177ms ║║Condition #9 evaluated false (12ms)
+178ms ║║Cancelling statement #9’s schedules…
+184ms ║║Requesting time schedule wake up at Mon, Aug 3 2020 @ 8:00:00 AM MST
+187ms ║║Cancelling condition #7’s schedules…
+188ms ║║Condition group #7 evaluated false (state changed) (24ms)
+196ms ║║Comparison (time) 79199276 is_after (time) 79200000 = true (5ms)
+198ms ║║Time restriction check passed
+199ms ║║Cancelling condition #21’s schedules…
+200ms ║║Condition #21 evaluated true (10ms)
+201ms ║║Cancelling statement #21’s schedules…
+205ms ║║Requesting time schedule wake up at Mon, Aug 3 2020 @ 12:00:00 AM MST
+207ms ║║Cancelling condition #20’s schedules…
+208ms ║║Condition group #20 evaluated true (state changed) (18ms)
+215ms ║║Comparison (string) Sunday is (string) Sunday = true (1ms)
+216ms ║║Cancelling condition #23’s schedules…
+217ms ║║Condition #23 evaluated true (7ms)
+218ms ║║Cancelling condition #22’s schedules…
+219ms ║║Condition group #22 evaluated true (state changed) (9ms)
+221ms ║║Cancelling statement #14’s schedules…
+226ms ║║Executed virtual command [RemindAlexToTakeOutGarbage].setState (1ms)
+232ms ║║Executed virtual command [RemindAlexToTakeOutGarbage].waitForTime (2ms)
+233ms ║║Requesting a wake up for Mon, Aug 3 2020 @ 5:00:00 AM MST (in 25200.682s)
+239ms ║╚Execution stage complete. (91ms)
+241ms ║Setting up scheduled job for Mon, Aug 3 2020 @ 12:00:00 AM MST (in 7200.673s), with 2 more jobs pending
+269ms ╚Event processed successfully (270ms)
8/2/2020, 5:00:44 PM +236ms
+0ms ╔Received event [9011Florian].time = 1596412845318 with a delay of -1083ms
+101ms ║RunTime Analysis CS > 22ms > PS > 55ms > PE > 25ms > CE
+103ms ║Runtime (39804 bytes) successfully initialized in 55ms (v0.3.110.20191009) (102ms)
+104ms ║╔Execution stage started
+349ms ║║Executed physical command [null].on() (231ms)
+350ms ║║Executed [RemindAlexToTakeOutGarbage].on (233ms)
+354ms ║╚Execution stage complete. (250ms)
+355ms ║Setting up scheduled job for Sun, Aug 2 2020 @ 10:00:00 PM MST (in 17955.409s), with 1 more job pending
+366ms ╚Event processed successfully (367ms)
8/2/2020, 3:00:45 PM +144ms
+0ms ╔Received event [9011Florian].execute = 66.102.7.175 with a delay of 183ms
+121ms ║RunTime Analysis CS > 24ms > PS > 62ms > PE > 36ms > CE
+124ms ║Runtime (39688 bytes) successfully initialized in 62ms (v0.3.110.20191009) (122ms)
+125ms ║╔Execution stage started
+129ms ║║Cancelling statement #5’s schedules…
+134ms ║║Skipped execution of physical command [null].off([]) because it would make no change to the device. (2ms)
+135ms ║║Executed [RemindAlexToTakeOutGarbage].off (4ms)
+146ms ║║Comparison (time) 54045282 is_between (time) 28800000 … (time) 79200000 = true (7ms)
+147ms ║║Time restriction check passed
+149ms ║║Condition #9 evaluated true (12ms)
+150ms ║║Cancelling statement #9’s schedules…
+154ms ║║Requesting time schedule wake up at Sun, Aug 2 2020 @ 10:00:00 PM MST
+156ms ║║Condition group #7 evaluated true (state did not change) (19ms)
+162ms ║║Comparison (string) Sunday is (string) Sunday = true (1ms)
+163ms ║║Condition #25 evaluated true (5ms)
+164ms ║║Condition group #24 evaluated true (state did not change) (6ms)
+166ms ║║Cancelling statement #18’s schedules…
+169ms ║║Executed virtual command [RemindAlexToTakeOutGarbage].setState (1ms)
+172ms ║║Executed virtual command [RemindAlexToTakeOutGarbage].wait (1ms)
+173ms ║║Requesting a wake up for Sun, Aug 2 2020 @ 5:00:45 PM MST (in 7200.0s)
+178ms ║╚Execution stage complete. (54ms)
+180ms ║Setting up scheduled job for Sun, Aug 2 2020 @ 5:00:45 PM MST (in 7199.995s), with 2 more jobs pending
+192ms ╚Event processed successfully (192ms)