Skip to content
A simple Xaiomi Bluetooth Temperature/Humidity sensor to MQTT bridge in Go
Branch: master
Clone or download
Latest commit 95ce816 May 15, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add a .gitignore to ignore build binary May 13, 2019
COPYING Initial commit May 1, 2019 Add basic May 15, 2019
go.mod Initial commit May 1, 2019
go.sum Initial commit May 1, 2019
main.go "go fmt" cleanups May 15, 2019


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.

Built With



This project is licensed under the GPL 3+ license, see COPYING for details.

You can’t perform that action at this time.