Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 788 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 788 Bytes

miflora-influxdb

query Xiaomi Mi Flora plant monitors, extract hourly historical data and push into influxdb. Requires python3

Bluetooth access is influenced by miflora module

Rename config-example.py to config.py. It's OK to have an empty device array intially.

Scan for plant monitors (make sure to turn them one by one and mark them with a marker once identified):

$ sudo python3 scan.py

Poll for data:

$ ./poll-insert.py
$ ./poll-insert.py device1 device2 device3

Dependencies: InfluxDB, bluepy

$ sudo apt install python3-pip
$ sudo pip3 install influxdb
$ sudo pip3 install bluepy

more