{"id":20968551,"url":"https://github.com/niklasberglund/huesh","last_synced_at":"2025-10-26T12:07:45.693Z","repository":{"id":137883511,"uuid":"157933551","full_name":"niklasberglund/huesh","owner":"niklasberglund","description":"Shell script for controlling Hue lights","archived":false,"fork":false,"pushed_at":"2018-11-21T21:26:16.000Z","size":945,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T02:49:13.329Z","etag":null,"topics":["hue","hue-api","hue-bridge","hue-lights","shell","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/niklasberglund.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":"2018-11-16T23:44:47.000Z","updated_at":"2018-11-21T21:26:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce9479d0-4249-4479-8f53-bb9bd27b7ca9","html_url":"https://github.com/niklasberglund/huesh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasberglund%2Fhuesh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasberglund%2Fhuesh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasberglund%2Fhuesh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasberglund%2Fhuesh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niklasberglund","download_url":"https://codeload.github.com/niklasberglund/huesh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243365586,"owners_count":20279212,"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":["hue","hue-api","hue-bridge","hue-lights","shell","shell-script"],"created_at":"2024-11-19T03:14:00.067Z","updated_at":"2025-10-26T12:07:40.641Z","avatar_url":"https://github.com/niklasberglund.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# huesh\n\nA shell script for controlling Hue lights.\n\n## Usage\nFirst you need to push button on the Hue bridge, then run `huesh.sh pair` and you're good to go. Credentials are stored on disk so you only need to run `pair` once.\n\nFind out id:s of your lights by running `huesh.sh list-lights` and then for example change brightness by running `huesh.sh set-brightness 1 100` where 1 is the id of the light and 100 is the desired brightness.\n\n![Screenshot](screenshot.png \"Usage example screenshot\")\n\n## Help text\n```\nUsage: huesh.sh \u003ccommand\u003e [\u003cargs\u003e]\n\nTool for controlling Hue lights.\n\nEXAMPLES:\n    huesh.sh pair # Pair with Hue bridge\n    huesh.sh list-lights # List all lights in your Hue system\n    huesh.sh set-brightness 1 100 # Set brightness level for light with id 1\n\nCOMMANDS:\n    help             Prints these usage instructions.\n    pair             Pair with a Hue bridge on the same network. Note that you must push the button on Hue bridge before pairing.\n    list-lights      List all Lights in your Hue system.\n    list-scenes      List all scenes in your Hue system.\n    set-hsl          Set hue, saturation and brightness for a specific light.\n    set-hue          Set hue for a specific light.\n    set-saturation   Set saturation for a specific light.\n    set-brightness   Set brightness for a specific light.\n```\n\n## TODO\n* Improve help - individual help text per command (e.g. `huesh.sh help set-hsl`)\n* Improve help - print command's expected arguments when supplying invalid arguments.\n* Make more portable by removing Python dependency etc\n\nPull requests are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklasberglund%2Fhuesh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniklasberglund%2Fhuesh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklasberglund%2Fhuesh/lists"}