Skip to content
Poll Xiaomi Mijia temperature and humidity data via bluetooth to a Google Spreadsheet
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
btlewrap
mitemp_bt
.gitattributes
.gitignore
README.md
example.sh
mi2sheet.py
poll.sh
pollandwrite.sh

README.md

mi2sheet

Tutorial in german language: https://marc.tv/raspberry-pi-temperatur-bluetooth-google-spreadsheet/

Find mac address

sudo blescan

Poll for data

Edit poll.sh and add mac address.

./poll.sh

Poll and write to spreadsheet

Edit pollandwrite.sh and add spreadsheet name. Don't forget to add a client_secret.json

./pollandwrite.sh

Credits

Xiaomi MI Temperature and Humidity Sensor with BLE and LCD https://github.com/ratcashdev/mitemp

Bluetooth LowEnergy wrapper for different python backends. https://github.com/ChristianKuehnel/btlewrap

You can’t perform that action at this time.