{"repo":"aexel90/hue_exporter","free":true,"listed":false,"github":"https://github.com/aexel90/hue_exporter","clone":"git clone https://github.com/aexel90/hue_exporter.git","description":"Philips Hue exporter for prometheus","language":"Go","stars":20,"topics":["prometheus","prometheus-exporter","golang","philips","philips-hue","philips-hue-api","philips-hue-bridge","philips-hue-lighting","philips-hue-lights","philips-hue-bulbs"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Philips Hue exporter for prometheus This exporter exports some variables from Philips Hue Bridge (https://www.philips-hue.com) to prometheus. Build go get github.com/aexel90/hue exporter/ cd $GOPATH/src/github.com/aexel90/hue exporter go install Execute How to create a user for your bridge is described here: https://developers.meethue.com/develop/get-started-2/ Usage: $GOPATH/bin/hue exporter -h Usage of ./hue exporter: -collect Collect all available metrics -collect-file string The JSON file where to store collect results -hue-url string The URL of the bridge -listen-address string The address to listen on for HTTP requests. (default \"127.0.0.1:9773\") -metrics-file string The JSON file with the metric definitions. (default \"hue metrics.json\") -test Test configured metrics -username string The username token having bridge access Docker cp .env.template .env vi .env docker-compose up -d --build Example execution Running within prometheus: $GOPATH/bin/hue exporter -hue url 192.168.xxx.xxx -username ZlEH24zabK2jTpJ... -metrics-file hue metrics.json # HELP hue bridge info Non-numeric data, value is always 1 # TYPE hue bridge info gauge hue bridge info{api version=\"...\",bridge id=\"...\",internetservice internet=\"...\",internetservice remoteaccess=\"...\",internetservice swupdate=\"...\",internetservice time=\"...\",ip address=\"...\",local time=\"...\",model id=\"...\",name=\"...\",sw update last change=\"...\",sw version=\"...\",zigbee channel=\"...\"} 1 ... # HELP hue light info Non-numeric data, val","default_branch":null,"files":null,"tree":[],"storefront":"/r/aexel90","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aexel90/hue_exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}