1) Give a description of the problem
Hey guys, sorry for this because I’m sure it’s been answered 100 times but I have tried to apply other answers to other instances to my pistons and I just can’t get it to work right. I have a piston set where I have flood lights in front of my house that turn off at midnight. I have another piston where if the time is between midnight and sunrise and there is motion detected, the flood lights should come on, wait for 10 mins after the last “inactive” cue from the sensor, then turn back off.
2) What is the expected behaviour?
Motion detected- flood lights come on, set to 100% brightness…Philips Hue candle bulbs in my door fixture go to 100%. After 10 minutes of no motion, floods turn back off, Hue candle bulbs set back to 60% brightness.
3) What is happening/not happening?
When motion is sensed, the “on” and “brightness 100%” instructions are executed, but the “inactive motion” for 10 minutes trigger does not activate the “floods off” and “candle bulbs to 60%” instruction. The lights just stay at 100% until my “sunrise off” piston.
**4) Post a Green Snapshot of the piston!
5) Attach logs after turning logging level to Full
8/28/2020, 12:38:16 AM +127ms
+2ms ╔Received event [Front Door].motion = inactive with a delay of 87ms
+82ms ║RunTime Analysis CS > 22ms > PS > 8ms > PE > 51ms > CE
+84ms ║Runtime (38888 bytes) successfully initialized in 8ms (v0.3.110.20191009) (82ms)
+85ms ║╔Execution stage started
+92ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms)
+93ms ║║Cancelling condition #2's schedules...
+94ms ║║Condition #2 evaluated false (5ms)
+95ms ║║Cancelling condition #1's schedules...
+96ms ║║Condition group #1 evaluated false (state changed) (6ms)
+97ms ║╚Execution stage complete. (12ms)
+98ms ╚Event processed successfully (98ms)
8/28/2020, 12:37:36 AM +212ms
+1ms ╔Received event [Front Door].motion = active with a delay of 133ms
+75ms ║RunTime Analysis CS > 20ms > PS > 4ms > PE > 50ms > CE
+77ms ║Runtime (38894 bytes) successfully initialized in 4ms (v0.3.110.20191009) (75ms)
+78ms ║╔Execution stage started
+85ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+86ms ║║Cancelling condition #2's schedules...
+87ms ║║Condition #2 evaluated true (5ms)
+130ms ║║Comparison (time) 2256300 is_between (time) 60000 .. (time) 1598610360000 = true (7ms)
+131ms ║║Time restriction check passed
+132ms ║║Condition #3 evaluated true (44ms)
+133ms ║║Cancelling condition #1's schedules...
+134ms ║║Condition group #1 evaluated true (state changed) (52ms)
+136ms ║║Cancelling statement #4's schedules...
+155ms ║║Skipped execution of physical command [Door Flood 1].setLevel([100]) because it would make no change to the device. (12ms)
+156ms ║║Executed [Door Flood 1].setLevel (13ms)
+169ms ║║Skipped execution of physical command [Door Flood 2].setLevel([100]) because it would make no change to the device. (10ms)
+170ms ║║Executed [Door Flood 2].setLevel (12ms)
+182ms ║║Skipped execution of physical command [Front Step Flood 1].setLevel([100]) because it would make no change to the device. (8ms)
+183ms ║║Executed [Front Step Flood 1].setLevel (10ms)
+196ms ║║Skipped execution of physical command [Front Step Flood 2].setLevel([100]) because it would make no change to the device. (11ms)
+197ms ║║Executed [Front Step Flood 2].setLevel (12ms)
+212ms ║║Skipped execution of physical command [Hue white candle 1].setLevel([100]) because it would make no change to the device. (12ms)
+213ms ║║Executed [Hue white candle 1].setLevel (14ms)
+226ms ║║Skipped execution of physical command [Hue white candle 2].setLevel([100]) because it would make no change to the device. (9ms)
+226ms ║║Executed [Hue white candle 2].setLevel (11ms)
+240ms ║║Skipped execution of physical command [Hue white candle 3].setLevel([100]) because it would make no change to the device. (10ms)
+241ms ║║Executed [Hue white candle 3].setLevel (12ms)
+255ms ║║Skipped execution of physical command [Hue white candle 4].setLevel([100]) because it would make no change to the device. (11ms)
+256ms ║║Executed [Hue white candle 4].setLevel (12ms)
+262ms ║║Comparison (enum) active changes_to (string) inactive = false (1ms)
+263ms ║║Condition #7 evaluated false (4ms)
+264ms ║║Condition group #6 evaluated false (state did not change) (6ms)
+266ms ║╚Execution stage complete. (188ms)
+267ms ╚Event processed successfully (267ms)
8/28/2020, 12:37:13 AM +256ms
+1ms ╔Received event [Front Door].motion = inactive with a delay of 92ms
+80ms ║RunTime Analysis CS > 23ms > PS > 5ms > PE > 52ms > CE
+83ms ║Runtime (38888 bytes) successfully initialized in 5ms (v0.3.110.20191009) (80ms)
+83ms ║╔Execution stage started
+90ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms)
+91ms ║║Cancelling condition #2's schedules...
+92ms ║║Condition #2 evaluated false (5ms)
+93ms ║║Cancelling condition #1's schedules...
+93ms ║║Condition group #1 evaluated false (state changed) (6ms)
+95ms ║╚Execution stage complete. (12ms)
+96ms ╚Event processed successfully (96ms)
8/28/2020, 12:36:33 AM +883ms
+7ms ╔Received event [Front Door].motion = active with a delay of 86ms
+164ms ║RunTime Analysis CS > 26ms > PS > 8ms > PE > 130ms > CE
+166ms ║Runtime (38897 bytes) successfully initialized in 8ms (v0.3.110.20191009) (158ms)
+167ms ║╔Execution stage started
+175ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+177ms ║║Cancelling condition #2's schedules...
+177ms ║║Condition #2 evaluated true (5ms)
+226ms ║║Comparison (time) 2194061 is_between (time) 60000 .. (time) 1598610360000 = true (9ms)
+227ms ║║Time restriction check passed
+228ms ║║Cancelling condition #3's schedules...
+229ms ║║Condition #3 evaluated true (51ms)
+230ms ║║Cancelling condition #1's schedules...
+231ms ║║Condition group #1 evaluated true (state changed) (60ms)
+234ms ║║Cancelling statement #4's schedules...
+261ms ║║Executed physical command [Door Flood 1].setLevel([100]) (20ms)
+262ms ║║Executed [Door Flood 1].setLevel (20ms)
+288ms ║║Executed physical command [Door Flood 2].setLevel([100]) (22ms)
+289ms ║║Executed [Door Flood 2].setLevel (24ms)
+313ms ║║Executed physical command [Front Step Flood 1].setLevel([100]) (20ms)
+314ms ║║Executed [Front Step Flood 1].setLevel (21ms)
+337ms ║║Executed physical command [Front Step Flood 2].setLevel([100]) (20ms)
+338ms ║║Executed [Front Step Flood 2].setLevel (22ms)
+355ms ║║Skipped execution of physical command [Hue white candle 1].setLevel([100]) because it would make no change to the device. (13ms)
+356ms ║║Executed [Hue white candle 1].setLevel (15ms)
+373ms ║║Skipped execution of physical command [Hue white candle 2].setLevel([100]) because it would make no change to the device. (13ms)
+374ms ║║Executed [Hue white candle 2].setLevel (15ms)
+391ms ║║Skipped execution of physical command [Hue white candle 3].setLevel([100]) because it would make no change to the device. (13ms)
+392ms ║║Executed [Hue white candle 3].setLevel (15ms)
+408ms ║║Skipped execution of physical command [Hue white candle 4].setLevel([100]) because it would make no change to the device. (12ms)
+409ms ║║Executed [Hue white candle 4].setLevel (13ms)
+415ms ║║Comparison (enum) active changes_to (string) inactive = false (1ms)
+417ms ║║Condition #7 evaluated false (5ms)
+418ms ║║Condition group #6 evaluated false (state did not change) (7ms)
+420ms ║╚Execution stage complete. (253ms)
+422ms ╚Event processed successfully (421ms)