claytonjn / hass-circadian_lighting

Circadian Lighting custom component for Home Assistant
Apache License 2.0
779 stars 87 forks source link

Trouble with Xiaomi Philips LED Ceiling Lamp #81

Open vadss opened 4 years ago

vadss commented 4 years ago

I have philips.light.ceiling and philips.light.zyceiling, using this integration https://www.home-assistant.io/integrations/light.xiaomi_miio/ Circadian doesn't work with this lamps until i defined max and min colortemp. If i leave only max_colortemp, then only colortemp adjuctment works.

circadian_lighting:   
    max_colortemp: 5700
    min_colortemp: 2700 

Xiaomi Yeelight works fine without this config changes.

claytonjn commented 4 years ago

What are the usable CT ranges of those devices? I'm guessing the default max is just outside of their range...

vadss commented 4 years ago

What are the usable CT ranges of those devices? I'm guessing the default max is just outside of their range...

Properties says min mireds 175 max mireds 370 for both lamps, i calculated it to kelvin and got 2700 and 5700 digits. I changed config to max_colortemp: 6500 min_colortemp: 1500 and it stopped working again. Changed back to 2700 and 5700 - works again. So i think you are right. Maybe instruction should mention some lamps SHOULD have min and max colortemp in config?