Is there a way in rules engine to check if sensors are open after a specif time or in a specific mode? Webcore can do it I believe but was curious of thoughts here?
So specifically, when mode changes to ‘asleep’ alert me if garage is open.
In the IF_Condition, don’t forget to change the logic from “All” (AND) to “Any”(OR), so when either one of the conditions is met, it will run the activities in “Then” path.
That’s right. I misread @Tommy’s trigger. Thought he wants to get notification when garage door is opened during certain time or at certain mode. But if it is to check the door status when mode status is changed or at a specific time. Then the mode change and timer can be used as the triggers, so either one will trigger the rules.
Depends on what you are looking to do. That rule will trigger anytime either garage door opens and will only send a message if the mode is currently ‘Asleep’. If that’s the desired goal, then yes!
On the other hand, if you want to check if the garage door is currently open when the mode changes to asleep, then you may want to swap the Condition and Trigger.
I can see how there might be a use case for both situations:
If the garage door opens and I’m already in sleep mode, let me know
If I change to sleep mode and the garage door is already open, let me know
If you want to handle both scenarios, you can either create two rules or combine the logic for both into a single rule.