Fix hue colors/brightness after they are powered on

I’m trying to figure out how to reset hue colors once they were powered on if they were not on when that scene was first activated.

For example if I have a low-light scene late at night and turn the lights off. Even though I reset the scene over-night, if the lights weren’t powered up, they won’t receive the new parameters.

Same goes for starting up lights along with colors. Presently I am just having a script turn on the scene a second time after 2 seconds.

I assume you utilise the hue hub and not a direct zigbee connection from home assistant? If so, could you switch from scenes defined in the hub to scenes (or groups) defined within home assistant? Using homeassistant scenes would allow you to switch scenes based on whatever logic you wish to use or if you turn on a group, you can pass additional parameters to define brightness, kelvin, transition etc.

The problem is if I cut power to the lights and I want a different setting next time they turn on.

  1. For example let’s say I have them purple one evening. Then I flick the wall switch when I go to bed. The next morning I want them bright white when I flick the switch on.

  2. Or, if I only have some lights in my family room on one evening and I dim them all to a nice low light. If I turn additional lights on via the wall switch I want them to also adjust to the dim scene.

I anticipate there at least being a delay till they adjust to the correct color, but I’m thinking there must be some way to automate this.

Ahh yes that will be a problem. Have you considered moving to a light switch that triggers an event so you can do this in a ‘soft’ way rather than cutting the power? A fairly cheap and simple option is the Hue Dimmer, but you could use also zigbee or z-wave replacement light switch/module as long as it allows you to send an event but not kill the power?