{"id":13610313,"url":"https://github.com/lkarbownik/pywalhue","last_synced_at":"2025-04-12T22:33:19.209Z","repository":{"id":76710512,"uuid":"117572152","full_name":"lkarbownik/pywalhue","owner":"lkarbownik","description":"A simple wrapper over pywal to integrate it with Philips Hue light system","archived":false,"fork":false,"pushed_at":"2018-01-15T17:00:29.000Z","size":1,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-07T16:43:00.805Z","etag":null,"topics":["hue","hue-bridge","hue-lights","pywal"],"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/lkarbownik.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}},"created_at":"2018-01-15T17:00:14.000Z","updated_at":"2023-11-27T11:41:11.000Z","dependencies_parsed_at":"2023-03-22T05:50:23.238Z","dependency_job_id":null,"html_url":"https://github.com/lkarbownik/pywalhue","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/lkarbownik%2Fpywalhue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lkarbownik%2Fpywalhue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lkarbownik%2Fpywalhue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lkarbownik%2Fpywalhue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lkarbownik","download_url":"https://codeload.github.com/lkarbownik/pywalhue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248641750,"owners_count":21138261,"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-bridge","hue-lights","pywal"],"created_at":"2024-08-01T19:01:43.507Z","updated_at":"2025-04-12T22:33:18.961Z","avatar_url":"https://github.com/lkarbownik.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# pywalhue\nA simple wrapper over pywal to integrate it with Philips Hue light system\n\n## Getting Started\n### How to use\nSimply run `pywalhue -i ~/file/path/to/image` to generate a new colorscheme using pywal and trigger pywal-hue-hook to send an API request to Hue Bridge API.\n\nYou can use pywal-hue-hook directly:  \nRunning `pywal-hue-hook.py` will load the background color from last theme generated by pywal and send it to Hue Bridge API.  \nYou can also test the hook by providing a specific color in the hex format as the first argument, e.g. `pywal-hue-hook.py FF00FF`\n\n### Configuration\nTo configure the script you need to provide 2 variables in pywal-hue-hook.py file:\n- `BRIDGE_IP` - a string specifying IP address of the bridge, e.g. `'192.168.1.30'`\n- `LIGHTS` - a string or a list of strings specifying name(s) of light(s) to be used\n- Optionally, you can uncomment selected line responsible for calculating brightness level based on RGB input - by default lights will be set to 100% brightness \n\nAlso, note that before first usage of the script you may need to press a bridge button to allow for registration of new API user.\n\n### Requirements\n- `python3`\n- `pywal`\n- `phue`\n- `rgbxy`\n\nTo install required modules cd into repo directory and run the following comand:\n\n`pip3 install -r requirements.py`\n\n### Installation\nCopy `pywalhue` and `pywal-hue-hook.py` to a directory listed in $PATH environment variable, e.g. `/usr/local/bin`\n\n### Demo\n[Youtube](https://www.youtube.com/watch?v=VlOteZxqEnw)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flkarbownik%2Fpywalhue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flkarbownik%2Fpywalhue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flkarbownik%2Fpywalhue/lists"}