homebridge-yeelight-wifi icon indicating copy to clipboard operation
homebridge-yeelight-wifi copied to clipboard

Bulb 1S communication setup help

Open vskal opened this issue 3 years ago • 3 comments

Hello and thanks for the work on this plugin !

I have a "Yeelight smart LED bulb 1s" already connected to Homekit the easy way, by scanning the code in the manual.

I also installed this mode (with the optional configuration) trying to learn more with my homebridge located in a QNAP NAS container.

The lamp seems to communicate at start: [yeelight] Received advertisement from 602bbb. [yeelight] Device color4-602bbb supports brightness [yeelight] Device color4-602bbb supports color temperature [yeelight] Initialized device (192.168.1.XX:55443). [yeelight] Received advertisement from 602bbb.

but then I get: [yeelight] 192.168.1.XX closed. error? false. [yeelight] 0x0000000015602bbb: failed communication attempt 5 after 3200ms. [yeelight] 0x0000000015602bbb: failed to send cmd 1 after 5 retries.

Could a conflict be the reason for this behaviour? I mean having 2 instances of the same lamp appearing in homekit ? or/and Am I missing avahi and Node.js ? Are they installed automatically with the plugin or do I have to do it ?
How can I install them in a NAS container please? or/and Do I need to use a multicast value other than 0.0.0.0 like in your example ? I used my lamps ID in "defaultValue": { "aed78s":

I also have a couple of "Mi smart LED Bulb Essential" which are also from Xiaomi, is there a chance that the plugin will detect them?

Any advice would be appreciated because, as you can guess, I am quite confused.

Many thanks !

vskal avatar Jan 22 '21 22:01 vskal

Hi. I have the same problem but I am not using native HomeKit support (White brightness problem). Mostly working well, but time to time I have the same logs with connection error and communication attempts.

Alex-Mazikin avatar Jan 31 '21 21:01 Alex-Mazikin

I found out that if you power off the lamp and on again (from the switch) it resets and communication resumes.

vskal avatar Jan 31 '21 21:01 vskal

Don’t know how it works, but yesterday I tried many times to install and remove plugin, reset bulb, reboot homebridge. Now the plugin is stable even after homebridge reboot. I use a default configuration. I noticed that after changing the config, there are errors, so for now I've left everything as it is.

jackscorpse avatar Feb 07 '21 04:02 jackscorpse