Hue Lights Exporter

A Prometheus exporter for the Philips Hue (Bridge) Lights, written in Go. For science.
Alternatives To Hue Lights Exporter
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Ha Bridge1,415
a year ago137apache-2.0Java
Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp interface. This is a compact impl to run on small format computers. This is impl started from this project
Phue1,41331989 months ago5January 27, 201975otherPython
A Python library for the Philips Hue system
a month ago58otherPython
Main diyHue software repo
Node Hue Api1,13630491a year ago92April 10, 202316apache-2.0TypeScript
Node.js Library for interacting with the Philips Hue Bridge and Lights
Homebridge Hue864
a month ago371July 10, 20222apache-2.0JavaScript
Homebridge plugin for Hue and/or deCONZ
Amazon Echo Ha Bridge610
4 years ago57apache-2.0Java
emulates philips hue api to other home automation gateways
8 months ago4otherC++
Philips Hue emulator that is able to control multiple types of lights
Huejay36540183 years ago72May 14, 201915mitJavaScript
Philips Hue client for Node.js
Hue Alfred Workflow356
6 months ago5Python
An Alfred workflow for controlling Philips Hue lights.
4 years ago39mitC++
Emulate a Philips Hue bridge running on an ESP8266 using the Arduino IDE.
Alternatives To Hue Lights Exporter
Select To Compare

Alternative Project Comparisons



A Prometheus exporter for the Philips Hue Bridge Lights, written in Go.


From binaries

hue-lights-exporter requires Go 1.11+.

go get


$ hue-lights-exporter -help
Usage of ./hue-lights-exporter:
  -bridge-url string
        url of the Hue bridge device (default "http://philips-hue")
  -listen-address string
        set HTTP listen address (default ":9100")
  -metrics-path string
        set metrics path (default "/metrics")
  -username string
        set authorised API username


$ hue-lights-exporter -username VBYPKZXBqwcLCSdzj5yLW1gjK2fb9XCOSxQ1dP7B


Name Type Help
light_status gauge Status of light (on/off) [name, id, unique_id]
light_brightness gauge Brightness of light [name, id, unique_id]
light_hue gauge Hue of light [name, id, unique_id]
light_saturation gauge Saturation of light [name, id, unique_id]
light_reachable gauge Reachability of light [name, id, unique_id]
up gauge Was the last scrape successful?

Creating an authorised Hue Bridge API username (example)

Register with curl command:

$ curl -X POST -d '{"devicetype":"my app name#my_username"}' http://philips-hue/api
[{"error":{"type":101,"address":"","description":"link button not pressed"}}]

Then press hue bridge link button and run curl again:

$ curl -X POST -d '{"devicetype":"my app name#my_username"}' http://philips-hue/api

Username is: VBYPKZXBqwcLCSdzj5yLW1gjK2fb9XCOSxQ1dP7B


Bug reports and features are welcome!

Popular Bridge Projects
Popular Hue Projects
Popular Libraries Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Prometheus Exporter
Philips Hue
Hue Lights