print line cleanup 1

This commit is contained in:
matt committed 2026-10-13 04:10:29 -07:00
1 parent 0e58f6b73a
commit 91640964cd
2 files changed
+2 -8

No files matched your search

+1 -8
View File
@@ -2,19 +2,12 @@
## Summary
This is an API for monitoring Temperature and Humidity data for Xiaomii LYWSD03MMC BLE sensors. The app will scan for any of these devices by looking for the Bluetooth MAC octet and then filtering by model. Once it has a list of MACs, it will then attempt to read the Temp/Humidity data for each MAC and record it. This data can be interacted with through an API. The app has a Redis publishing function for use with websockets. The comment field for sensors can be configured using the appropriate variable in the `config.py` as well.
This is an API for monitoring Temperature and Humidity data for Xiaomii LYWSD03MMC BLE sensors. The app will scan for any of these devices by looking for the Bluetooth MAC octet and then filtering by model. Once it has a list of MACs, it will then attempt to read the Temp/Humidity data for each MAC and record it. This data can be interacted with through an API. The app has a Redis publishing function for use with websockets. The comment field for sensors can be configured using the appropriate variable in the `config.py` as well. This app uses *Pickle* to persist Sensor object data between App launches. This doesn't keep history like Telegraf would, but it will allow for faster API startup.
Some product info can be found here at my Knowledgebase:
https://kb.matt-cloud.com/books/07-saved-articles/page/xiaomii-temperaturehumidity-sensor
## Future Plans
Aside from a REST API, there are a few more features which need to be added to this app.
* Data persistence across app launches
* I will do this with the **Pickle** package
## API Details
There are several primary API endpoints with varying levels of details.