Control patio fan based on temp and motion not working


#1

1) Give a description of the problem
The piston is not working. Im not sure if I have written the piston incorrectly or if Im using the correct command to control the ceiling fan wall switch.

2) What is the expected behaviour?
If the temperature is between 70-72 and there is motion then the fan will be set to 1. Else there is no motion for 10min then the fan turns off.

If the temperature is between 73-75 and there is motion then the fan will be set to 2. Else there is no motion for 10min then the fan turns off.

If the temperature is between 76-78 and there is motion then the fan will be set to 3. Else there is no motion for 10min then the fan turns off.

If the temperature is between 79-781 and there is motion then the fan will be set to 4. Else there is no motion for 10min then the fan turns off.

3) What is happening/not happening?
The fan is not triggering at all. The motion and temperature sensor is reporting fine.

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

5) Attach logs after turning logging level to Full
4/7/2021, 4:10:08 PM +453ms
+1ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 46ms
+67ms ║RunTime Analysis CS > 14ms > PS > 5ms > PE > 48ms > CE
+70ms ║Runtime (43842 bytes) successfully initialized in 5ms (v0.3.113.20210203) (68ms)
+71ms ║╔Execution stage started
+83ms ║║Comparison (decimal) 80.8 is_inside_of_range (integer) 70 … (integer) 72 = false (2ms)
+85ms ║║Condition #2 evaluated false (9ms)
+86ms ║║Condition group #1 evaluated false (state did not change) (10ms)
+88ms ║║Cancelling statement #4’s schedules…
+95ms ║║Executed virtual command [Patio Fans].wait (1ms)
+96ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 4:20:08 PM PDT (in 600.0s)
+101ms ║╚Execution stage complete. (30ms)
+102ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 4:20:08 PM PDT (in 599s)
+112ms ╚Event processed successfully (111ms)
4/7/2021, 4:09:53 PM +315ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 48ms
+73ms ║RunTime Analysis CS > 13ms > PS > 5ms > PE > 55ms > CE
+76ms ║Runtime (43840 bytes) successfully initialized in 5ms (v0.3.113.20210203) (74ms)
+77ms ║╔Execution stage started
+90ms ║║Comparison (decimal) 80.8 is_inside_of_range (integer) 70 … (integer) 72 = false (2ms)
+92ms ║║Condition #2 evaluated false (11ms)
+93ms ║║Condition group #1 evaluated false (state did not change) (12ms)
+95ms ║║Cancelling statement #4’s schedules…
+99ms ║║Executed virtual command [Patio Fans].wait (1ms)
+100ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 4:19:53 PM PDT (in 600.0s)
+108ms ║╚Execution stage complete. (31ms)
+109ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 4:19:53 PM PDT (in 599s)
+116ms ╚Event processed successfully (115ms)
4/7/2021, 2:59:59 PM +54ms
+1ms ╔Received event [Home].time = 1617832800443 with a delay of -1389ms
+174ms ║RunTime Analysis CS > 21ms > PS > 5ms > PE > 147ms > CE
+177ms ║Runtime (43832 bytes) successfully initialized in 5ms (v0.3.113.20210203) (175ms)
+178ms ║╔Execution stage started
+220ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+221ms ║║Executed [Patio Fans].off (6ms)
+224ms ║╚Execution stage complete. (47ms)
+230ms ╚Event processed successfully (230ms)
4/7/2021, 2:50:00 PM +141ms
+0ms ╔Received event [Home].time = 1617832201299 with a delay of -1159ms
+103ms ║RunTime Analysis CS > 42ms > PS > 6ms > PE > 55ms > CE
+106ms ║Runtime (43832 bytes) successfully initialized in 6ms (v0.3.113.20210203) (103ms)
+107ms ║╔Execution stage started
+265ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+266ms ║║Executed [Patio Fans].off (6ms)
+281ms ║║Comparison (decimal) 79.1 is_inside_of_range (integer) 79 … (integer) 120 = true (2ms)
+283ms ║║Cancelling condition #26’s schedules…
+283ms ║║Condition #26 evaluated true (13ms)
+291ms ║║Condition #27 evaluated false (6ms)
+292ms ║║Condition group #25 evaluated false (state did not change) (22ms)
+295ms ║║Cancelling statement #28’s schedules…
+298ms ║║Executed virtual command [Patio Fans].wait (1ms)
+301ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 3:00:00 PM PDT (in 600.0s)
+307ms ║╚Execution stage complete. (200ms)
+309ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 3:00:00 PM PDT (in 599s)
+315ms ╚Event processed successfully (315ms)
4/7/2021, 2:40:01 PM +97ms
+0ms ╔Received event [Home].time = 1617831602639 with a delay of -1543ms
+149ms ║RunTime Analysis CS > 97ms > PS > 6ms > PE > 47ms > CE
+152ms ║Runtime (43832 bytes) successfully initialized in 6ms (v0.3.113.20210203) (151ms)
+153ms ║╔Execution stage started
+177ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (5ms)
+178ms ║║Executed [Patio Fans].off (7ms)
+191ms ║║Comparison (decimal) 78.1 is_inside_of_range (integer) 76 … (integer) 78 = false (2ms)
+192ms ║║Condition #18 evaluated false (11ms)
+193ms ║║Condition group #17 evaluated false (state did not change) (12ms)
+195ms ║║Cancelling statement #20’s schedules…
+200ms ║║Executed virtual command [Patio Fans].wait (1ms)
+201ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 2:50:01 PM PDT (in 600.0s)
+205ms ║╚Execution stage complete. (52ms)
+206ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 2:50:01 PM PDT (in 599s)
+214ms ╚Event processed successfully (214ms)
4/7/2021, 2:30:02 PM +110ms
+0ms ╔Received event [Home].time = 1617831003212 with a delay of -1103ms
+311ms ║RunTime Analysis CS > 237ms > PS > 6ms > PE > 68ms > CE
+314ms ║Runtime (43832 bytes) successfully initialized in 6ms (v0.3.113.20210203) (313ms)
+315ms ║╔Execution stage started
+463ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+465ms ║║Executed [Patio Fans].off (6ms)
+480ms ║║Comparison (decimal) 77.7 is_inside_of_range (integer) 73 … (integer) 75 = false (3ms)
+483ms ║║Cancelling condition #10’s schedules…
+484ms ║║Condition #10 evaluated false (14ms)
+486ms ║║Condition group #9 evaluated false (state did not change) (16ms)
+488ms ║║Cancelling statement #12’s schedules…
+492ms ║║Executed virtual command [Patio Fans].wait (0ms)
+528ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 2:40:02 PM PDT (in 600.0s)
+533ms ║╚Execution stage complete. (218ms)
+535ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 2:40:02 PM PDT (in 599s)
+543ms ╚Event processed successfully (543ms)
4/7/2021, 2:20:03 PM +109ms
+0ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 46ms
+75ms ║RunTime Analysis CS > 15ms > PS > 3ms > PE > 57ms > CE
+77ms ║Runtime (43842 bytes) successfully initialized in 3ms (v0.3.113.20210203) (76ms)
+78ms ║╔Execution stage started
+92ms ║║Comparison (decimal) 76.7 is_inside_of_range (integer) 70 … (integer) 72 = false (1ms)
+93ms ║║Condition #2 evaluated false (10ms)
+94ms ║║Condition group #1 evaluated false (state did not change) (12ms)
+97ms ║║Cancelling statement #4’s schedules…
+101ms ║║Executed virtual command [Patio Fans].wait (1ms)
+102ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 2:30:03 PM PDT (in 600.0s)
+107ms ║╚Execution stage complete. (28ms)
+108ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 2:30:03 PM PDT (in 599s)
+118ms ╚Event processed successfully (118ms)
4/7/2021, 2:19:47 PM +970ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 34ms
+64ms ║RunTime Analysis CS > 16ms > PS > 5ms > PE > 44ms > CE
+67ms ║Runtime (43840 bytes) successfully initialized in 5ms (v0.3.113.20210203) (66ms)
+68ms ║╔Execution stage started
+82ms ║║Comparison (decimal) 76.4 is_inside_of_range (integer) 70 … (integer) 72 = false (2ms)
+84ms ║║Condition #2 evaluated false (12ms)
+85ms ║║Condition group #1 evaluated false (state did not change) (13ms)
+87ms ║║Cancelling statement #4’s schedules…
+90ms ║║Executed virtual command [Patio Fans].wait (0ms)
+92ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 2:29:48 PM PDT (in 600.0s)
+99ms ║╚Execution stage complete. (31ms)
+100ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 2:29:48 PM PDT (in 599s)
+108ms ╚Event processed successfully (108ms)
4/7/2021, 2:16:17 PM +127ms
+1ms ╔Received event [Home].time = 1617830178186 with a delay of -1060ms
+75ms ║RunTime Analysis CS > 25ms > PS > 4ms > PE > 46ms > CE
+78ms ║Runtime (43830 bytes) successfully initialized in 4ms (v0.3.113.20210203) (76ms)
+79ms ║╔Execution stage started
+115ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (5ms)
+115ms ║║Executed [Patio Fans].off (7ms)
+117ms ║╚Execution stage complete. (39ms)
+122ms ╚Event processed successfully (122ms)
4/7/2021, 2:06:18 PM +38ms
+1ms ╔Received event [Home].time = 1617829579188 with a delay of -1150ms
+75ms ║RunTime Analysis CS > 20ms > PS > 5ms > PE > 49ms > CE
+78ms ║Runtime (43830 bytes) successfully initialized in 5ms (v0.3.113.20210203) (75ms)
+79ms ║╔Execution stage started
+121ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+122ms ║║Executed [Patio Fans].off (6ms)
+135ms ║║Comparison (decimal) 75.2 is_inside_of_range (integer) 79 … (integer) 120 = false (2ms)
+137ms ║║Condition #26 evaluated false (12ms)
+138ms ║║Condition group #25 evaluated false (state did not change) (13ms)
+141ms ║║Cancelling statement #28’s schedules…
+145ms ║║Executed virtual command [Patio Fans].wait (0ms)
+147ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 2:16:18 PM PDT (in 600.0s)
+152ms ║╚Execution stage complete. (73ms)
+154ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 2:16:18 PM PDT (in 599s)
+161ms ╚Event processed successfully (160ms)
4/7/2021, 1:56:19 PM +54ms
+0ms ╔Received event [Home].time = 1617828979222 with a delay of -168ms
+73ms ║RunTime Analysis CS > 23ms > PS > 5ms > PE > 45ms > CE
+77ms ║Runtime (43829 bytes) successfully initialized in 5ms (v0.3.113.20210203) (76ms)
+79ms ║╔Execution stage started
+102ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+103ms ║║Executed [Patio Fans].off (6ms)
+124ms ║║Comparison (decimal) 73.9 is_inside_of_range (integer) 76 … (integer) 78 = false (2ms)
+126ms ║║Condition #18 evaluated false (20ms)
+127ms ║║Condition group #17 evaluated false (state did not change) (21ms)
+129ms ║║Cancelling statement #20’s schedules…
+133ms ║║Executed virtual command [Patio Fans].wait (0ms)
+134ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 2:06:19 PM PDT (in 600.0s)
+138ms ║╚Execution stage complete. (59ms)
+140ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 2:06:19 PM PDT (in 599s)
+146ms ╚Event processed successfully (146ms)
4/7/2021, 1:54:46 PM +42ms
+1ms ╔Received event [Home].time = 1617828887175 with a delay of -1134ms
+73ms ║RunTime Analysis CS > 20ms > PS > 7ms > PE > 46ms > CE
+76ms ║Runtime (43830 bytes) successfully initialized in 7ms (v0.3.113.20210203) (74ms)
+77ms ║╔Execution stage started
+138ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+139ms ║║Executed [Patio Fans].off (7ms)
+141ms ║╚Execution stage complete. (64ms)
+146ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:56:19 PM PDT (in 93s)
+153ms ╚Event processed successfully (153ms)
4/7/2021, 1:46:19 PM +64ms
+1ms ╔Received event [Home].time = 1617828379641 with a delay of -577ms
+83ms ║RunTime Analysis CS > 22ms > PS > 5ms > PE > 54ms > CE
+87ms ║Runtime (43830 bytes) successfully initialized in 5ms (v0.3.113.20210203) (84ms)
+88ms ║╔Execution stage started
+108ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+109ms ║║Executed [Patio Fans].off (7ms)
+133ms ║║Comparison (decimal) 73.4 is_inside_of_range (integer) 73 … (integer) 75 = true (5ms)
+135ms ║║Cancelling condition #10’s schedules…
+136ms ║║Condition #10 evaluated true (23ms)
+145ms ║║Condition #11 evaluated false (8ms)
+147ms ║║Condition group #9 evaluated false (state did not change) (35ms)
+150ms ║║Cancelling statement #12’s schedules…
+154ms ║║Executed virtual command [Patio Fans].wait (1ms)
+157ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:56:19 PM PDT (in 600.0s)
+231ms ║╚Execution stage complete. (144ms)
+244ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:54:47 PM PDT (in 507s), with 1 more job pending
+252ms ╚Event processed successfully (252ms)
4/7/2021, 1:44:47 PM +46ms
+0ms ╔Received event [Home].time = 1617828288063 with a delay of -1018ms
+67ms ║RunTime Analysis CS > 20ms > PS > 5ms > PE > 42ms > CE
+69ms ║Runtime (43831 bytes) successfully initialized in 5ms (v0.3.113.20210203) (68ms)
+70ms ║╔Execution stage started
+106ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+107ms ║║Executed [Patio Fans].off (6ms)
+118ms ║║Comparison (decimal) 73.4 is_inside_of_range (integer) 79 … (integer) 120 = false (2ms)
+120ms ║║Condition #26 evaluated false (10ms)
+121ms ║║Condition group #25 evaluated false (state did not change) (11ms)
+123ms ║║Cancelling statement #28’s schedules…
+126ms ║║Executed virtual command [Patio Fans].wait (0ms)
+128ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:54:47 PM PDT (in 600.0s)
+139ms ║╚Execution stage complete. (68ms)
+142ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:46:19 PM PDT (in 92s), with 1 more job pending
+148ms ╚Event processed successfully (148ms)
4/7/2021, 1:36:19 PM +542ms
+1ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 52ms
+72ms ║RunTime Analysis CS > 17ms > PS > 5ms > PE > 49ms > CE
+74ms ║Runtime (43843 bytes) successfully initialized in 5ms (v0.3.113.20210203) (72ms)
+75ms ║╔Execution stage started
+88ms ║║Comparison (decimal) 73.1 is_inside_of_range (integer) 70 … (integer) 72 = false (3ms)
+90ms ║║Condition #2 evaluated false (11ms)
+91ms ║║Condition group #1 evaluated false (state did not change) (11ms)
+93ms ║║Cancelling statement #4’s schedules…
+97ms ║║Executed virtual command [Patio Fans].wait (1ms)
+98ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:46:19 PM PDT (in 600.0s)
+105ms ║╚Execution stage complete. (29ms)
+107ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:44:48 PM PDT (in 508s), with 1 more job pending
+117ms ╚Event processed successfully (116ms)
4/7/2021, 1:36:04 PM +405ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 55ms
+78ms ║RunTime Analysis CS > 23ms > PS > 4ms > PE > 50ms > CE
+80ms ║Runtime (43841 bytes) successfully initialized in 4ms (v0.3.113.20210203) (78ms)
+81ms ║╔Execution stage started
+94ms ║║Comparison (decimal) 73.1 is_inside_of_range (integer) 70 … (integer) 72 = false (2ms)
+96ms ║║Condition #2 evaluated false (11ms)
+97ms ║║Condition group #1 evaluated false (state did not change) (12ms)
+99ms ║║Cancelling statement #4’s schedules…
+103ms ║║Executed virtual command [Patio Fans].wait (1ms)
+104ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:46:04 PM PDT (in 600.0s)
+109ms ║╚Execution stage complete. (28ms)
+110ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:44:48 PM PDT (in 523s), with 1 more job pending
+121ms ╚Event processed successfully (121ms)
4/7/2021, 1:34:47 PM +56ms
+0ms ╔Received event [Home].time = 1617827687750 with a delay of -695ms
+78ms ║RunTime Analysis CS > 22ms > PS > 5ms > PE > 52ms > CE
+81ms ║Runtime (43830 bytes) successfully initialized in 5ms (v0.3.113.20210203) (79ms)
+82ms ║╔Execution stage started
+982ms ║║Executed physical command [Patio Fans].off() (873ms)
+983ms ║║Executed [Patio Fans].off (876ms)
+995ms ║║Comparison (decimal) 73.1 is_inside_of_range (integer) 76 … (integer) 78 = false (2ms)
+997ms ║║Condition #18 evaluated false (11ms)
+998ms ║║Condition group #17 evaluated false (state did not change) (13ms)
+1001ms ║║Cancelling statement #20’s schedules…
+1004ms ║║Executed virtual command [Patio Fans].wait (1ms)
+1006ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:44:48 PM PDT (in 600.0s)
+1028ms ║╚Execution stage complete. (946ms)
+1032ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:41:21 PM PDT (in 393s), with 1 more job pending
+1039ms ╚Event processed successfully (1038ms)
4/7/2021, 1:31:21 PM +387ms
+1ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 51ms
+63ms ║RunTime Analysis CS > 17ms > PS > 4ms > PE > 42ms > CE
+66ms ║Runtime (43843 bytes) successfully initialized in 4ms (v0.3.113.20210203) (64ms)
+67ms ║╔Execution stage started
+79ms ║║Comparison (decimal) 72.3 is_inside_of_range (integer) 70 … (integer) 72 = false (2ms)
+80ms ║║Condition #2 evaluated false (9ms)
+81ms ║║Condition group #1 evaluated false (state did not change) (11ms)
+83ms ║║Cancelling statement #4’s schedules…
+88ms ║║Executed virtual command [Patio Fans].wait (0ms)
+89ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:41:21 PM PDT (in 600.0s)
+95ms ║╚Execution stage complete. (28ms)
+98ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:34:47 PM PDT (in 206s), with 1 more job pending
+108ms ╚Event processed successfully (108ms)
4/7/2021, 1:31:06 PM +270ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 47ms
+159ms ║RunTime Analysis CS > 17ms > PS > 4ms > PE > 137ms > CE
+161ms ║Runtime (43842 bytes) successfully initialized in 4ms (v0.3.113.20210203) (159ms)
+162ms ║╔Execution stage started
+174ms ║║Comparison (decimal) 72.3 is_inside_of_range (integer) 70 … (integer) 72 = false (2ms)
+176ms ║║Cancelling condition #2’s schedules…
+176ms ║║Condition #2 evaluated false (10ms)
+177ms ║║Condition group #1 evaluated false (state did not change) (11ms)
+179ms ║║Cancelling statement #4’s schedules…
+183ms ║║Executed virtual command [Patio Fans].wait (0ms)
+184ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:41:06 PM PDT (in 600.0s)
+190ms ║╚Execution stage complete. (28ms)
+195ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:34:47 PM PDT (in 221s), with 1 more job pending
+204ms ╚Event processed successfully (204ms)
4/7/2021, 1:25:02 PM +684ms
+2ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 49ms
+61ms ║RunTime Analysis CS > 17ms > PS > 4ms > PE > 39ms > CE
+63ms ║Runtime (43838 bytes) successfully initialized in 4ms (v0.3.113.20210203) (60ms)
+65ms ║╔Execution stage started
+76ms ║║Comparison (decimal) 71.7 is_inside_of_range (integer) 70 … (integer) 72 = true (2ms)
+78ms ║║Condition #2 evaluated true (9ms)
+81ms ║║Comparison (enum) inactive changes_to (string) active = false (1ms)
+82ms ║║Cancelling condition #3’s schedules…
+83ms ║║Condition #3 evaluated false (5ms)
+84ms ║║Cancelling condition #1’s schedules…
+85ms ║║Condition group #1 evaluated false (state changed) (16ms)
+87ms ║║Cancelling statement #4’s schedules…
+91ms ║║Executed virtual command [Patio Fans].wait (0ms)
+92ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:35:02 PM PDT (in 600.0s)
+101ms ║╚Execution stage complete. (36ms)
+103ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:34:47 PM PDT (in 584s), with 1 more job pending
+114ms ╚Event processed successfully (114ms)
4/7/2021, 1:24:47 PM +558ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 63ms
+70ms ║RunTime Analysis CS > 24ms > PS > 4ms > PE > 42ms > CE
+73ms ║Runtime (43840 bytes) successfully initialized in 4ms (v0.3.113.20210203) (71ms)
+74ms ║╔Execution stage started
+86ms ║║Comparison (decimal) 71.7 is_inside_of_range (integer) 70 … (integer) 72 = true (2ms)
+88ms ║║Condition #2 evaluated true (9ms)
+91ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+93ms ║║Cancelling condition #3’s schedules…
+93ms ║║Condition #3 evaluated true (5ms)
+94ms ║║Cancelling condition #1’s schedules…
+95ms ║║Condition group #1 evaluated true (state changed) (18ms)
+97ms ║║Cancelling statement #7’s schedules…
+170ms ║║Executed physical command [Patio Fans].setFanSpeed([1]) (69ms)
+171ms ║║Executed [Patio Fans].setFanSpeed (70ms)
+182ms ║║Comparison (decimal) 71.7 is_inside_of_range (integer) 73 … (integer) 75 = false (2ms)
+184ms ║║Condition #10 evaluated false (9ms)
+184ms ║║Condition group #9 evaluated false (state did not change) (10ms)
+187ms ║║Cancelling statement #12’s schedules…
+190ms ║║Executed virtual command [Patio Fans].wait (1ms)
+191ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:34:47 PM PDT (in 600.0s)
+201ms ║╚Execution stage complete. (127ms)
+202ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:34:47 PM PDT (in 599s)
+212ms ╚Event processed successfully (211ms)
4/7/2021, 1:17:06 PM +805ms
+1ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 45ms
+66ms ║RunTime Analysis CS > 18ms > PS > 5ms > PE > 44ms > CE
+69ms ║Runtime (43838 bytes) successfully initialized in 5ms (v0.3.113.20210203) (67ms)
+70ms ║╔Execution stage started
+82ms ║║Comparison (decimal) 70.9 is_inside_of_range (integer) 70 … (integer) 72 = true (2ms)
+83ms ║║Condition #2 evaluated true (10ms)
+87ms ║║Comparison (enum) inactive changes_to (string) active = false (1ms)
+88ms ║║Cancelling condition #3’s schedules…
+89ms ║║Condition #3 evaluated false (5ms)
+90ms ║║Cancelling condition #1’s schedules…
+91ms ║║Condition group #1 evaluated false (state changed) (18ms)
+93ms ║║Cancelling statement #4’s schedules…
+98ms ║║Executed virtual command [Patio Fans].wait (0ms)
+99ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:27:06 PM PDT (in 600.0s)
+103ms ║╚Execution stage complete. (34ms)
+105ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:26:51 PM PDT (in 584s), with 1 more job pending
+114ms ╚Event processed successfully (114ms)
4/7/2021, 1:16:51 PM +663ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 46ms
+61ms ║RunTime Analysis CS > 17ms > PS > 5ms > PE > 38ms > CE
+63ms ║Runtime (43840 bytes) successfully initialized in 5ms (v0.3.113.20210203) (62ms)
+64ms ║╔Execution stage started
+76ms ║║Comparison (decimal) 70.9 is_inside_of_range (integer) 70 … (integer) 72 = true (2ms)
+78ms ║║Condition #2 evaluated true (9ms)
+81ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+82ms ║║Cancelling condition #3’s schedules…
+83ms ║║Condition #3 evaluated true (5ms)
+84ms ║║Cancelling condition #1’s schedules…
+85ms ║║Condition group #1 evaluated true (state changed) (18ms)
+87ms ║║Cancelling statement #7’s schedules…
+110ms ║║Executed physical command [Patio Fans].setFanSpeed([1]) (19ms)
+111ms ║║Executed [Patio Fans].setFanSpeed (21ms)
+121ms ║║Comparison (decimal) 70.9 is_inside_of_range (integer) 73 … (integer) 75 = false (1ms)
+123ms ║║Condition #10 evaluated false (9ms)
+124ms ║║Condition group #9 evaluated false (state did not change) (9ms)
+126ms ║║Cancelling statement #12’s schedules…
+129ms ║║Executed virtual command [Patio Fans].wait (0ms)
+130ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:26:51 PM PDT (in 600.0s)
+137ms ║╚Execution stage complete. (73ms)
+138ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:26:51 PM PDT (in 599s)
+148ms ╚Event processed successfully (148ms)
4/7/2021, 1:16:40 PM +93ms
+1ms ╔Received event [Home].time = 1617826600561 with a delay of -468ms
+71ms ║RunTime Analysis CS > 24ms > PS > 4ms > PE > 43ms > CE
+75ms ║Runtime (43829 bytes) successfully initialized in 4ms (v0.3.113.20210203) (74ms)
+77ms ║╔Execution stage started
+529ms ║║Executed physical command [Patio Fans].off() (408ms)
+530ms ║║Executed [Patio Fans].off (410ms)
+534ms ║╚Execution stage complete. (456ms)
+535ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:21:22 PM PDT (in 281s), with 1 more job pending
+542ms ╚Event processed successfully (542ms)
4/7/2021, 1:11:37 PM +100ms
+1ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 69ms
+58ms ║RunTime Analysis CS > 17ms > PS > 4ms > PE > 38ms > CE
+61ms ║Runtime (43838 bytes) successfully initialized in 4ms (v0.3.113.20210203) (60ms)
+62ms ║╔Execution stage started
+75ms ║║Comparison (decimal) 70.5 is_inside_of_range (integer) 70 … (integer) 72 = true (2ms)
+77ms ║║Condition #2 evaluated true (10ms)
+81ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms)
+82ms ║║Cancelling condition #3’s schedules…
+83ms ║║Condition #3 evaluated false (6ms)
+84ms ║║Cancelling condition #1’s schedules…
+85ms ║║Condition group #1 evaluated false (state changed) (18ms)
+87ms ║║Cancelling statement #4’s schedules…
+91ms ║║Executed virtual command [Patio Fans].wait (1ms)
+93ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:21:37 PM PDT (in 600.0s)
+99ms ║╚Execution stage complete. (37ms)
+102ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:16:40 PM PDT (in 303s), with 2 more jobs pending
+112ms ╚Event processed successfully (111ms)
4/7/2021, 1:11:21 PM +936ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 48ms
+66ms ║RunTime Analysis CS > 23ms > PS > 4ms > PE > 39ms > CE
+69ms ║Runtime (43840 bytes) successfully initialized in 4ms (v0.3.113.20210203) (67ms)
+70ms ║╔Execution stage started
+81ms ║║Comparison (decimal) 70.5 is_inside_of_range (integer) 70 … (integer) 72 = true (2ms)
+82ms ║║Condition #2 evaluated true (9ms)
+86ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+87ms ║║Cancelling condition #3’s schedules…
+88ms ║║Condition #3 evaluated true (5ms)
+89ms ║║Cancelling condition #1’s schedules…
+89ms ║║Condition group #1 evaluated true (state changed) (16ms)
+91ms ║║Cancelling statement #7’s schedules…
+111ms ║║Executed physical command [Patio Fans].setFanSpeed([1]) (16ms)
+112ms ║║Executed [Patio Fans].setFanSpeed (18ms)
+122ms ║║Comparison (decimal) 70.5 is_inside_of_range (integer) 73 … (integer) 75 = false (1ms)
+123ms ║║Condition #10 evaluated false (9ms)
+124ms ║║Condition group #9 evaluated false (state did not change) (10ms)
+126ms ║║Cancelling statement #12’s schedules…
+129ms ║║Executed virtual command [Patio Fans].wait (1ms)
+130ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:21:22 PM PDT (in 600.0s)
+135ms ║╚Execution stage complete. (66ms)
+136ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:16:40 PM PDT (in 318s), with 1 more job pending
+145ms ╚Event processed successfully (145ms)
4/7/2021, 1:06:40 PM +46ms
+1ms ╔Received event [Home].time = 1617826001221 with a delay of -1175ms
+60ms ║RunTime Analysis CS > 16ms > PS > 6ms > PE > 37ms > CE
+63ms ║Runtime (43830 bytes) successfully initialized in 6ms (v0.3.113.20210203) (60ms)
+64ms ║╔Execution stage started
+489ms ║║Executed physical command [Patio Fans].off() (383ms)
+490ms ║║Executed [Patio Fans].off (385ms)
+503ms ║║Comparison (decimal) 70.2 is_inside_of_range (integer) 79 … (integer) 120 = false (2ms)
+505ms ║║Condition #26 evaluated false (11ms)
+506ms ║║Condition group #25 evaluated false (state did not change) (12ms)
+509ms ║║Cancelling statement #28’s schedules…
+513ms ║║Executed virtual command [Patio Fans].wait (0ms)
+514ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:16:40 PM PDT (in 600.0s)
+524ms ║╚Execution stage complete. (460ms)
+527ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:12:00 PM PDT (in 320s), with 2 more jobs pending
+534ms ╚Event processed successfully (533ms)
4/7/2021, 1:02:15 PM +833ms
+1ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 44ms
+55ms ║RunTime Analysis CS > 16ms > PS > 3ms > PE > 36ms > CE
+58ms ║Runtime (43838 bytes) successfully initialized in 3ms (v0.3.113.20210203) (56ms)
+59ms ║╔Execution stage started
+70ms ║║Comparison (decimal) 70.2 is_inside_of_range (integer) 70 … (integer) 72 = true (1ms)
+72ms ║║Condition #2 evaluated true (10ms)
+75ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms)
+77ms ║║Cancelling condition #3’s schedules…
+77ms ║║Condition #3 evaluated false (4ms)
+78ms ║║Cancelling condition #1’s schedules…
+79ms ║║Condition group #1 evaluated false (state changed) (17ms)
+81ms ║║Cancelling statement #4’s schedules…
+85ms ║║Executed virtual command [Patio Fans].wait (1ms)
+86ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:12:15 PM PDT (in 600.0s)
+100ms ║╚Execution stage complete. (42ms)
+103ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:06:41 PM PDT (in 265s), with 2 more jobs pending
+112ms ╚Event processed successfully (112ms)
4/7/2021, 1:02:00 PM +689ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 45ms
+54ms ║RunTime Analysis CS > 14ms > PS > 5ms > PE > 35ms > CE
+57ms ║Runtime (43840 bytes) successfully initialized in 5ms (v0.3.113.20210203) (55ms)
+58ms ║╔Execution stage started
+70ms ║║Comparison (decimal) 70.2 is_inside_of_range (integer) 70 … (integer) 72 = true (1ms)
+71ms ║║Condition #2 evaluated true (9ms)
+75ms ║║Comparison (enum) active changes_to (string) active = true (0ms)
+76ms ║║Cancelling condition #3’s schedules…
+77ms ║║Condition #3 evaluated true (5ms)
+78ms ║║Cancelling condition #1’s schedules…
+78ms ║║Condition group #1 evaluated true (state changed) (17ms)
+80ms ║║Cancelling statement #7’s schedules…
+109ms ║║Executed physical command [Patio Fans].setFanSpeed([1]) (24ms)
+109ms ║║Executed [Patio Fans].setFanSpeed (25ms)
+119ms ║║Comparison (decimal) 70.2 is_inside_of_range (integer) 73 … (integer) 75 = false (1ms)
+121ms ║║Condition #10 evaluated false (9ms)
+122ms ║║Condition group #9 evaluated false (state did not change) (9ms)
+123ms ║║Cancelling statement #12’s schedules…
+127ms ║║Executed virtual command [Patio Fans].wait (0ms)
+128ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:12:00 PM PDT (in 600.0s)
+132ms ║╚Execution stage complete. (75ms)
+134ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:06:41 PM PDT (in 280s), with 1 more job pending
+143ms ╚Event processed successfully (143ms)
4/7/2021, 1:00:43 PM +293ms
+1ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 50ms
+59ms ║RunTime Analysis CS > 18ms > PS > 5ms > PE > 37ms > CE
+62ms ║Runtime (43838 bytes) successfully initialized in 5ms (v0.3.113.20210203) (59ms)
+63ms ║╔Execution stage started
+76ms ║║Comparison (decimal) 70.2 is_inside_of_range (integer) 70 … (integer) 72 = true (2ms)
+77ms ║║Condition #2 evaluated true (10ms)
+81ms ║║Comparison (enum) inactive changes_to (string) active = false (1ms)
+82ms ║║Cancelling condition #3’s schedules…
+83ms ║║Condition #3 evaluated false (5ms)
+84ms ║║Cancelling condition #1’s schedules…
+85ms ║║Condition group #1 evaluated false (state changed) (19ms)
+87ms ║║Cancelling statement #4’s schedules…
+92ms ║║Executed virtual command [Patio Fans].wait (0ms)
+93ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:10:43 PM PDT (in 600.0s)
+105ms ║╚Execution stage complete. (42ms)
+107ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:06:41 PM PDT (in 357s), with 2 more jobs pending
+117ms ╚Event processed successfully (116ms)
4/7/2021, 1:00:13 PM +849ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 46ms
+54ms ║RunTime Analysis CS > 16ms > PS > 4ms > PE > 34ms > CE
+57ms ║Runtime (43840 bytes) successfully initialized in 4ms (v0.3.113.20210203) (54ms)
+58ms ║╔Execution stage started
+71ms ║║Comparison (decimal) 70.2 is_inside_of_range (integer) 70 … (integer) 72 = true (2ms)
+74ms ║║Condition #2 evaluated true (12ms)
+79ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+81ms ║║Cancelling condition #3’s schedules…
+82ms ║║Condition #3 evaluated true (7ms)
+83ms ║║Cancelling condition #1’s schedules…
+84ms ║║Condition group #1 evaluated true (state changed) (22ms)
+86ms ║║Cancelling statement #7’s schedules…
+108ms ║║Executed physical command [Patio Fans].setFanSpeed([1]) (16ms)
+109ms ║║Executed [Patio Fans].setFanSpeed (18ms)
+121ms ║║Comparison (decimal) 70.2 is_inside_of_range (integer) 73 … (integer) 75 = false (2ms)
+123ms ║║Condition #10 evaluated false (11ms)
+124ms ║║Condition group #9 evaluated false (state did not change) (12ms)
+129ms ║║Cancelling statement #12’s schedules…
+133ms ║║Executed virtual command [Patio Fans].wait (1ms)
+135ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:10:13 PM PDT (in 600.0s)
+140ms ║╚Execution stage complete. (83ms)
+142ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:06:41 PM PDT (in 387s), with 1 more job pending
+152ms ╚Event processed successfully (152ms)
4/7/2021, 12:59:41 PM +40ms
+1ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 42ms
+54ms ║RunTime Analysis CS > 13ms > PS > 5ms > PE > 35ms > CE
+56ms ║Runtime (43838 bytes) successfully initialized in 5ms (v0.3.113.20210203) (54ms)
+57ms ║╔Execution stage started
+73ms ║║Comparison (decimal) 70.2 is_inside_of_range (integer) 70 … (integer) 72 = true (1ms)
+74ms ║║Condition #2 evaluated true (13ms)
+78ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms)
+79ms ║║Cancelling condition #3’s schedules…
+80ms ║║Condition #3 evaluated false (5ms)
+81ms ║║Cancelling condition #1’s schedules…
+82ms ║║Condition group #1 evaluated false (state changed) (21ms)
+84ms ║║Cancelling statement #4’s schedules…
+88ms ║║Executed virtual command [Patio Fans].wait (1ms)
+90ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:09:41 PM PDT (in 600.0s)
+108ms ║╚Execution stage complete. (51ms)
+112ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:06:41 PM PDT (in 420s), with 2 more jobs pending
+121ms ╚Event processed successfully (121ms)
4/7/2021, 12:59:25 PM +894ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 51ms
+67ms ║RunTime Analysis CS > 19ms > PS > 11ms > PE > 37ms > CE
+71ms ║Runtime (43843 bytes) successfully initialized in 11ms (v0.3.113.20210203) (69ms)
+72ms ║╔Execution stage started
+84ms ║║Comparison (decimal) 70.2 is_inside_of_range (integer) 70 … (integer) 72 = true (1ms)
+86ms ║║Cancelling condition #2’s schedules…
+87ms ║║Condition #2 evaluated true (10ms)
+91ms ║║Comparison (enum) active changes_to (string) active = true (0ms)
+92ms ║║Cancelling condition #3’s schedules…
+93ms ║║Condition #3 evaluated true (4ms)
+94ms ║║Cancelling condition #1’s schedules…
+94ms ║║Condition group #1 evaluated true (state changed) (18ms)
+96ms ║║Cancelling statement #7’s schedules…
+120ms ║║Executed physical command [Patio Fans].setFanSpeed([1]) (20ms)
+121ms ║║Executed [Patio Fans].setFanSpeed (21ms)
+131ms ║║Comparison (decimal) 70.2 is_inside_of_range (integer) 73 … (integer) 75 = false (2ms)
+133ms ║║Condition #10 evaluated false (9ms)
+134ms ║║Condition group #9 evaluated false (state did not change) (10ms)
+136ms ║║Cancelling statement #12’s schedules…
+139ms ║║Executed virtual command [Patio Fans].wait (1ms)
+141ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:09:26 PM PDT (in 600.0s)
+167ms ║╚Execution stage complete. (96ms)
+171ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:06:41 PM PDT (in 435s), with 1 more job pending
+180ms ╚Event processed successfully (181ms)
4/7/2021, 12:56:41 PM +61ms
+1ms ╔Received event [Home].time = 1617825402215 with a delay of -1155ms
+70ms ║RunTime Analysis CS > 33ms > PS > 4ms > PE > 34ms > CE
+73ms ║Runtime (43831 bytes) successfully initialized in 4ms (v0.3.113.20210203) (71ms)
+74ms ║╔Execution stage started
+120ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (5ms)
+122ms ║║Executed [Patio Fans].off (9ms)
+139ms ║║Comparison (decimal) 69.8 is_inside_of_range (integer) 76 … (integer) 78 = false (3ms)
+142ms ║║Condition #18 evaluated false (16ms)
+143ms ║║Condition group #17 evaluated false (state did not change) (17ms)
+146ms ║║Cancelling statement #20’s schedules…
+152ms ║║Executed virtual command [Patio Fans].wait (1ms)
+159ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 1:06:41 PM PDT (in 600.0s)
+165ms ║╚Execution stage complete. (91ms)
+167ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 1:06:41 PM PDT (in 599s)
+175ms ╚Event processed successfully (174ms)
4/7/2021, 12:50:02 PM +98ms
+1ms ╔Received event [Home].time = 1617825002321 with a delay of -223ms
+177ms ║RunTime Analysis CS > 131ms > PS > 5ms > PE > 41ms > CE
+181ms ║Runtime (43832 bytes) successfully initialized in 5ms (v0.3.113.20210203) (180ms)
+182ms ║╔Execution stage started
+302ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+303ms ║║Executed [Patio Fans].off (6ms)
+306ms ║╚Execution stage complete. (123ms)
+314ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 12:56:42 PM PDT (in 399s)
+321ms ╚Event processed successfully (320ms)
4/7/2021, 12:46:42 PM +99ms
+1ms ╔Received event [Home].time = 1617824802802 with a delay of -703ms
+66ms ║RunTime Analysis CS > 25ms > PS > 5ms > PE > 36ms > CE
+70ms ║Runtime (43830 bytes) successfully initialized in 5ms (v0.3.113.20210203) (68ms)
+72ms ║╔Execution stage started
+93ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (3ms)
+94ms ║║Executed [Patio Fans].off (5ms)
+106ms ║║Comparison (decimal) 68.9 is_inside_of_range (integer) 73 … (integer) 75 = false (2ms)
+107ms ║║Condition #10 evaluated false (11ms)
+108ms ║║Condition group #9 evaluated false (state did not change) (12ms)
+111ms ║║Cancelling statement #12’s schedules…
+114ms ║║Executed virtual command [Patio Fans].wait (1ms)
+115ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 12:56:42 PM PDT (in 600.0s)
+131ms ║╚Execution stage complete. (60ms)
+133ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 12:50:02 PM PDT (in 200s), with 1 more job pending
+140ms ╚Event processed successfully (140ms)
4/7/2021, 12:40:02 PM +68ms
+0ms ╔Received event [Home].time = 1617824403531 with a delay of -1463ms
+139ms ║RunTime Analysis CS > 101ms > PS > 5ms > PE > 32ms > CE
+142ms ║Runtime (43833 bytes) successfully initialized in 5ms (v0.3.113.20210203) (140ms)
+142ms ║╔Execution stage started
+218ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+218ms ║║Executed [Patio Fans].off (6ms)
+229ms ║║Comparison (decimal) 68.6 is_inside_of_range (integer) 79 … (integer) 120 = false (2ms)
+231ms ║║Condition #26 evaluated false (10ms)
+232ms ║║Condition group #25 evaluated false (state did not change) (11ms)
+234ms ║║Cancelling statement #28’s schedules…
+237ms ║║Executed virtual command [Patio Fans].wait (0ms)
+252ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 12:50:02 PM PDT (in 600.0s)
+351ms ║╚Execution stage complete. (209ms)
+371ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 12:46:42 PM PDT (in 400s), with 1 more job pending
+378ms ╚Event processed successfully (377ms)
4/7/2021, 12:36:42 PM +720ms
+1ms ╔Received event [Backyard Motion Sensor].motion = inactive with a delay of 43ms
+56ms ║RunTime Analysis CS > 19ms > PS > 4ms > PE > 33ms > CE
+58ms ║Runtime (43843 bytes) successfully initialized in 4ms (v0.3.113.20210203) (56ms)
+59ms ║╔Execution stage started
+71ms ║║Comparison (decimal) 68.4 is_inside_of_range (integer) 70 … (integer) 72 = false (1ms)
+73ms ║║Condition #2 evaluated false (10ms)
+74ms ║║Condition group #1 evaluated false (state did not change) (11ms)
+76ms ║║Cancelling statement #4’s schedules…
+80ms ║║Executed virtual command [Patio Fans].wait (0ms)
+81ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 12:46:42 PM PDT (in 600.0s)
+132ms ║╚Execution stage complete. (72ms)
+142ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 12:40:03 PM PDT (in 200s), with 1 more job pending
+153ms ╚Event processed successfully (152ms)
4/7/2021, 12:36:27 PM +574ms
+1ms ╔Received event [Backyard Motion Sensor].motion = active with a delay of 42ms
+56ms ║RunTime Analysis CS > 15ms > PS > 4ms > PE > 36ms > CE
+58ms ║Runtime (43841 bytes) successfully initialized in 4ms (v0.3.113.20210203) (56ms)
+59ms ║╔Execution stage started
+72ms ║║Comparison (decimal) 68.4 is_inside_of_range (integer) 70 … (integer) 72 = false (2ms)
+74ms ║║Condition #2 evaluated false (9ms)
+75ms ║║Condition group #1 evaluated false (state did not change) (12ms)
+77ms ║║Cancelling statement #4’s schedules…
+81ms ║║Executed virtual command [Patio Fans].wait (0ms)
+82ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 12:46:27 PM PDT (in 600.0s)
+90ms ║╚Execution stage complete. (30ms)
+91ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 12:40:03 PM PDT (in 215s), with 1 more job pending
+101ms ╚Event processed successfully (101ms)
4/7/2021, 12:30:03 PM +136ms
+1ms ╔Received event [Home].time = 1617823804191 with a delay of -1055ms
+205ms ║RunTime Analysis CS > 171ms > PS > 4ms > PE > 30ms > CE
+209ms ║Runtime (43833 bytes) successfully initialized in 4ms (v0.3.113.20210203) (205ms)
+210ms ║╔Execution stage started
+354ms ║║Skipped execution of physical command [Patio Fans].off([]) because it would make no change to the device. (4ms)
+355ms ║║Executed [Patio Fans].off (6ms)
+367ms ║║Comparison (decimal) 67.8 is_inside_of_range (integer) 76 … (integer) 78 = false (2ms)
+369ms ║║Condition #18 evaluated false (11ms)
+370ms ║║Condition group #17 evaluated false (state did not change) (12ms)
+372ms ║║Cancelling statement #20’s schedules…
+376ms ║║Executed virtual command [Patio Fans].wait (1ms)
+394ms ║║Requesting a wake up for Wed, Apr 7 2021 @ 12:40:03 PM PDT (in 600.0s)
+399ms ║╚Execution stage complete. (190ms)
+400ms ║Setting up scheduled job for Wed, Apr 7 2021 @ 12:40:03 PM PDT (in 599s)
+407ms ╚Event processed successfully (407ms)


#2

You do not have your triggers (orange lightning bolt in the left margin) visible in this shot of your piston. Update that capture of your piston with the triggers visible. Log help here : https://wiki.webcore.co/WCmore's_LogAndTrace


#3

I can see the orange lightning bolt on my piston, but every time I click the green or red screenshot buttons it disappears. Any suggestions? The orange lightning bolt appears at every line that says “motion changes to active”. I updated the log. thanks for the link.


#4

Couple of thoughts:

  1. The piston will run every time the motion changes state. It will then start running from the top. If the temperature doesn’t match the first range the else condition runs, turning the fan off after ten minutes. Then if it doesn’t match the second range it will run the else again and wait another ten minutes, and so on …
  2. In order to know the motion attribute has changed, the trigger must always be evaluated when there is a motion event. In your piston the triggers are only evaluated when the temperature range matches.

I think what you need is an overall structure of:

If motion changes to active
Then
  If temperature is in range
  Then
    Turn fan on
  End if
  (Repeat for all ranges)
Else
  Wait 10 minutes
  Turn fan off
End if