Hi all Yeelight bedside lamp users with a RPi 3 running homebridge,
I just updated homebridge-yeelight plugin to support Yeelight bedside lamp, you can update your plugin and have a try. The BLE discovery takes a bit longer than WiFi device (current scan interval is 16s), you may need to have more patience. Once connected successfully, you can enjoy the instant controlling.
Following is the procedure you need to complete:
sudo apt-get install libbluetooth-dev
sudo npm install -g noble
sudo apt-get install libcap2-bin
Run following command:
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
update homebridge-yeelight to latest version and restart homebridge service.
When you connect your bedside lamp for 1st time, remember to press the Mode button after your see the breathing effect. This is to authorize your Pi to access bedside lamp's services.
NOTE: BLE device can only be supported by Raspberry Pi 3. If you want to make Yeelight bedside lamp work with other hardware running homebridge, please try to install a bluetooth dongle and make sure it's working properly.