All Projects → xperimental → flowercare-exporter

xperimental / flowercare-exporter

Licence: MIT license
Prometheus exporter for Xiaomi MiFlora / HHCC Flower Care devices.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to flowercare-exporter

Openmqttgateway
MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility, SMS & LORA.
Stars: ✭ 2,413 (+17135.71%)
Mutual labels:  home-automation, miflora
hass-pandora-cas
Home Assistant custom component for Pandora Car Alarm System
Stars: ✭ 15 (+7.14%)
Mutual labels:  home-automation
fauxmo-plugins
Plugins for Fauxmo (emulated Wemo devices for the Amazon Echo)
Stars: ✭ 13 (-7.14%)
Mutual labels:  home-automation
home-assistant-opentherm-thermostat
Home Assistant OpenTherm Thermostat
Stars: ✭ 26 (+85.71%)
Mutual labels:  home-automation
HomeApp
A little smart home app for Philips Hue and other devices
Stars: ✭ 54 (+285.71%)
Mutual labels:  home-automation
exportarr
AIO Prometheus Exporter for Sonarr, Radarr or Lidarr
Stars: ✭ 119 (+750%)
Mutual labels:  prometheus-exporter
planet-exporter
🚀 Determine server network dependencies along with required bandwidth
Stars: ✭ 17 (+21.43%)
Mutual labels:  prometheus-exporter
pycalima
Python interface for Pax Calima Fan via Bluetooth LE
Stars: ✭ 34 (+142.86%)
Mutual labels:  home-automation
kannel exporter
Kannel exporter for Prometheus
Stars: ✭ 14 (+0%)
Mutual labels:  prometheus-exporter
bitnami-docker-mongodb-exporter
Bitnami Docker Image for MongoDB Exporter
Stars: ✭ 22 (+57.14%)
Mutual labels:  prometheus-exporter
Home-Assistant-Config
🏠 My huizebruin Home Assistant configuration, Be sure to 🌟 this repository for updates! huizebruin
Stars: ✭ 29 (+107.14%)
Mutual labels:  home-automation
klf-200-api
This module provides a wrapper to the REST API of a KLF-200 interface. Supporting the new API with firmware version 0.2.0.0.71 is in progress.
Stars: ✭ 29 (+107.14%)
Mutual labels:  home-automation
infopanel
Show live data, animations, pictures, or anything on simple displays like RGB matrices
Stars: ✭ 29 (+107.14%)
Mutual labels:  home-automation
google fit hass
A Home assistant custom component to get your fitness information using Google Fitness API.
Stars: ✭ 23 (+64.29%)
Mutual labels:  home-automation
metrics
atomic measures + Prometheus exposition library
Stars: ✭ 22 (+57.14%)
Mutual labels:  prometheus-exporter
hifiberry
This is a custom component to allow control of HifiberryOS devices in Home Assistant using the audiocontrol2 REST API.
Stars: ✭ 26 (+85.71%)
Mutual labels:  home-automation
exporter-toolkit
Utility package to build exporters
Stars: ✭ 139 (+892.86%)
Mutual labels:  prometheus-exporter
Home-AssistantConfig---OLD
AtomicPapa's Amazing Home Assistant Config
Stars: ✭ 15 (+7.14%)
Mutual labels:  home-automation
prom-bitbucket-exporter
Prometheus Exporter for Bitbucket
Stars: ✭ 47 (+235.71%)
Mutual labels:  prometheus-exporter
DotMatrixDisplay
Display any messages to a LED Matrix Display
Stars: ✭ 19 (+35.71%)
Mutual labels:  home-automation

flowercare-exporter

A prometheus exporter which can read data from Xiaomi MiFlora / HHCC Flower Care devices using Bluetooth.

Installation

First clone the repository, then run the following command to get a binary for your current operating system / architecture. This assumes a working Go installation with modules support (Go >= 1.11.0):

git clone https://github.com/xperimental/flowercare-exporter.git
cd flowercare-exporter
go build .

Usage

$ flowercare-exporter -h
Usage of ./flowercare-exporter:
  -i, --adapter string            Bluetooth device to use for communication. (default "hci0")
  -a, --addr string               Address to listen on for connections. (default ":9294")
  -c, --cache-duration duration   Interval during which the results from the Bluetooth device are cached. (default 2m0s)
  -s, --sensor address            MAC-address of sensor to collect data from. Can be specified multiple times.

After starting the server will offer the metrics on the /metrics endpoint, which can be used as a target for prometheus.

The exporter uses an internal cache, so that each scrape of the exporter does not try to read data from the sensors to avoid unnecessary drain of the battery.

All sensors can optionally have a "name" assigned to them, so they are more easily identifiable in the metrics. This is possible by prefixing the MAC-address with name=, for example:

./flowercare-exporter -s tomatoes=AA:BB:CC:DD:EE:FF
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].