kevinmuise
-
Posts
65 -
Joined
-
Last visited
Reputation Activity
-
kevinmuise reacted to bdonohoe in Set light level with on button
I wrote a blog post about doing exactly that kind of thing a while back: http://www.c4cookbook.com/recipes/2015/9/20/setting-lower-light-levels-at-night
The gist of it, for your purposes, is you set the preset level to what you want, then any time the light itself turns on, you change the preset level to 100%. When it turns off, you reset it to 25% (or whatever). Those changes are tied to the light on/off events, so that it doesn't matter how the light is turned on. I then combine that with variables for different levels at different times of day and get lights that always turn on at an appropriate level and can always be turned up to 100% with a second tap.
-
kevinmuise reacted to bdonohoe in Set light level with on button
Thanks for your kind words, Kevin. My first name is Brendan. I've got a short list of articles I've been planning to write since I wrote that first one. Just need to find the time!
One small note I need to add to that article: when the schedule runs to change the light levels between day/night mode, I check to see if the light is already on. If it is, I don't change the level. That leaves it set so the next tap will go to 100%, but turning the light off will still reset it to the lower level. It's a little thing, but it makes the behavior work the same 100% of the time.