Good evening. I am trying to wright a rule that when my door opens (contact sensor) that light turned on and delays 10 min and light turns off. My problem is I would like it to not start the time over if the door is open in that 10 min. So if I go out the door open and close, then come back in the time will still be based on the first time open then reset.
Looking at your rule I'm trying to remember if predicates stops delays/waits etc.
If it does I'm not sure your rule would work.
Also would it move on to the set PB false.
If it does work as you've envisaged, I've never thought of doing it this way. Nice one!!!
Apart from the Private Booleans initial value being TRUE, it does work as expected.
So @202Dtodd you just need to swap the trues and falses.
1 Like
Thank you so much. This worked great. Another question in this rule is there a way to cancel the timer and keep the light on if another light is turned on in the 10 waiting time?
Thanks again, does what i was hoping for.
1 Like