Best way to turn off a switch after a period of time?

Cupertino, October 3, 2023

So I have a camera with "motion sensor" lights, which Homekit manages... pretty well I think - I can set an automation for "when motion sensor detects motion", it turns the light on, and there's an option to "turn off after x minutes". However, what if I want a normal light to turn off after x minutes when turned on manually? For example, I go into the bedroom and turn on the light (homekit). I want it to stop after 10 minutes. There seems to be no "right" way to do this. I can make an automation for "when the light turns on", and "convert to shortcut", and add "wait 600 seconds" before turning the light back on - but I feel like the "wait" command is designed for short periods and may not be reliable with longer wait times. You have to manually increment it by seconds. And if I want to turn off the light after 2 hours? Manually increase the wait command to 7,200 seconds? Does anyone have a better option for this?

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 (Amazon.com, Or Endless.com, MYHABIT.com, SmallParts.com, Or AmazonWireless.com).

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