How exactly are you setting the lights back?
I’m setting them to a white that is supposed to be adjusted because it’s too bright. The binary sensor switches to off so it should work. I restarted the server and even then it wasn’t adjusted. If I turned the light off and back on it came online with the right temperature. (It reads the temperature from the sensor when it is switched on.) Looks like something is broken at the periodic adjustment.
Oh, I pushed out 1.0.9b while you were on vacation, did you install that or are you still on the 1.0.8b I originally linked to? If the binary sensor is switching back to off it should work on 1.0.9b.
I tried 1.0.8b. I’ll try 1.0.9b as soon as I have a chance.
How do I disable your component if a scene, which changes the temperature of a light, is activated?
You’d have to use an automation that turns off the CL switch when the scene.turn_on service event fires. Trigger Automation when Scene is triggered would be a good starting point.
1.0.9b works like a charm. Thanks for all the effort you put into this.
This is fantastic! I just added some hue bulbs to the circadian switch and it looks great.
Is there a way to reset lights to their previous status when switching the switch off? I use some of my lamps to display certain statuses (for example, turn color x when task 1 is supposed to be worked on).
I realized when the switch is turned on and I change one bulb’s color, it will turn to that color for a second or two, then switch back to circadian light (which is fine, as the switch for circadian light is turned on!). But when I then switch circadian light off, the bulb will stay at the last color it has been set to by circadian light. Let’s say I turn my bulb to purple; home-assistant will color it’s icon purple, even though circadian light turned it white after a second; when I then switch off circadian light, home-assistant will still display the bulb as purple, but it is still white.
Yes, this is possible, but wouldn’t it be easier to just turn the CL switch off before setting the status color of the light?
Bit late but I wanted to say thank you!
Every now and then the color doesn’t update when changing between the built in night mode and back. Otherwise great.
Hi! And first of all, this is a really neat component, thank you!
I’m having this issue where brightness control stops working, and all of the lights stay at 100% brightness. Color temp change works just fine. When I’ve reinstalled Hassio, reloaded the config, placed the same files in the custom components location, it has returned to working fine again… so I’m starting with ruling those out.
Any ideas – did I miss something obvious in this comment thread? Thanks a bunch!
Brightness should be at max_brightness
from sunrise to sunset, and will only change brightness level from sunset to sunrise. This is not the behavior you’re seeing?
Will the period of max_brightness shift with sunrise_offset and sunset_offset?
It should, yes
Sorry if this has been covered - I’ve searched and haven’t found an answer.
When disabling a switch for Circadian Lighting, what’s the easiest way to restore the previous brightness/color settings for the lights_ct which are included in that switch?
Example Workflow:
User sets lights to 80% brightness, color = green.
Turn on the switch at 10:00 PM, Circadian Lighting kicks in and sets the light accordingly.
Turn off the switch at 10:30 PM - I want light to go back to 80% brightness, color = green.
Hi all,
I have integrated the custom component, and it works really well.
The only issue I have is when I wake up in the morning.
I use the sleepcycle app on my phone that controls the Hue lights in my bedroom.
But as soon as sleepcycle turns the lights on, after about 2 seconds or so circadian lighting takes over and adjusts the brightness and color.
I would like to switch of the function of the component for a certain light or group, are there any suggestion on how to accomplish this.
Best regards
Jordy
I actually do the same thing. I handle it by having Home Assistant turn off the Circadian Lighting switch for my bedroom lights when I put HA into “night mode” - that way the alarm app on my phone can slowly brighten my lights without interference of CL. Then, when I dismiss my alarm and Home Assistant leaves “night mode” HA turns the Circadian Lighting switch on.
I have 4 different light groups.
Light.bedroom
Light.living
Light.kitchen
Light.toilet
Let’s say in the morning a want to have sleepcycle to regulate the light. But at the same time use circadian lighting to control the rest of the light groups. Then when I turn of my alarm, circadian lighting takes over controlling all 4 groups.
To night for example a wanted to watch a movie in the living area. So I needed to switch of circadian lighting for all groups. I would be awesome if a just could turn of the circadian light for the living and keep the other groups in affected.
I hope I’m a bit clearer in what I mean .
Regards Jordy
You can do that, you can define as many CL switches as you want, each one can have one or more lights. I have a different CL switch defined for each light fixture in my house.