Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Hue_exporter | 56 | 4 years ago | 5 | March 24, 2019 | 1 | other | Go | |||
A Prometheus exporter for Philips Hue (written in Go) | ||||||||||
Kafka Hue | 20 | 7 years ago | 1 | apache-2.0 | Mako | |||||
Hue application for Apache Kafka | ||||||||||
Hue_exporter | 6 | 9 months ago | bsd-2-clause | Rust | ||||||
💡 A basic Prometheus exporter for metrics from a Philips Hue system | ||||||||||
Hue | 4 | 15 hours ago | mit | Go | ||||||
Managing my home Hue installation | ||||||||||
Anomalydetection | 2 | 4 years ago | MATLAB | |||||||
Deconz Exporter | 2 | 5 days ago | mit | Go | ||||||
A Prometheus exporter for deCONZ | ||||||||||
Ambari Hue Service | 2 | 5 years ago | apache-2.0 | Python | ||||||
Ambari2.7 stack service for installing HUE 4.3.0 on HDP 3.0 cluster | ||||||||||
Witchonstephendrive.com | 2 | a year ago | mit | Go | ||||||
A home automation project to control my Halloween decorations | ||||||||||
Huemon | 2 | 24 days ago | 2 | mpl-2.0 | Python | |||||
Zabbix template with LLD support for Philips Hue network |
This is a simple Prometheus exporter for various metrics from a Philips Hue system.
Right now it only exports metrics collected from sensor devices and lights.
This app does obviously not belong to Philips Lighting.
Build requirements:
Build it:
cargo build --release
After building, just run it:
./target/release/hue_exporter
When starting hue_exporter
without a HUE_TOKEN
set, it will try to
authenticate with the Hue bridge in your network. After that is done you can
export the received token using the HUE_TOKEN
environment variable and start
hue_exporter
as a daemon using e.g. systemd.
Configuration is done via the following environment variables:
HUE_TOKEN
: set this to the token received from authorizing with the Hue
bridge. If unset the authorisation flow will start.HUE_BRIDGE_URL
: set this to the URL of the Hue bridge.
Default value: http://hue-bridge.local
BIND_ADDR
: set this to the address+port to bind to.
Default value: 127.0.0.1:9369
Add the following lines to the Prometheus configuration:
scrape_configs:
# [...] other configs may be here
- job_name: 'hue_exporter'
scrape_interval: 1s
scrape_timeout: 1s
static_configs:
- targets: ['localhost:9369']
To see the metrics exported by hue_exporter
, just open your favourite web
browser and point it to http://localhost:9369/metrics
(or wherever your
hue_exporter
application is running).
TODO: Write development instructions here