{"id":22863851,"url":"https://github.com/nilsding/hue_exporter","last_synced_at":"2025-09-01T04:41:31.490Z","repository":{"id":67628572,"uuid":"135210183","full_name":"nilsding/hue_exporter","owner":"nilsding","description":"💡 A basic Prometheus exporter for metrics from a Philips Hue system","archived":false,"fork":false,"pushed_at":"2022-12-14T21:17:35.000Z","size":52,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T03:17:40.016Z","etag":null,"topics":["hue-exporter","philips-hue","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nilsding.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-05-28T21:18:30.000Z","updated_at":"2024-10-25T16:04:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"5938812b-2040-43a2-ad24-b50f83579fbf","html_url":"https://github.com/nilsding/hue_exporter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/nilsding/hue_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsding%2Fhue_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsding%2Fhue_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsding%2Fhue_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsding%2Fhue_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nilsding","download_url":"https://codeload.github.com/nilsding/hue_exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsding%2Fhue_exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273075788,"owners_count":25041253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hue-exporter","philips-hue","prometheus-exporter"],"created_at":"2024-12-13T11:17:41.289Z","updated_at":"2025-09-01T04:41:31.428Z","avatar_url":"https://github.com/nilsding.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hue\\_exporter\n\nThis is a simple Prometheus exporter for various metrics from a Philips Hue\nsystem.\n\nRight now it only exports metrics collected from sensor devices and lights.\n\nThis app does obviously not belong to Philips Lighting.\n\n## Installation\n\nBuild requirements:\n- Rust\n\nBuild it:\n\n```\ncargo build --release\n```\n\n## Usage\n\nAfter building, just run it:\n\n```\n./target/release/hue_exporter\n```\n\nWhen starting `hue_exporter` without a `HUE_TOKEN` set, it will try to\nauthenticate with the Hue bridge in your network.  After that is done you can\nexport the received token using the `HUE_TOKEN` environment variable and start\n`hue_exporter` as a [daemon using e.g. systemd][systemd_doc].\n\n### Configuration\n\nConfiguration is done via the following environment variables:\n\n- `HUE_TOKEN`: set this to the token received from authorizing with the Hue\n  bridge.  If unset the authorisation flow will start.\n- `HUE_BRIDGE_URL`: set this to the URL of the Hue bridge.\n  Default value: `http://hue-bridge.local`\n- `BIND_ADDR`: set this to the address+port to bind to.\n  Default value: `127.0.0.1:9369`\n\n### Adding it to Prometheus\n\nAdd the following lines to the Prometheus configuration:\n\n```yaml\nscrape_configs:\n  # [...] other configs may be here\n  \n  - job_name: 'hue_exporter'\n\n    scrape_interval: 1s\n    scrape_timeout: 1s\n\n    static_configs:\n      - targets: ['localhost:9369']\n```\n\n### Available metrics\n\nTo see the metrics exported by `hue_exporter`, just open your favourite web\nbrowser and point it to `http://localhost:9369/metrics` (or wherever your\n`hue_exporter` application is running).\n\n## Development\n\nTODO: Write development instructions here\n\n## Contributing\n\n1. Fork it ( https://github.com/nilsding/hue_exporter/fork )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n\n## Contributors\n\n- [nilsding](https://github.com/nilsding) Georg Gadinger - creator, maintainer\n\n[systemd_doc]: ./doc/systemd/README.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilsding%2Fhue_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnilsding%2Fhue_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilsding%2Fhue_exporter/lists"}