{"id":25736895,"url":"https://github.com/phdenzel/licht","last_synced_at":"2026-04-30T06:37:02.480Z","repository":{"id":62576001,"uuid":"460464735","full_name":"phdenzel/licht","owner":"phdenzel","description":"A GTK-based systray applet and command-line tool for Philips Hue bridge","archived":false,"fork":false,"pushed_at":"2024-08-24T10:16:57.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T11:02:26.361Z","etag":null,"topics":["applet","command-line-tool","gtk","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phdenzel.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":"2022-02-17T14:15:17.000Z","updated_at":"2024-08-24T10:17:00.000Z","dependencies_parsed_at":"2025-02-26T06:31:35.678Z","dependency_job_id":"431a2ec3-ac2e-4064-b55d-4dc18b4dc869","html_url":"https://github.com/phdenzel/licht","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/phdenzel/licht","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Flicht","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Flicht/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Flicht/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Flicht/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phdenzel","download_url":"https://codeload.github.com/phdenzel/licht/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Flicht/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259804834,"owners_count":22913900,"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":["applet","command-line-tool","gtk","python"],"created_at":"2025-02-26T06:31:24.267Z","updated_at":"2026-04-30T06:37:02.439Z","avatar_url":"https://github.com/phdenzel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"`licht` is a command-line program (including a GTK applet) which\nfetches info from a local Philips Hue bridge in your network and\nenables you to apply basic operations, such as turning lights on/off,\ndimming, color-temperature changing, etc.\n\nI was looking for a lightweight program for Philips Hue, but\nunfortunately most don't run (stable) on Arch linux, so I decided to\nwrite it myself.\n\n\n# Prerequisites\n\nThis program mainly uses following python3 modules\n\n-   requests\n-   pyyaml\n-   pycairo\n-   PyGObject\n\nThe PyGObject dependencies additionally require some packages to\nbe installed on your distribution. For a detailed overview see\n[pygobject.readthedocs.io/en/latest/getting_started.html](https://pygobject.readthedocs.io/en/latest/getting_started.html).\n\nFor Arch linux use:\n\n    sudo pacman -S python cairo pkgconf gobject-introspection gtk3\n\n\n# Install\n\n    pip install licht\n\nFor installing from source, clone the repository, and run\n\n    cd licht\n    python setup.py install --user\n\nor create a virtual environment with\n\n    pipenv install\n    pipenv install -e .\n\nTo activate the virtual environment run\n\n    pipenv shell\n\nor start every command with `pipenv run`.\n\n\n# Usage\n\nTo start a daemon, run `licht --daemon`.\n\n    usage: licht [-h] [-d] [-a] [--lights] [--groups] [--scenes] [-l \u003clight-id\u003e] [-g \u003cgroup-id\u003e] [-s \u003cscene-id\u003e]\n    \t     [-p \u003csubpath\u003e] [-o {true,false,1,0,yes,no,y,n}] [-b \u003cbri-value\u003e] [-t \u003ccolor-temp-value\u003e] [-u \u003cjson-string\u003e]\n    \t     [--register] [-c \u003cpath\u003e] [--section \u003csection\u003e] [--dark-icon] [--output \u003cpath\u003e] [-v]\n    \n    options:\n      -h, --help            show this help message and exit\n      -d, --daemon          Run the Licht applet as a daemon process\n      -a, --app, --applet   Run the Licht applet\n      --lights, --list-lights\n    \t\t\tList the index of lights in the network\n      --groups, --list-groups\n    \t\t\tList the index of groups in the network\n      --scenes, --list-scenes\n    \t\t\tList the index of groups in the network\n      -l \u003clight-id\u003e, --light \u003clight-id\u003e, --light-id \u003clight-id\u003e\n    \t\t\tLight-id for state change\n      -g \u003cgroup-id\u003e, --group \u003cgroup-id\u003e, --group-id \u003cgroup-id\u003e\n    \t\t\tGroup-id for state change\n      -s \u003cscene-id\u003e, --scene \u003cscene-id\u003e, --scene-id \u003cscene-id\u003e\n    \t\t\tScene-id for state change\n      -p \u003csubpath\u003e, --subpath \u003csubpath\u003e\n    \t\t\tSubpath for state change\n      -o {true,false,1,0,yes,no,y,n}, --on {true,false,1,0,yes,no,y,n}\n    \t\t\tToggle lights on\n      -b \u003cbri-value\u003e, --bri \u003cbri-value\u003e\n    \t\t\tUpdate for the brightness value [0-255]\n      -t \u003ccolor-temp-value\u003e, --ct \u003ccolor-temp-value\u003e\n    \t\t\tUpdate for the color temperature value [0-65535]\n      -u \u003cjson-string\u003e, --update \u003cjson-string\u003e\n    \t\t\tUpdate body for the PUT request\n      --register            Authenticate licht and receive a username from bridge\n      -c \u003cpath\u003e, --config \u003cpath\u003e\n    \t\t\tPath to the config file\n      --section \u003csection\u003e   Section in the yaml file to be parsed\n      --dark-icon           Use a dark icon on systray (for light themes)\n      --output \u003cpath\u003e       Set the path of the output log-file\n      -v, --verbose         Run program in verbose mode\n\n\n# Configuration\n\n`licht` works with both command-line arguments as well as YAML\nconfiguration files (the first takes precedence over the latter).  To\nset your desired defaults, edit the configuration file\n`licht_example.yml` and place it in either\n\n-   `~/.config/licht/licht.yml`\n-   `~/.config/.licht.yml`\n-   `~/.licht/licht.yml`\n-   `~/.licht.yml`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphdenzel%2Flicht","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphdenzel%2Flicht","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphdenzel%2Flicht/lists"}