Light based on motion sensor and dummy switches (depending on the time of day)

Cupertino, October 15, 2020

I've seen several posts about automating motion sensor-based lights and transforming them when there's no motion for X, but I'm trying to take it a step further.

My test setup is a 1-light smart hallway motion sensor. And I have 3 fictitious switches, one for different parts of the day: day, evening and night. They turn on and off in different parts of the day so that there is only 1 on.

This makes it a central control used by every room with motion sensors, offers great flexibility by being able to automate fictitious switches based on sunset, sunrise and bedtime. It also reduced automation by 3 'when the motion detector' in 1.

When motion is detected, it is checked which of the dummy switches are activated and then decided which scene to use.
If the day switch is activated: set the day scene
Them: nothing
And then again for each dummy switch.

The problem is that when motion is detected, sometimes it does not turn on the light and other times the wrong scene.
I restarted everything, but it never works perfectly.
Am I doing something wrong or is there an error in this idea?

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