Skip to content

juergenhoetzel/flowercare_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Xiaomi MiFlora JSON/Prometheus/Graphite Exporter

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages