Export Miflora Bluetooth LE sensor to Graphite and Prometheus
Project description
Xiaomi MiFlora JSON/Prometheus/Graphite Exporter
Export targets
Tested Devices
- Xiaomi Mi Flora plant sensor
Example Usage
Push to Graphite
flowercare_exporter -l DEBUG -t 120 \
-a "C4:7C:8D:6C:10:9B=Alyssum" \
-a "C4:7C:8D:6C:10:C2=Acacia" \
-a "C4:7C:8D:6C:10:4D=Alcea" \
-g "https://graphite-prod-13-prod-us-east-0.grafana.net/graphite/metrics" metrics
Push to Prometheus pushgateway
flowercare_exporter -l DEBUG -t 120 \
-a "C4:7C:8D:6C:10:9B=Alyssum" \
-a "C4:7C:8D:6C:10:C2=Acacia" \
-a "C4:7C:8D:6C:10:4D=Alcea" \
-p http://herakles:9091/metrics/job/some_job metrics
Blink LED to identify device
flowercare_exporter -l DEBUG -t 120 \
-a "C4:7C:8D:6C:10:9B=Alyssum" \
-a "C4:7C:8D:6C:10:C2=Acacia" \
-a "C4:7C:8D:6C:10:4D=Alcea" \
blink
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flowercare_exporter-0.2.1.tar.gz.
File metadata
- Download URL: flowercare_exporter-0.2.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edd9c3c38ec15ce6474a039955b84e8084541ee03180b7aec3cd92e1176715d9
|
|
| MD5 |
b5dd9505d38228f19277467c05f62a6b
|
|
| BLAKE2b-256 |
8ca6ecb95211e8f0e0249204a14348554e0bfdde27ab1b84d49a6e8f3d29d2bb
|
File details
Details for the file flowercare_exporter-0.2.1-py2.py3-none-any.whl.
File metadata
- Download URL: flowercare_exporter-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c72324a66aafbc9f6b5f928287b8f41882e398fd942d512715715c4628ec0f80
|
|
| MD5 |
eb80a2c22c8cd46d9736f5115ed6a976
|
|
| BLAKE2b-256 |
effae550e70f02aaaf704c1292d5cb271e9db5ff550ae6ec2772b48a618e247b
|