I’ve been struggling with this for months. I’m trying to construct a piston that will set Night mode when “things calm down”, ala the Good Night routine. Except CoRE doesn’t seem to easily create “monitoring” pistons. In short:
– Between 12a and 6a, if motion sensors are inactive for at least 5 minutes, the rear door is closed, and the bedroom light is off, set Night mode.
This never works; the motion sensors never start their timer. Switching any of the conditions to a “changes to” or “stays” won’t work, either; often all those conditions are already TRUE at midnight. Supposedly, when there’s no trigger, all the conditions become triggers, but I haven’t seen that to be the case.
There’s a second logic issue; I want this piston to re-enable Night mode if motion should stop at some point in the middle of the night (I’ve got a second piston that switches to Home mode if motion is detected; that works fine).
Any idea what I’m doing wrong?
(As a further test of my problem, I created a simple piston: if light is off, and time between 8a and 11a, turn light on. I created the piston while the light was off, and enabled it. Both conditions show as TRUE; the light never turns on… I assume because there’s no event to kick this off).