Take stats from LYWSD03MMC devices and push them to an MQTT instance
Find a file
2026-03-23 09:30:43 +00:00
Dockerfile Update build config 2026-02-10 18:03:15 +00:00
go.mod Update build config 2026-02-10 18:03:15 +00:00
go.sum Refactor 2026-02-09 10:17:29 +00:00
main.go Reduce logging 2026-03-23 09:30:43 +00:00
README.md Reduce logging 2026-03-23 09:30:43 +00:00

Docker build

docker buildx build . -t xiaomi2mqtt

Simple execution with Docker

docker run --name xiaomi2mqtt --restart unless-stopped -d --device /dev/bus/usb -v /var/run/dbus:/var/run/dbus -e MQTT_HOST=mqtt://mqtt.example.com:1883 git.wallace.sh/scott/xiaomi2mqtt:latest