apologies if this has been covered elsewhere, but i have a particular scenario that i'm trying to work out.
My dining room lights are on a motion sensor; a fairly standard rule in rule machine that evaluates the sensor status to turn on the lights, but then turns off with different intervals depending upon whether an associated switch is on or off.
My dining room adjoins the kitchen and it is open plan, so every time i walk past the dining room while in the kitchen the dining lights come on. The obvious solution is move the sensor, but I was wondering if there's a more elegant solution that evaluates the rule the first time, then a second time after a delay - thus:
- If motion is detected then turn on the dining lights at low level.
- If motion sensor is still active 5s after the motion was initially detected, then raise to full brightness. (the 5s appears to be the cycle time of my motion sensors)
that way they'd still come on dim as i walk past, but would not be bright until I entered the room.
My mind is blank as to how to achieve this, so thoughts welcomed as to whether it is possible! Thanks.