Set exterior lights to 100% if motion is detected, then go back to 20% after XYZ minutes?

Cupertino, October 9, 2023

I already have an automation that sets my outdoor lights to 100% 15 minutes before sunset. I then have another group of automations that "fade" the exterior lights to 20% over a 45 minute period starting at sunset. It's really just a bunch of subsequent automations at 15 minute intervals. Anyway, I have Hue outdoor sensors and want to use their motion detection capabilities to trigger the lights to go up to 100% if motion is detected after the 45 minute time period after sunset mentioned above. And then, if no motion is detected after XYZ minutes, set the lights to 20% again. If this is possible, how? I can easily figure out setting the lights to 100% if the outdoor sensors detect motion. Do I then create another automation for ("stop detecting occupancy" as the Hue sensor values ​​show in HK, which is weird) and set the lights to 20%? How long is the time period for "stop detecting occupancy"? I like HK, but sometimes even the most basic automations are impossible without third party software. If so, any recommendations?

Best selling & Top trending HomeKit product in our shop at this moment

HomeKit.Blog is in no way affiliated with or endorsed by Apple Inc. or Apple related subsidiaries.

All images, videos and logos are the copyright of the respective rights holders, and this website does not claim ownership or copyright of the aforementioned.

All information about products mentioned on this site has been collected in good faith. However, the information relating to them, may not be 100% accurate, as we only rely on the information we are able to gather from the companies themselves or the resellers who stock these products, and therefore cannot be held responsible for any inaccuracies arising from the aforementioned sources, or any subsequent changes that are made that we have not been made aware of.

HomeKit.Blog Is A Participant In The Amazon Services LLC Associates Program, An Affiliate Advertising Program Designed To Provide A Means For Sites To Earn Advertising Fees By Advertising And Linking To Amazon Store (, Or,,, Or

The opinions expressed on this website by our contributors do not necessarily represent the views of the website owners. 

Copyright © 2022 HomeKit Blog
. All rights reserved
United States