As a newbie to SmartThings I’ve had a lot of luck with the system so far, and any difficulties I’ve had have generally been setting up SmartApps incorrectly. However, what I’m trying to accomplish now I haven’t found a way and my forum searches don’t seem to return a solution for the specific goal. Am I trying to use more precedence constraints than what SmartThings can currently handle? Here’s what I’m trying to do:
When the master bedroom door closes AND the time is between 9:30 PM and 4:00 AM -> change the mode to Night.
When the master bedroom door opens AND the time is after 5:45 AM AND the mode is Night -> change the mode to Morning.
Now I can easily change the mode when the door opens/closes through the routines, that’s pretty straight forward. Even having the mode restriction is simple, but I can’t seem to find a way to add the time constraints.
A solution that I have come up with is to use a larger number of modes in place of time constraints, the flow would be something like:
At 9:45 PM automatically change mode to Evening (which does nothing but represent a time frame).
When the master bedroom door closes AND the mode is Evening -> change mode to Night.
At 5:45 AM automatically change mode to Early Morning (again only representing a time frame).
When the master bedroom door opens AND the mode is Early Morning -> change mode to Morning.
This way if my girlfriend or myself has to get up in the middle of the night it won’t trigger all my Morning lights, and instead can trigger a nighttime lighting scenario that won’t blind us.
What I’m trying to accomplish is to have modes control lighting conditions (that’s about all I have set up right now), instead of relying on multiple Smart Lighting solutions which I’m concerned will eventually start to interfere with one another. Any thoughts or recommendations would be greatly appreciated.