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.8.tar.gz (9.6 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.8-py2.py3-none-any.whl (7.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: flowercare_exporter-0.1.8.tar.gz
  • Upload date:
  • Size: 9.6 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.8.tar.gz
Algorithm Hash digest
SHA256 2bb5841bf2f899def04606ae73bf5f73600d8eb7acac15b38bdd7c921c5ad529
MD5 0472fe5b3b5f8de5b5be9ce2bb4d699f
BLAKE2b-256 9706d52a4b8440fcb76d4fa649d25c4cd7e5d184989cf9edc9d64e73ea5441d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flowercare_exporter-0.1.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 40c8b1b60342fb1285a5085f9a88fd5c324283879c0d83206832480e2ad5c0cf
MD5 0de5b897619f03a949e31b41e7d83c33
BLAKE2b-256 0ab9b6e29d83e824da25c229e5364a6289e2a37649a729c9454892215610ec12

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