Skip to content

Poll Xiaomi Mijia temperature/humidity sensors, send data to InfluxDB

Notifications You must be signed in to change notification settings

markdrayton/mijiamon

Repository files navigation

mijiamon

Listen for temperature/humidity advertisements from Xiaomi Mijia sensors (specifically, models LYWSD03MMC and LYWSDCGQ/01ZM), send data to InfluxDB.

Building/installing

$ cp config.toml.example config.toml
$ $EDITOR config.toml
$ go build
$ sudo ./mijiamon

Or with Docker:

$ cp config.toml.example config.toml
$ $EDITOR config.toml
$ docker build -t mijiamon .
$ docker run --network host --privileged --rm --name mijiamon mijiamon

(--privileged to access hci0 etc; could probably be improved)

About

Poll Xiaomi Mijia temperature/humidity sensors, send data to InfluxDB

Resources

Stars

Watchers

Forks

Packages

No packages published