Which wait

With all the waitsfor sitcky, event, condition

Which should i use
Door closes
Wait till all motion sensors down stairs are inactive for 5min
Then go into night mode

Edge case all sensors may be all ready inactive

You could do:

Door closed and No motion for 5 minutes as the trigger

Go to night mode as the action

Ill have to give it a go, in old RM there was a wait for condition i think and that seemed to work but since moving it over i tried wait for expression but noticed it was failing if downstairs was inactive already when the door closed

I think that it would have failed due to the lack of an event to trigger the wait. I could be mistaken, but as far as I know, the wait doesnā€™t check if the motion was already stopped for the requested amount of time. I guess it could check the events for the device to see if it was inactive for the duration, but not aware that it doesā€¦

I cant seem to to a AND on trigger on an OR

Thatā€™s rightā€¦ Only or for trigger. That could complicate thingsā€¦

You will probably need to remove the wait in the trigger and go back to do a wait in the conditionā€¦ I feel like Iā€™m missing something thoughā€¦

Ive got it to wait for event and stays instead of wait for expression.

See how it runs tonight

1 Like

Two choices:

Wait for Event All Inactive and stays that way for 5 minutes.

or

Wait for Condition All Inactive and duration of 5 minutes.

Both will do the same thing.

2 Likes

Why doesn't this rule work?

Platform 2.3.1.130, C7, Chrome, Win10

In fact this stripped down rule won't work either.

They don't have triggers?

1 Like

The first ā€œWait for ā€¦ā€ on each rules can be removed, with the same expression / event added to the ā€œSelect Trigger Eventsā€ area. Once they are moved over there, the related events will trigger the rule. The following events will then be able to run since the rule was triggered.

Alternatively, you could setup a specific time (or something else) for the rule to trigger and keep the rest in there as-is.