1) Give a description of the problem
Currently when trying to use the ST light automation I can turn on the lights when motion is detected but when the lights turn off the camera thinks it is valid motion and instantly turns the lights back on throwing it into a loop.
2) What is the expected behavior?
Trying to create a piston to turn on the eve lights when the ring doorbell detects motion between sunset and sunrise for 5 minutes and then when the lights turn off it ignores the camera motion for 10 seconds before resuming motion detection.
3) What is happening/not happening?
Light loop
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
(4‎/‎20‎/‎2018‎ ‎10‎:‎26‎:‎40‎ ‎PM +175ms
+2ms
â•”Received event [Front Door - Ring Doorbell].motion = inactive with a delay of 81ms
+123ms
â•‘RunTime Analysis CS > 15ms > PS > 39ms > PE > 68ms > CE
+125ms
â•‘Runtime (37925 bytes) successfully initialized in 39ms (v0.3.104.20180323) (123ms)
+126ms
â•‘â•”Execution stage started
+137ms
â•‘â•‘Comparison (enum) inactive is (string) active = false (2ms)
+139ms
║║Cancelling condition #6’s schedules…
+140ms
â•‘â•‘Condition #6 evaluated false (8ms)
+141ms
║║Cancelling condition #1’s schedules…
+142ms
â•‘â•‘Condition group #1 evaluated false (state changed) (10ms)
+145ms
║╚Execution stage complete. (18ms)
+146ms
╚Event processed successfully (146ms)
‎4‎/‎20‎/‎2018‎ ‎10‎:‎26‎:‎10‎ ‎PM +574ms
+1ms
â•”Received event [Front Door - Ring Doorbell].motion = active with a delay of 56ms
+108ms
â•‘RunTime Analysis CS > 12ms > PS > 30ms > PE > 66ms > CE
+110ms
â•‘Runtime (37931 bytes) successfully initialized in 30ms (v0.3.104.20180323) (109ms)
+111ms
â•‘â•”Execution stage started
+122ms
â•‘â•‘Comparison (enum) active is (string) active = true (1ms)
+124ms
║║Cancelling condition #6’s schedules…
+125ms
â•‘â•‘Condition #6 evaluated true (7ms)
+155ms
║║Comparison (datetime) 1524281170701 is_between (datetime) 1524272100000 … (datetime) 1524223800000 = true (3ms)
+157ms
â•‘â•‘Condition #7 evaluated true (31ms)
+164ms
â•‘â•‘Comparison (boolean) true is (boolean) true = true (2ms)
+166ms
║║Cancelling condition #12’s schedules…
+167ms
â•‘â•‘Condition #12 evaluated true (8ms)
+168ms
║║Cancelling condition #1’s schedules…
+169ms
â•‘â•‘Condition group #1 evaluated true (state changed) (51ms)
+171ms
║║Cancelling statement #2’s schedules…
+192ms
â•‘â•‘Executed physical command [Eve Lights].on() (17ms)
+192ms
â•‘â•‘Executed [Eve Lights].on (18ms)
+196ms
â•‘â•‘Executed virtual command [Eve Lights].wait (0ms)
+198ms
â•‘â•‘Requesting a wake up for Fri, Apr 20 2018 @ 10:31:10 PM CDT (in 300.0s)
+203ms
║╚Execution stage complete. (92ms)
+205ms
â•‘Setting up scheduled job for Fri, Apr 20 2018 @ 10:31:10 PM CDT (in 299.994s)
+214ms
╚Event processed successfully (215ms))