Skip to main content

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

Metadata

Release files for flowercare-exporter 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flowercare-exporter 0.3.1
File Size Uploaded
flowercare_exporter-0.3.1.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flowercare-exporter 0.3.1
File Interpreter ABI Platform
flowercare_exporter-0.3.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 16.5 kB

Release files / flowercare_exporter-0.3.1.tar.gz

Download URL flowercare_exporter-0.3.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a34742fe7383701ed8525500625ad0775cf59b540858cc81eaff6a35019143ea
BLAKE2b-256 checksum
How to use checksums
7fdb1834c0fce10a4454e4b1f4cdac7fafcc55c889f8b489b3470d222d28a283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2024.

Transparency log

Release files / flowercare_exporter-0.3.1-py2.py3-none-any.whl

Download URL flowercare_exporter-0.3.1-py2.py3-none-any.whl
Size 7.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9977a531e0450c46f49f10ffe5ec69ae4bac445bf0d0b4dbc69d2eb50751f2b8
BLAKE2b-256 checksum
How to use checksums
7616d20c54e0e841d03205fced26d2fe7c6c6d0bef071c8513a279e88359ed93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2024.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page