cellcortex / homebridge-yeelighter

Homebridge plugin for Yeelights - special focus on supporting features of ceiling lights
MIT License
98 stars 19 forks source link

The background light on Yeelight Screen Bar Pro does not turn on #119

Open NazarLialka opened 2 years ago

NazarLialka commented 2 years ago

Hi there, all After setting up the plugin and connecting my lamp to Homekit, I encountered the problem that all functions work fine without any complaints. However, if I turn off the background light by the Homekit and try to turn it back on, nothing happens.

To turn on it I need to change the brightness in Homekit and then the light turns on.

When its happing I don't see any errors in Homebridge logs

bimusiek commented 1 year ago

I have the same problem. The workaround I found is to enable in Yeelight options to turn on ambilight automatically when main light is on. But that is not ideal solution if you only want to have ambilight on.

bimusiek commented 1 year ago

The workaround is still not working, I have to manually turn on the light in Yeelgiht app. Logs from homebridge:


[06/12/2022, 13:02:04] [Yeelighter] [0x000000001c0081cf#background] set brightness [ 81 ]
[06/12/2022, 13:02:04] [Yeelighter] [0x000000001c0081cf] sendCommand(698, bg_set_bright, [81,"sudden",0]) []
[06/12/2022, 13:02:04] [Yeelighter] [0x000000001c0081cf] sent command 698: bg_set_bright [ [ 81, 'sudden', 0 ] ]
[06/12/2022, 13:02:04] [Yeelighter] [0x000000001c0081cf] transaction 697 took 0.015s [ { id: 697, result: [ 'ok' ] } ]
[06/12/2022, 13:02:04] [Yeelighter] [0x000000001c0081cf] received 697: OK []
[06/12/2022, 13:02:04] [Yeelighter] [0x000000001c0081cf] transaction 698 took 0.023s [ { id: 698, result: [ 'ok' ] } ]
[06/12/2022, 13:02:04] [Yeelighter] [0x000000001c0081cf] received 698: OK []```