Take stats from LYWSD03MMC devices and push them to an MQTT instance
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
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