How to turn off the Lights after 10 o'clock without any movement being detected.

Cupertino, April 3, 2020

Hello guys,

I try to configure my smart bulbs (Philips hue) only with the motion of the sensor, so I don't need to order the siri command to turn it off or on scenes or lights.

The thing is, I'm now stuck trying to turn off the lights after X minutes without any movement being detected, but I want other conditions:

1.- The sensor detects the movement and sets the Scene "A"

2.- When no movement is detected in the next X min

3.- If the lights are identical to Scene "A" (which means I have not changed any light manually)

4.- Turn off the Lights

& # X200B;

If by any chance, the sensor detects movement again, I want the loop to start from point 1.- Restart any movement detected in the next "X MIN" stopwatch.

I read in another post that someone does:
1.- Automation called "ON": when the sensors detect the scene A set by the movement

2.- Automation called "OFF": when the sensors detect that there is no movement, check that the lights are the same as scene A and set "scene A" + option to deactivate at home after X min

I'm not sure this would work the way I want, especially since:
The sensor image detects movement for the first time. After 5 seconds, the sensor does not detect any movement, so the program already executes the 2.- automation. Now imagine that 1:30 minutes have already passed since "X minutes deactivate the work" and the sensor detects movement again, in the sense that we will execute the automation 1.-
Then, when the 1.- automation is completed, I think the program will return to the "OFF" automation where it was, with 1.30 min already gone.

So if X min is 2 minutes, for example, the lights will go off after 30 seconds, so I don't think the movement will restart the "stopwatch".

Does anyone know if what I'm saying is true or not?

& # X200B;

I also read that someone could change the time it takes for the sensor to change from "motion detected" to "no motion detected", setting this time to X minutes with an app that cost $ 17.
That would definitely solve my problem, but I have no way to change that and I don't want to pay that amount for that simple thing.
The sensors are philips hue sensors, but they do not use the philips application because the programming tools are limited.

I have tried to set specific rules for api philips, but it takes too long to study and implement, so I would appreciate any easy way to try to do what I mentioned. If it is easy to do in honeys, I can look it up, but I need the documentation to know exactly the JSON message I will send to the deck to change the time sensor, when it detects movement to change. I read that this time by default it is 5 seconds and it makes sense that while in the Homekit application, when I go to the sensor, I can see the Homekit application saying "motion detected" for several seconds.

Thank you in advance. Any other solution is more than welcome, as long as it works ^

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 . All rights reserved
United States