This is a simple tool, written in Go, that passively listens for Bluetooth LE broadcasts from a Xiaomi Mijia Temperature/Humidity sensor and transmits them to an MQTT broker.
It is configured via the gomijia.ini
file, which specifies the details of the MQTT broker (hostname, username, password) as well as a mapping of Bluetooth MAC addresses to locations.
This project is licensed under the GPL 3+ license, see COPYING for details.