18 lines
774 B
Markdown
18 lines
774 B
Markdown
This is currently an API for monitoring Temperature and Humidity data for Xiaomii BLE sensors.
|
|
|
|
Some product info can be found here at my Knowledgebase:
|
|
https://kb.matt-cloud.com/books/07-saved-articles/page/xiaomii-temperaturehumidity-sensor
|
|
|
|
```
|
|
ble-scanner/
|
|
├─ app.py # Flask + Scheduler + API
|
|
├─ ble.py # BLE helper functions to read temp+humidity data
|
|
├─ scanner.py # Async BLE scan + cache logic
|
|
├─ config.py # Shared constants (prefix, interval, etc.)
|
|
├─ requirements.txt
|
|
├─ run.sh # Run API from shell
|
|
├─ scanner.py # Handles scanning for Mii sensors, other helper functions
|
|
├─ sensors.py # Object classifier
|
|
└─ README.md
|
|
```
|