#Turn On Lights Makes Lights White At Certain Time

1 messages · Page 1 of 1 (latest)

sly oxide
#

So i have an issue. I have my lights very dark and red when going to bed but the next day when i need to turn on my lights mid-day and i say "alexa turn on lights" it turns it on but its the very dark red. I want it to be bright white but im not sure how to automate this because in the morning i kinda like it dark red but not during mid-day,

somber trench
#

set an automation that if during a certain time of day your lights turn on, they automatically change to the desired color

sly oxide
#

Thanks

slate temple
#

The only problem with that method, IMO, is that there needs to be a trigger for each light. Not a big deal if there's only one or two lights but, if this is intended as a household-wide automation, it could turn into a bunch of work to keep up-to-date especially when adding new lights over time.

#

I started automating with Node-RED before HA's Automation UI was a thing. My lighting flow in NR is still used even though I've migrated the rest of the automations into HA. In the flow, when any light is turned on, it gets triggered. I made a function to "filter out" light groups and other lights such as screens that this automation should not apply to.

#

The event-state node (titled when a light is turned on) is set for Entities > regex ^light\.* and if state is on for 0 minutes. The What time of day filters the flow to the appropriate functions. During the day, the light is adjusted to a circadian temperature set to 100% brightness.