{"id":17617880,"url":"https://github.com/skwair/huectl","last_synced_at":"2025-04-30T18:21:27.237Z","repository":{"id":138633860,"uuid":"262576325","full_name":"skwair/huectl","owner":"skwair","description":"💡 huectl is a simple CLI tool to manage Philips Hue installations","archived":false,"fork":false,"pushed_at":"2020-05-09T23:25:04.000Z","size":21,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T18:43:55.704Z","etag":null,"topics":["cli","go","hue-lights","philips-hue"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skwair.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2020-05-09T13:25:01.000Z","updated_at":"2023-10-03T09:36:05.000Z","dependencies_parsed_at":"2023-05-26T21:15:44.730Z","dependency_job_id":null,"html_url":"https://github.com/skwair/huectl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skwair%2Fhuectl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skwair%2Fhuectl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skwair%2Fhuectl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skwair%2Fhuectl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skwair","download_url":"https://codeload.github.com/skwair/huectl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251758240,"owners_count":21639003,"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","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":["cli","go","hue-lights","philips-hue"],"created_at":"2024-10-22T19:16:41.725Z","updated_at":"2025-04-30T18:21:27.210Z","avatar_url":"https://github.com/skwair.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `huectl`\n\n`huectl` is a simple CLI tool to manage a [Philips Hue](https://meethue.com) installation. Once connected to a Hue bridge, it can control lights from a terminal.\n\n# Installation\n\n## With Go Installed\n\nAssuming `$GOPATH/bin` is already on your path, you can run:\n\n```\ngo get github.com/skwair/huectl\n```\n\n## Binary Releases\n\nBinary releases are available [here](https://github.com/skwair/huectl/releases) for Linux, MacOS and Windows. Download the one matching your system and move it somewhere in your system path.\n\n# Connecting to a Hue Bridge\n\n`huectl` can automatically register a new user on a bridge for you using the `init` command. All you need to do is press the Link Button on the Bridge when asked. This command only needs to be run once.\n\n```\n$\u003e huectl init\nSearching for a Hue bridge on your local network...\nFound Hue bridge \"Philips hue\" at: 192.168.1.50\nRegistering new user, please press the button on the bridge then press `Enter`\n\nSaving configuration to \"/home/user/.config/huectl/config.yml\"\n```\n\nAll requests to the bridge are using HTTPS, but Philips only provides self-signed certificates, so for additionnal security and when making the first connecting to the bridge, `huectl` will save its certificate fingerprint and will check that is has not changed when running other commands.\n\n# CLI Examples\n\nTo list available lights:\n\n```\n$\u003e huectl lights list\nID    NAME          ON       REACHABLE    BRIGHTNESS (%)    HUE\n1     Kitchen       false    true         83                7170\n2     Leaving room  false    true         35                7170\n3     Bedroom       false    true         100               8418\n```\n\nTo set the state of a light:\n\n```\n$\u003e huectl light set 1 --on --bri=75\n```\n\nTo simply toggle a light:\n\n```\n$\u003e huectl light toggle 1\n```\n\n# License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/skwair/huectl/blob/master/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskwair%2Fhuectl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskwair%2Fhuectl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskwair%2Fhuectl/lists"}