I have Ecosmart bulbs from Home Depot and can confirm that the light/brightness transition is an issue for them too. It seems to only change brightness automatically and not color. I have them set up with ct.
Edit: It appears I cannot change the color consistently even manually in the UI because they are set up with a ZHA group. Not a CL issue.
Edit2: Resolved my issue. Turns out the issue is with groups in ZHA. Addressing each bulb in the CL configuration independently fixed my issues with CL.
i have 4 bulbs which are yeelight and work perfectly, both brightness and color are adjusted.
on the other hand Philips Zhirui Smart bulbs donāt move, neither on brightness nor on color.
any clue? iāve tried ct, rgb and xy but none work with the philips bulbs
thanks so much, nicola
First: do you see any errors related to Circadian Lighting in Developer Tools --> Logs?
It might be that you max_- and min_colortemps are out of range. Not sure whether this will result in an error-message.
2nd, for testing, change transition to 0 or 1 (second). Then you will be able to see a change happen when you turn on a light. With 60 the change is too gradual to notice.
Does it only come up once after a reboot or consistently when CL tried to adjust? This can occur if CL tried to check the disable_entity after a reboot but that entity hasnāt been initialized yet. I need to update CL to properly handle this but have not had the time yet.
I have several different switch.circadian_lighting configured and the error occurs whenever I turn those on to activate CL for that group of lights.
Of the six CL switches I have configured, the problem seems limited to two. Those two are unique in my setup in that they both:
Have a max_brightness configured.
Have a disable_entity that is a binary_sensor rather than an input_boolean.
Actually, now that I think about it, this raises another question. What is the purpose of the disable_entity if I can turn the CL switch on/off itself. Looking through my automations, sometimes I use the disable_entity and sometimes I also turn_off the CL switch. What the difference programmatically? should I use one or both?
disable_entity is a carryover from the Circadian Daylight SmartApp for SmartThings that I took over development of a few years ago. I included it in the HA integration for ease of configuration but I personally use automations to turn the CL switches on/off and Iām probably going to remove that functionality altogether. Itās extra work to maintain with no real benefit and I think it can be a lot more confusing because itās not obvious that CL is disabled like the on/off of the switch. In fact, if I donāt have the time or knowledge to create a whole new domain for CL I might switch them from being switches to input selects so there would be a dropdown with something like on/off/sleep and remove the sleep_entity as well.
The lights work nicely with e.g. Flux and can be controlled via the UI.
Got it to work, when I set up the lights with lights_xy
However, this seems not to be right, since all configurations of the lights are using mired? Also flux works with mired setup.
For some unknown reason, after turning on debug log and switching back to lights_ct, it started working as expected.
Itās a warning that can be ignored for now, itās due to a change in 0.110 and thereās already a PR open with a fix. Iāve been too busy to get everything tested and merged but Iām hoping to get to it this weekend!
I have a feature request for this integration:
Instead of using sunrise / sunset use a local illuminance sensor. Where I live (The Netherlands) we have daylight saving and also Sunrise is sometimes (at time of writing this) very early. Way earlier then actual light comes into my house due to tries, etc. Yes I can set an offset, but since it changes throughout the year Iād have to re-set that offset. I would love to be able to use a illuminance sensor outside (which I already have) and set the min / max values for the integration to act upon that sensors value. Iāve looked at the code for this integration, but Iām just not enough of a programmer to get it to work.
Thanks for writing, sharing and supporting
It seems though that my temp settings are ignored (Iām probably doing something wrong ).
I have a cold to warm white light from Osram white supports 2700K - 6500K. Regardless of my config definition, the colour seems to be changing from very cold to somewhat warmer which matches the default settings of 2500K - 5500K.
I would like to have the both min and max temps a bit higher.
I just installed two zigbee RGBW led strips with Gledopto controllers.
The color is way off (way too blue) when used with Circadian Lighting. Everything is fine when set directly via HA or via Hue Essentials. I use them with deCONZ, if that makes a difference?
my Innr Bulbs are fine.
When I compare the state of the Innr bulbs with that of the RGBW strips, the values are identical.
Interestingly enough, the Innr bulbs and the RGBW strips Match each other nicely if I use flux instead of this component.
also tried stigvis fork and configured them as RGB lights, no difference unfortunately. any idea?
I could potentially add this but it would be a fair amount of work because the current implementation is time-based and calculated based on knowing a start/end time of the cycle. To be honest, what I really want is to find or develop a formula that calculates color temperature based solely on the angle of the sun above the horizon so that the min/max can change throughout the year.
Is there an trick to stop circadian switch if a service of an entity is run. I test Hue bulb, and iād like if service: hue.hue_activate_scene is run stop circadian switch.
And If is it possible through the Hue app too.
Maybe a way to compare the CT set in sensor of circadian light and the new CT (or RGB) state of the bulb when it change ?