vvpossible / homebridge_yeelight

Yeelight plugin for homebridge
303 stars 59 forks source link

YeeLight's FW updated, cannot get maximal brightness #63

Open biogerm opened 6 years ago

biogerm commented 6 years ago

Hi,

YeeLight's FW was updated last week and I can't get to the maximal brightness anymore with home kit app. Anyone else seeing this issue?

BR An Qin

biogerm commented 6 years ago

seems only affect in color temperature mode. My guess is yeelight changed the way to interpret color as mentioned in FW update log. then it treats color temp mode message from home kit as color mode message.

iChUdY commented 6 years ago

Yes. This plugin send only HSB (Color) messages. Color temp is different CT messages.. need rewrite this plugin for work with Color Temperature.

happytobeunhinged commented 5 years ago

This has to be the most frustrating issue I have. Affects all lights in the house. Any homekit control means the brightness isn't in "sun mode". Work around is to set the brightness to 100% in yeelight app and save as default state then power cycle the light manually to get it bright.

iChUdY commented 5 years ago

@happytobeunhinged this is experimental support https://github.com/vieira/homebridge-yeelight-wifi/pull/25 but not works fine.. touch autor to finish.

vvpossible commented 5 years ago

Yeelight bulbs treat color temperature and color differently (under CT mode, Yeelight lamps will mix lots of WHITE to increase the brightness in order to make the device more usable), however, Homekit uses HSV to change color as well as CT. There is a color temperature characteristic defined in Homekit Spec, but it also explicitly specify that this characteristic can't co-exist with Hue/Saturation.
To fix this, Yeelight firmware needs to implement HSV to CT conversion, it's not an easy task.

iChUdY commented 5 years ago

@vvpossible no need to change yeelight fw. Homekit two way control. From Color, from Temperature. Viz. https://github.com/vieira/homebridge-yeelight-wifi/pull/25

This issue possible fix from homebridge plugin code.

J7mbo commented 5 years ago

25 was closed recently.