Change Mode After Motion Inactivity

I am in the process of migrating from ST to HE. I have added lots of my devices without any problem.

I started with Rule Machine and I am a little bit intimidated based on my first few tries of creating "simple" rules.

I am trying to set up my modes and I got stuck on changing the mode based on motion inactivity.

What I am trying to do is the following:

IF time is after 9 PM
IF living room motion sensor is inactive for 30 minutes
THEN change mode to Night

When there is motion the 30 minute timer should restart.

I am not sure how to structure my rule or how to implement the timer for the 30 minute inactivity.

Can someone point me in the right direction?

I would really appreciate the help to get things started.

Hi - welcome to Hubitat.

You could consider using a rule like the one pasted below. You'll have to change the second time (11:59 PM / 23:59) to something that fits your needs better, like 5 AM.

11%20PM

1 Like

Thank you, I will try it!

1 Like

Good luck. The first "IF" is a Simple Conditional.

1 Like