Skip to main content

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

flowercare_exporter-0.1.7.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowercare_exporter-0.1.7-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flowercare_exporter-0.1.7.tar.gz.

File metadata

  • Download URL: flowercare_exporter-0.1.7.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

Hashes for flowercare_exporter-0.1.7.tar.gz
Algorithm Hash digest
SHA256 55259b71e4637548923b2436bd0dd599aa97a32b9c5e02dcd93aa7a7e49413df
MD5 034519cd199bdeff23cfe7e7f4d7384e
BLAKE2b-256 041bc6ac44b10caf8f821f0a1d4035b692c07d7ce98a538d5830e87bfa915dbd

See more details on using hashes here.

File details

Details for the file flowercare_exporter-0.1.7-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flowercare_exporter-0.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 351db6f4340c7116a23bf3ce7a44e76a50c0a3e440b06e5be247bb50b45f33eb
MD5 a8deba1437343ba6022a6d096d744687
BLAKE2b-256 744a534dfa00d8bf6b53b4307a842599cfcb26be66014efbe6ad51bcb3fca406

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page