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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: flowercare_exporter-0.3.1.tar.gz
  • Upload date:
  • Size: 9.2 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.3.1.tar.gz
Algorithm Hash digest
SHA256 a34742fe7383701ed8525500625ad0775cf59b540858cc81eaff6a35019143ea
MD5 145c692ffbe2fa79fa76c79bea09d4e3
BLAKE2b-256 7fdb1834c0fce10a4454e4b1f4cdac7fafcc55c889f8b489b3470d222d28a283

See more details on using hashes here.

Provenance

The following attestation bundles were made for flowercare_exporter-0.3.1.tar.gz:

Publisher: python-package.yml on juergenhoetzel/flowercare_exporter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for flowercare_exporter-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9977a531e0450c46f49f10ffe5ec69ae4bac445bf0d0b4dbc69d2eb50751f2b8
MD5 5904556397aac6a8f2a56e6737390866
BLAKE2b-256 7616d20c54e0e841d03205fced26d2fe7c6c6d0bef071c8513a279e88359ed93

See more details on using hashes here.

Provenance

The following attestation bundles were made for flowercare_exporter-0.3.1-py2.py3-none-any.whl:

Publisher: python-package.yml on juergenhoetzel/flowercare_exporter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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