/homebridge-yeelight-ble

Homebridge plugin to control Yeelight bluetooth lamps

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Homebridge Yeelight BLE

This is a Homebridge plugin to control Yeelight bluetooth lamps Candela and Bedside Lamp (although tested only with Candela).

Setup

This plugin requires installation of a python library yeelightble that handles all the bluetooth communication with devices and listens for control commands and publishes lamp state through WebSocket.

It's supposed to run on RPI and was not tested on other platforms.

Native Solution

I've also tried implementing this library natively in javascript using node-ble library, but from my testing, it's just not stable enough, seems that node-ble or dbus-next it relies on are buggy and leaking on event listeners, if someone's willing to debug and make it stable PRs are welcome!