Reset timer if door is opened again

Hey all,

I have an outlet that turns on via a RM - Rule when a door is opened. Another Rule that sees the outlet as being turned on, waits 5 mins then turn the outlet off.

My issue is, the timer is not reset if the door is open sometime later before the 5 mins is up

What is a better way to set this up to allow the timer to be rest when the door is open and only shut off the outlet when a full 5 mins has passed?

Maybe a WebCore Piston is a better way to go, anyone have a sample Piston?
Edit: Here is what I gen'd up, thought?
image
Thanks in advance
Rick

that Cancel is the "trick".

It "invalidates" the entire FALSE action if TRUE occurs before the timer.

Or this fractionally more complex example, because it tests 3 motion sensors...

scap

Cancel doesn't show UNTIL you enter a number and press TAB (or click outside the field.)

Thanks csteele

I'll play with it tonight

:slight_smile:
Rick

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.