So I have searched the forums and can’t find an example close enough to this to make it work for my needs… And I do not yet have a motion detector or a smart light switch with dimming capability (for which I have found good Apps to do what I would like).
I have three Cree connected lightbulbs screwed into a single fixture in our stairwell and I would like to write a SmartApp that makes them dim between the hours of x and y (say 7PM to 6AM). I tried setting this up with two apps; The first which turns on the bulb at 7 with a dim level of 10% and the second that turns the bulb on again with a dim level of 99%, however I quickly realized that this requires the bulb to physically have power to be updated in this state.
I do not know how good the response time would be for a SmartApp that looks for the bulb to be turned on, evaluates the time of day, and then sets the intensity of the bulb(s) accordingly…
What is the best way to go about this?