Skip to content

Yeelight Gateway to MQTT bridge (I use it for home assistant integration)

License

Notifications You must be signed in to change notification settings

monster1025/yeelight-mqtt

Repository files navigation

Yeelight to MQTT bridge

Works with Yeelight WiFi bulbs (color and monochrome).

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.

About

Yeelight Gateway to MQTT bridge (I use it for home assistant integration)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages