1) Give a description of the problem
Bathroom Light Turns on with Motion, off after 70 seconds without. 70 second timer is not being reset if motion sensor sees motion before timing out 70 seconds.
2) What is the expected behavior?
The motion sensor has a physical 15 sec timeout. I would like 70 sec software timer to reset when it sees motion again.
3) What is happening/not happening?
The 70 sec timer continues to timeout regardless if the motion sensor sees motion again.
If I turn the light out manually the timer continues to count down too and I can walk back into the bathroom and the light will turn back on with motion but the timer won’t reset.
**4) Post a Green Snapshot of the piston!
**5) Attach any logs:
3/17/2018, 7:02:55 PM +127ms
+0ms â•”Received event [Home].time = 1521327775500 with a delay of -374ms
+164ms â•‘RunTime Analysis CS > 22ms > PS > 69ms > PE > 74ms > CE
+167ms â•‘Runtime (40981 bytes) successfully initialized in 69ms (v0.3.000.20180224) (166ms)
+168ms â•‘â•”Execution stage started
+183ms ║║Cancelling condition #12’s schedules…
+184ms â•‘â•‘Condition #12 evaluated true (2ms)
+185ms ║║Cancelling condition #5’s schedules…
+186ms â•‘â•‘Condition group #5 evaluated true (state changed) (4ms)
+196ms â•‘â•‘Comparison (enum) on is (string) on = true (2ms)
+198ms ║║Cancelling condition #16’s schedules…
+199ms â•‘â•‘Condition #16 evaluated true (11ms)
+200ms ║║Cancelling condition #10’s schedules…
+201ms â•‘â•‘Condition group #10 evaluated true (state changed) (13ms)
+202ms ║║Cancelling statement #10’s schedules…
+220ms â•‘â•‘Executed physical command [Main Bath Light].off() (16ms)
+221ms â•‘â•‘Executed [Main Bath Light].off (17ms)
+225ms ║╚Execution stage complete. (56ms)
+226ms ╚Event processed successfully (226ms)
3/17/2018, 7:02:25 PM +199ms
+1ms â•”Received event [Main Bath Motion Sensor].motion = inactive with a delay of 195ms
+187ms â•‘RunTime Analysis CS > 28ms > PS > 90ms > PE > 69ms > CE
+189ms â•‘Runtime (40989 bytes) successfully initialized in 90ms (v0.3.000.20180224) (187ms)
+190ms â•‘â•”Execution stage started
+203ms â•‘â•‘Comparison (enum) off is (string) off = true (2ms)
+204ms â•‘â•‘Condition #2 evaluated true (9ms)
+210ms â•‘â•‘Comparison (dynamic) open is (string) open = true (1ms)
+211ms â•‘â•‘Condition #13 evaluated true (6ms)
+212ms â•‘â•‘Condition group #null evaluated true (state did not change) (17ms)
+218ms â•‘â•‘Comparison (enum) inactive changes_to (string) active = false (0ms)
+220ms ║║Cancelling condition #7’s schedules…
+221ms â•‘â•‘Condition #7 evaluated false (6ms)
+222ms ║║Cancelling condition #4’s schedules…
+223ms â•‘â•‘Condition group #4 evaluated false (state changed) (8ms)
+229ms â•‘â•‘Comparison (enum) inactive stays (string) inactive = true (2ms)
+232ms â•‘â•‘Condition #12 evaluated false (8ms)
+233ms â•‘â•‘Condition group #5 evaluated false (state did not change) (10ms)
+236ms ║╚Execution stage complete. (46ms)
+238ms â•‘Setting up scheduled job for Sat, Mar 17 2018 @ 7:02:55 PM EDT (in 30.064s)
+250ms ╚Event processed successfully (250ms)
3/17/2018, 7:02:17 PM +190ms
+1ms â•”Received event [Main Bath Motion Sensor].motion = active with a delay of 94ms
+190ms â•‘RunTime Analysis CS > 27ms > PS > 96ms > PE > 67ms > CE
+193ms â•‘Runtime (40993 bytes) successfully initialized in 96ms (v0.3.000.20180224) (190ms)
+194ms â•‘â•”Execution stage started
+207ms â•‘â•‘Comparison (enum) off is (string) off = true (2ms)
+209ms â•‘â•‘Condition #2 evaluated true (10ms)
+214ms â•‘â•‘Comparison (dynamic) open is (string) open = true (2ms)
+215ms â•‘â•‘Condition #13 evaluated true (6ms)
+216ms â•‘â•‘Condition group #null evaluated true (state did not change) (18ms)
+223ms â•‘â•‘Comparison (enum) active changes_to (string) active = true (1ms)
+224ms ║║Cancelling condition #7’s schedules…
+225ms â•‘â•‘Condition #7 evaluated true (6ms)
+226ms ║║Cancelling condition #4’s schedules…
+227ms â•‘â•‘Condition group #4 evaluated true (state changed) (9ms)
+237ms â•‘â•‘Comparison (enum) off is (string) off = true (2ms)
+239ms â•‘â•‘Condition #15 evaluated true (9ms)
+240ms â•‘â•‘Condition group #6 evaluated true (state did not change) (10ms)
+241ms ║║Cancelling statement #6’s schedules…
+263ms â•‘â•‘Executed physical command [Main Bath Light].on() (19ms)
+263ms â•‘â•‘Executed [Main Bath Light].on (21ms)
+267ms ║╚Execution stage complete. (74ms)
+269ms â•‘Setting up scheduled job for Sat, Mar 17 2018 @ 7:02:55 PM EDT (in 38.042s)
+282ms ╚Event processed successfully (281ms)
3/17/2018, 7:01:45 PM +275ms
+2ms â•”Received event [Main Bath Motion Sensor].motion = inactive with a delay of 94ms
+179ms â•‘RunTime Analysis CS > 18ms > PS > 97ms > PE > 63ms > CE
+181ms â•‘Runtime (40986 bytes) successfully initialized in 97ms (v0.3.000.20180224) (178ms)
+182ms â•‘â•”Execution stage started
+196ms â•‘â•‘Comparison (enum) off is (string) off = true (1ms)
+197ms â•‘â•‘Condition #2 evaluated true (10ms)
+203ms â•‘â•‘Comparison (dynamic) open is (string) open = true (1ms)
+204ms â•‘â•‘Condition #13 evaluated true (6ms)
+205ms â•‘â•‘Condition group #null evaluated true (state did not change) (18ms)
+211ms â•‘â•‘Comparison (enum) inactive changes_to (string) active = false (0ms)
+213ms ║║Cancelling condition #7’s schedules…
+214ms â•‘â•‘Condition #7 evaluated false (6ms)
+215ms ║║Cancelling condition #4’s schedules…
+216ms â•‘â•‘Condition group #4 evaluated false (state changed) (9ms)
+223ms â•‘â•‘Comparison (enum) inactive stays (string) inactive = true (1ms)
+225ms â•‘â•‘Adding a timed trigger schedule for condition 12
+227ms ║║Cancelling condition #12’s schedules…
+228ms â•‘â•‘Condition #12 evaluated false (11ms)
+229ms ║║Cancelling condition #5’s schedules…
+230ms â•‘â•‘Condition group #5 evaluated false (state changed) (13ms)
+233ms ║╚Execution stage complete. (51ms)
+235ms â•‘Setting up scheduled job for Sat, Mar 17 2018 @ 7:02:55 PM EDT (in 69.991s)
+248ms ╚Event processed successfully (248ms)
3/17/2018, 7:01:37 PM +106ms
+1ms â•”Received event [Main Bath Motion Sensor].motion = active with a delay of 75ms
+149ms â•‘RunTime Analysis CS > 14ms > PS > 66ms > PE > 69ms > CE
+152ms â•‘Runtime (40991 bytes) successfully initialized in 66ms (v0.3.000.20180224) (149ms)
+153ms â•‘â•”Execution stage started
+167ms â•‘â•‘Comparison (enum) off is (string) off = true (2ms)
+169ms â•‘â•‘Condition #2 evaluated true (11ms)
+174ms â•‘â•‘Comparison (dynamic) open is (string) open = true (2ms)
+175ms â•‘â•‘Condition #13 evaluated true (6ms)
+176ms â•‘â•‘Condition group #null evaluated true (state did not change) (19ms)
+183ms â•‘â•‘Comparison (enum) active changes_to (string) active = true (1ms)
+184ms ║║Cancelling condition #7’s schedules…
+185ms â•‘â•‘Condition #7 evaluated true (6ms)
+186ms ║║Cancelling condition #4’s schedules…
+187ms â•‘â•‘Condition group #4 evaluated true (state changed) (8ms)
+197ms â•‘â•‘Comparison (enum) off is (string) off = true (2ms)
+198ms â•‘â•‘Condition #15 evaluated true (9ms)
+199ms â•‘â•‘Condition group #6 evaluated true (state did not change) (10ms)
+200ms ║║Cancelling statement #6’s schedules…
+218ms â•‘â•‘Executed physical command [Main Bath Light].on() (1
6ms)
+219ms â•‘â•‘Executed [Main Bath Light].on (17ms)
+222ms ║╚Execution stage complete. (70ms)
+223ms ╚Event processed successfully (223ms)