Sensor to turn lights off if no motion after x minutes

Hi. Brand new to Hubitat and intention longer term is of course to move all my disparate devices onto the system. I have setup a Philips motion detector and light in one room. Motion detector works fine turning light on between sunrise and sunset but Iā€™d like it to turn the light off after x minutes of no activity. Can someone help me understand how this is achieved?

There are many ways to do this, but the one I would recommend is using Basic Rules. You could setup the following rule:

1 Like


Thanks so much for the quick response.

Truly am new to all this but this seems simple and logical - lots to learn but enjoying the journey!


Happy to help! The hub is very powerful - there can be many ways to do the same thing. The key is to find what works for you. :smiley:

This is excellent advice - HE has many tools and trying them out to find the level of power/complexity you need (which will vary by person and by desired automations) is part of the learning/fun.

Also helps, when you're trying to do something, to search in this forum for examples or community apps that may do what you want to do easier than trying to create something in one of the HE apps on your own. Recent example - user was looking for a way to turn on lights when he was away so his house looked occupied using Rule Machine. Turns out there is a community built Vacation Lighting app that does this available.

1 Like

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