This commit is contained in:
DasMoorhuhn 2024-05-30 17:43:45 +02:00
parent 42248456d8
commit 2b9bacf0a4
2 changed files with 14 additions and 2 deletions

View File

@ -5,9 +5,12 @@ Python gateway for the [custom firmware](https://github.com/atc1441/ATC_MiThermo
![](.media/41N1IH9jwoL._AC_SL1024_.jpg) ![](.media/41N1IH9jwoL._AC_SL1024_.jpg)
**Features:** **Features:**
- [WIP] Can run on Raspberry Pi (3, 4, zero w, pico) or any other Linux driven hardware which has BLE and WiFi support - [WIP] Can run on Raspberry Pi (3, 4, zero w) or any other Linux driven hardware which has BLE and WiFi support
- [WIP] Storing temperature, humidity and battery state as json in a text file - [WIP] Storing temperature, humidity and battery state as json in a text file
- [WIP] Make in runnable in a docker container (because only cool people are using docker) - [WIP] Implement a loop for fetching the data every x minute
- [DONE] Make in runnable in a docker container (because only cool people are using docker)
- [TODO] Make docker image smaller. I mean shiiit 1GB D: should be possible to be under 500MB
- [TODO] Make a microPython version for using the raspberry pico w or any other microcontroller with BLE and WiFi support
- [TODO] Collect data from multiple devices/gateways - [TODO] Collect data from multiple devices/gateways
- [TODO] Command line tool for managing the devices - [TODO] Command line tool for managing the devices
- [TODO] Analyzing tool for making statistics - [TODO] Analyzing tool for making statistics

9
python/src/loop.py Normal file
View File

@ -0,0 +1,9 @@
from time import sleep
from discovery import start_discovery
def start_loop(interval=60):
while True:
start_discovery()
sleep(interval)