Skip to content

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

License

Notifications You must be signed in to change notification settings

sergem155/miflora-influxdb

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published