1) Give a description of the problem
This piston was working but stopped and cant figure out why. The motion sensor uses a BI camera via BI fusion. ST shows the motion status changing correctly but light switch is not turning on. I’ve tested with a simple ST automation and works, but need the inactive restriction in place.
2) What is the expected behaviour?
light switch turn on with motion, then off when motion is inactive for 15 minutes. will not trigger unless motion is inactive for 5 seconds; otherwise the IR lights on the camera triggers motion creating cycle loop
3) What is happening/not happening?
per the logs, the motion event is detected but the lights are not switching on
4) Post a Green Snapshot of the piston
5) Attach logs after turning logging level to Full
11/15/2020, 12:16:09 AM +464ms
+2ms ╔Received event [Driveway].motion = active with a delay of 86ms
+155ms ║RunTime Analysis CS > 18ms > PS > 89ms > PE > 47ms > CE
+157ms ║Runtime (39427 bytes) successfully initialized in 89ms (v0.3.110.20191009) (155ms)
+158ms ║╔Execution stage started
+197ms ║║Comparison (time) 969626 is_between (time) 1605482640000 … (time) 1605445020000 = true (9ms)
+198ms ║║Time restriction check passed
+199ms ║║Condition #1 evaluated true (37ms)
+416ms ║║Comparison (enum) active was (string) inactive = false (212ms)
+418ms ║║Condition #2 evaluated false (217ms)
+418ms ║║Condition group #3 evaluated false (state did not change) (257ms)
+426ms ║║Comparison (enum) active stays (string) inactive = false (1ms)
+427ms ║║Cancelling any timed trigger schedules for condition 8
+428ms ║║Cancelling statement #8’s schedules…
+429ms ║║Condition #8 evaluated false (8ms)
+430ms ║║Condition group #7 evaluated false (state did not change) (10ms)
+432ms ║╚Execution stage complete. (273ms)
+432ms ╚Event processed successfully (432ms)