Hey everyone, I’m trying to figure out how to properly configure motion detection in my smart home setup. Specifically, I want to set up a rule where a light turns on only during the day or evening, between 1 PM and 9 PM, but only if the illuminance drops below a certain threshold. Additionally, I don’t want the light to turn back on if I manually turn it off until the next day.
I’ve created a global variable to track the mode (day, evening, night) and an app that resets this variable when the mode changes to night. However, I’m not entirely sure if this setup is working correctly. Does anyone have any advice or suggestions on how to improve this configuration?
I’ve attached some screenshots of my current setup for reference. Any insights would be greatly appreciated!