Circadian Lighting [Custom Component]

@claytonjn:

Any dimming switch or light entity in Home Assistant should work.

Does it include: Template Light ? Just tried and not successful…

B.T.W. Happy New Year

Yes it should. Have you looked at the logs?

@claytonjn Thks for the quick reply.

My bad, sorry false alarm. As I was copying and pasting the code here I noticed that I misspelled the name of the circadian switch that I was looking for. All good thanks again for the help.

i need to apply different color temperature scales to different lighting in my house (some need to less warmer than others). How can I configure that?
Currently I have this configuration:

circadian_lighting:
  min_colortemp: 2702     
  max_colortemp: 6250    

switch:
  - platform: circadian_lighting
    lights_ct:
      - light.family_room_lights
      - light.kitchen_lights

Now I need a separate color temperature config for these lights:

switch:
  - platform: circadian_lighting
    lights_ct:
      - light.office_room_lights
      - light.media_room_lights

Please suggest.

Use the alternative: Adaptive Lighting, that one provides what you are looking for.

or if you after more customizable solution, with own transition curves, you can check this one

Dear all, I have two different yeeligth bulbs (a YLDP06YL and a YLDP13YL). Each lamp has different mireds max values. The former has max_mireds: 370. The latter has max_mireds: 588.
So for the same value, calculated by components, I have different brightness.
There is a way to obtain the same luminosity for each bulb? Thanks

Yes, create 2 switches, one for each light, and then set the brightness range (min - max) for each light to your liking.

were you able to fix this? I’ve also got some shelly dimmers that I’m gonna use and it would be nice to be able to change the brightness of those lights regarding the circadian script.

not yet :frowning: my plans for moving to a new home have been postponed so i will be thinkering with them around june-july

I am having an issue getting this component to work. It is installed through hacs and appears to be working as the sensor is created but it is not impacting my lights. I notice there are no lights showing on my switch…

image

Here are the relevant entries from my configuration.yaml:

circadian_lighting:
...
switch: !include switches.yaml

And here is swtiches.yaml

  - platform: circadian_lighting
    name: Circadian CT
    lights_ct:
      - light.garage_strip_1
      - light.garage_strip_2
      - light.closet_lightstrip
      - light.basement_lights

You need to turn on the switch, it’s off as the default.
I remember this from my first time :slight_smile:

Also, I’d suggest using 💡 Adaptive Lighting Custom Component that automatically adapts the brightness and color of your lights based on the sun's temperature but stops when you manually make a change

That was it :man_facepalming:.

Why do you recommend that other component?

It’s Circadian Lighting v2, it’s a refactor / improvement implementing config_flow (no config via yaml-code needed), and hopefully will be a part of HA Core in the future…

The circadian plugin is not working in 2021.5, will this get updated, or should I move to the mentioned Circadian Lighting v2 ?

1 Like

where is circandian Lighting v2?

Adaptive Lighting. Apparently also broken by 2021.5.0

1 Like

Yupp, indeed +1 here

1 Like

+1 here as well…

1 Like

This will definitely be updated as soon as I have time, until then there are a couple pull requests on GitHub that have the changes needed to make it work and anyone can easy make those changes to their local files in their Home Assistant instance.

2 Likes