I would like to write a rule (maybe using Rule Machine?) that will alert me if my contact sensor (i.e., front door) is open for a certain period of time. I see where I can set the open contact as a condition. But how do I say only trigger the rule if that condition is true for some period of time?
Use a Rule, like this:
Conditions: contact open
Rule: contact open
Actions for True: Delay These Actions y minutes with Cancel, send Push message
Actions for False: [none]
What happens is that when the door opens, it starts a timer. If the door closes before the timer runs out, it cancels the timer. Eventually, if the door is open when the timer runs out, it sends a message.
Works great! Thanks.