Do X after motion sensor goes inactive


#1

Pretty simple. When motion sensor goes inactive, turn lights off after 2 minutes

The motion sensor in a Xiaomi Aquara but I can’t get them to turn off


#2

Hi @ghesp
Change the second part to
IF motion sensors motion STAYS INACTIVE for 2 minutes
DIMMER 1 DIMMER 2
Turn OFF

you don’t need WAIT in this case. Stays inactive will act as WAIT…
and plus if someone comes back to the room and moves around, lights will remain ON
2 minutes timer will continue when no motion in the room…


#3

Triggers with nested WAIT commands are always trouble. Here’s an explanation why and some suggestions how to work around it:


#4

Oh i didnt even know using triggers and wait was not recommended… thanks for the info… i stay away from them as much as possible but it was just a gut feeling:))))