How do I get the lights to turn off with no motion for 5 minutes

Hey so i was wondering how would I have the lights turn off after no motion for 5 minutes AND the door has to be open for 5 minutes i try doing it with a wait for events but it justs gives you OR but i want AND like no motion for 5 minutes AND contact sensor open for 5 minutes

There are several ways you could do this, and it depends which Hubitat app you’re using to create the automation.

When asking for help with automatic logic, it’s helpful to specify which app you’re trying to use, and to include a screenshot of what you’ve done so far that isn’t working.

It sounds like you’re trying to create this automation logic in rule machine.

Indeed rule machine i hsve no progress yet because i have not fpund where to start with this

Still hard to say for sure without any screenshots, but it sounds like you’re trying to add multiple triggers to your rule.

Triggers are always an “OR” thing, as far as I know. Any trigger added to the rule will cause it to run.

If you want to impose multiple conditions on the actions of a rule, you’d need to include a required expression (which is in the trigger section of the rule configuration screen), or add your second wait condition to the rule’s actions.

Here’s an example that could accomplish what you’re trying to do. There are other ways as well.

Additionally, you’ll probably find the hub documentation pages on Rule Machine to be instructive, if you haven’t read them yet.

https://docs2.hubitat.com/apps/rule-machine

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