{"id":34549025,"url":"https://github.com/sshane/hue-sync","last_synced_at":"2026-05-30T19:31:10.743Z","repository":{"id":328712324,"uuid":"1115892358","full_name":"sshane/hue-sync","owner":"sshane","description":"Sync your Hue lights to music with the Entertainment API","archived":false,"fork":false,"pushed_at":"2025-12-15T21:13:42.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-17T10:19:23.917Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sshane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-13T19:08:49.000Z","updated_at":"2025-12-15T21:13:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sshane/hue-sync","commit_stats":null,"previous_names":["sshane/hue-sync"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sshane/hue-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshane%2Fhue-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshane%2Fhue-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshane%2Fhue-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshane%2Fhue-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshane","download_url":"https://codeload.github.com/sshane/hue-sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshane%2Fhue-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33707328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"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":[],"created_at":"2025-12-24T07:40:46.389Z","updated_at":"2026-05-30T19:31:10.737Z","avatar_url":"https://github.com/sshane.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## hue_sync\n\nStreams Philips Hue **Entertainment** frames driven by audio analysis (system-audio or file playback).\n\n### Security / publishing note\nDo **NOT** commit Hue credentials to git.\n- Local credentials live in `hue_creds.json` (ignored by `.gitignore`)\n- If you use `pykit_auth_test.py`, it may write `data/auth.json` (also ignored)\n\nIf you accidentally committed secrets in the past, rotate them in the Hue app / re-auth and rewrite history.\n\n### Install\n\n```bash\npip install numpy sounddevice soundfile requests python-mbedtls pygame\n```\n\n### Authenticate (creates local `hue_creds.json`)\nPress the physical Hue bridge button, then run:\n\n```bash\npython3 ./hue_sync.py --bridge-ip \u003cBRIDGE_IP\u003e --auth\n```\n\n### Run (system audio)\n\n```bash\npython3 ./hue_sync.py \\\n  --bridge-ip \u003cBRIDGE_IP\u003e \\\n  --ent-id \u003cENTERTAINMENT_CONFIG_UUID\u003e \\\n  --system-audio \\\n  --input-device \u003cDEVICE_INDEX_OR_NAME\u003e \\\n  --preview\n```\n\nTips:\n- Use `python3 ./hue_sync.py --list-devices` to find a monitor/loopback input.\n- If the preview/lights look early/late vs what you hear, use `--tune-delay` or `--audio-delay-ms`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshane%2Fhue-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshane%2Fhue-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshane%2Fhue-sync/lists"}