Hey guys,
I’m currently wondering how to best proceed with this.
I have Home Assistant running (hass.io) and I use NodeRed for all my automation. I also have a bunch of Phillips Hue lights and physical switches (Hue Dimmer Switch, Hue Tab, Hue Motion Sensor)
I use my lights in multiple ways. Some of the lights are on a timer (via Nodered), some I mostly turn on/off via a physical Dimmer Switch (straight through hue, no HA involved there). I even have some lights turned on/off via a 3rd party Z-Wave motion sensor (via Nodered/HA). FInally, I sometimes use my HA UI to toggle some lights (I have a floorplan view of my lights)
What I would like to do, is for my lights to use the built in Hue scenes (eg Concentrate, Energize, Relax, Read) depending on the time of the day. For exmaple, I’d like my lights to be brighter in the morning and more orange-ish in the evening, etc…
This is fairly easy to do with the Hue app but will not be picked up by Home Assistant and the Scene needs to be reset otherwise, if you simple “toggle” the light in HA, it will use the last scene, which makes sense but is not what I want.
I also know I never managed to change the Scene on the Hue bulbs while they were toggled off, so have an automation in the middle of the night that changes from evening Scene to morning Scene is not really workable.
Now, I could probably add a whole bunch of logic in HA/Nodered to cover all my cases (toggles through UI, toggles through motion sensor, case for when the light is already on but it’s time to change scene, etc…) but this will result in a lot of brittle, duplicated logic, I’m afraid…
There is also the case where I simply use the Hue Dimmer Switch, for which HA will have no involvement, so I’d need to configure this in Hue too, I guess…
Has anyone come up with a clever solution to manage this particular problem?
I guess I’d love to be able to set some blanket rules, per light group that says that if the lights are ever on (regardless of how they got toggled), this is how the should be (Hue scene, or color + brightness)…
I would appreciate any comment, advice, thoughts…
Cheers,
Guillaume