e2e9d45cd7ef614750630f171fb8e48557155b71
Yeelight to MQTT bridge
Works with Yeelight WiFi bulbs (color and monochrome). You need to edit you bulb IPs in main.py (not yet fixed).
You need to activate developer mode (http://forum.yeelight.com/t/trying-to-enable-developer-mode-with-yeelight-app-lamp-always-offline/137)
Bridge accept following MQTT set:
"home/light/main-color/status/set" -> on
will turn on light and translate devices state from gateway:
"home/light/main-color/status" on
"home/light/main-color/ct" 3500
"home/light/main-color/bright" 3
"home/light/main-color/rgb" 1247743
Config
Edit file config/config-sample.yaml and rename it to config/config.yaml
Docker-Compose
Sample docker-compose.yaml file for user:
yeelight:
image: "monster1025/yeelight-mqtt"
container_name: yeelight
volumes:
- "./config:/app/config"
restart: always
Known bugs:
- Lamp's alive status updated only at startup.
Languages
Python
100%