Discover Packages
github.com/Palats/hueprom
command
module
Version:
v0.0.0-...-0d22836
Opens a new window with list of versions in this module.
Published: Jul 9, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
Philips Hue Prometheus exporter
This exports a handful of metrics about Philips Hue lights and sensors for Prometheus. It also generates sort of events for button press.
Metrics are polled regularly from the discovered Hue bridge. Metrics:
hue_sensor_lastupdated: Milliseconds since epoch.
hue_sensor_buttonevent: Set with the state of the buttonevent field of Hue API.
hue_sensor_on: 0/1
hue_sensor_reachable: 0/1, is the sensor visible from the Bridge network.
hue_button_click: Increased every time an event with Button&2 is seen.
hue_light_on: 0/1. based on the light state.
hue_light_reachable: 0/1, Is the light visible from the Bridge network.
All metrics are labelled by the name or uniqueid of each lights/sensors, as provided by the bridge.
Expand ▾
Collapse ▴
Documentation
¶
Implements a Philips Hue to Prometheus gateway
Source Files
¶
Click to show internal directories.
Click to hide internal directories.