Hi everyone. I’m using ChrisB’s “Hallway Light at Night” pretty successfully. I’m trying to get it to do the following but I’m not able to get it to work…
Between 10pm and 6am, turn on lights at 20% if there is motion, off in 1 minute (this is the nightlight pathway mode).
Between 6:01am and 9:59pm, turn on lights at 100% if there is motion, off in 15 minutes (I’m using this so we don’t have to actually hit a switch while walking around the home during the day.
Here is the hiccup - the app only fires if the light switch is not already on. I need another addition so that the app will not turn on the lights if the dim setting is changed. For example, between 10pm and 6am, if the light turns on and then someone changes the dimmer from 20% to 50%, it should not turn off (or turn off in a longer period, like 1 hour). The presumption is that someone is in the room and wants the lighting at the new dimmed level. If someone is just passing through, they won’t change the dim level.
@Navat604 - I didn’t bump this again. @bravenel’s code that he posted is awesome, though. Works perfectly and is something people go “that’s cool” when they see it happen… Highly recommend little SmartApp