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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: flowercare_exporter-0.2.0.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.2.0.tar.gz
Algorithm Hash digest
SHA256 10ba8181cc596123ab413216f66fa1b36e17d32b6fa52d132bcc1b628282d285
MD5 4e4a8666cd048ce363311ae13eec1a66
BLAKE2b-256 bf32e2b7c2644a5fde83622607129300e0572ff4bcf5af87767f9686189bbfce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flowercare_exporter-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8e44194c4e17dea82cc66baa033b597a7c0e0cddaa2d4a0f1f596ed442e999c7
MD5 260c1bde0270e0faf56ba84bc3e7e07d
BLAKE2b-256 06e0001462eaf6962e51d5568c43e3fc3dc08caade878c1ace29f0f4a656f925

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