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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: flowercare_exporter-0.1.9.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.9.tar.gz
Algorithm Hash digest
SHA256 e2bd2d54bfc5dca0e6269786f65835385130fa83e013dbea508bc55a842885fe
MD5 02995a8e9c60df701ac0513892b1dad3
BLAKE2b-256 7e30270e7221eb623858c2158356bdc43a88bc2c716cb51c74d9f2dcbcad8d3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flowercare_exporter-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d0dd66dbdbc990648e203cb04a44d7e05562e566404dafdaef60d15f4270c23e
MD5 6ac2093c6787a03d9df8a9e3636ca689
BLAKE2b-256 dafe8b0529726c0fa0bd0665a9957629e6d3bd2c721f5cd972aafedc26ef7aa0

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