{"id":37767471,"url":"https://github.com/adamwojt/yee-cli","last_synced_at":"2026-01-16T14:46:23.649Z","repository":{"id":62590554,"uuid":"338402557","full_name":"adamwojt/yee-cli","owner":"adamwojt","description":"Simple Yeelight room control CLI written in Python. Control your lights from terminal.","archived":false,"fork":false,"pushed_at":"2021-03-17T12:38:33.000Z","size":37,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-29T02:59:35.329Z","etag":null,"topics":["cli","home-automation","iot","light","python","terminal","yeelight"],"latest_commit_sha":null,"homepage":"https://github.com/adamwojt/yee-cli/","language":"Python","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/adamwojt.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2021-02-12T18:39:35.000Z","updated_at":"2023-08-13T07:53:43.000Z","dependencies_parsed_at":"2022-11-04T07:16:59.750Z","dependency_job_id":null,"html_url":"https://github.com/adamwojt/yee-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/adamwojt/yee-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwojt%2Fyee-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwojt%2Fyee-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwojt%2Fyee-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwojt%2Fyee-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamwojt","download_url":"https://codeload.github.com/adamwojt/yee-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwojt%2Fyee-cli/sbom","scorecard":{"id":165645,"data":{"date":"2025-08-11","repo":{"name":"github.com/adamwojt/yee-cli","commit":"fda415e82669f5de82a56bcaefda06edb2b242f8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/adamwojt/yee-cli/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/adamwojt/yee-cli/ci.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:23","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-42991 / GHSA-v3c5-jqr6-7qm8","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T14:45:34.245Z","repository_id":62590554,"created_at":"2025-08-16T14:45:34.246Z","updated_at":"2025-08-16T14:45:34.246Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","home-automation","iot","light","python","terminal","yeelight"],"created_at":"2026-01-16T14:46:21.870Z","updated_at":"2026-01-16T14:46:23.641Z","avatar_url":"https://github.com/adamwojt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======\nYee CLI\n=======\n.. image:: https://brands.home-assistant.io/_/yeelight/logo.png\n\n.. image:: https://img.shields.io/pypi/v/yee-cli.svg\n        :target: https://pypi.python.org/pypi/yee-cli\n\n.. image:: https://github.com/adamwojt/yee-cli/workflows/ci/badge.svg?branch=master\u0026event=push\n        :target: https://github.com/adamwojt/yee-cli/actions\n\n.. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336\n        :target: https://timothycrosley.github.io/isort/\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n        :target: https://github.com/psf/black\n\n\nSimple Yeelight Room control CLI written in Python. Control your lights from terminal.\n\nInstallation\n------------\n\n.. code-block:: text\n\n    pip install yee-cli\n    \n\nConfig\n------\n\n* Location: ``~/.yee_rooms``\n* Format: ``JSON``\n* Example:\n\n.. code-block:: json\n\n    {\n       \"office\":[\n          \"192.168.1.1\",\n          \"192.168.1.2\"\n       ],\n       \"bedroom\":[\n          \"192.168.1.3\",\n          \"192.168.1.4\"\n       ]\n    }\n\n* Config path can be also passed with ``-c`` flag or ``YEE_ROOM_CONFIG`` env variable\n* To find bulb IPs use tools like ``nmap``, ``nutty`` or check on your `YeeLight app \u003chttps://play.google.com/store/apps/details?id=com.yeelight.cherry\u0026hl=en\u0026gl=US\u003e`_\n\nUsage\n-----\n``yee [-c --config] [ROOM_NAME*] COMMAND [ARGS]...```\n\n*\\*Use room names from config*\n\n**Example Usage:**\n\n.. code-block:: text\n\n    yee bedroom on\n    yee bedroom dim 10\n    yee color_list\n    yee bedroom color indianred\n    ... romance on !\n\n**Commands:**\n\n.. code-block:: text\n\n    color         Set lights to given color.\n    color_list    Available color list\n    dim           Dim lights to level (1-100).\n    off           Turn lights off.\n    on            Turn lights on.\n    random_color  Switch to random color.\n    toggle        Toggle lights.\n\n\nTroubleshooting\n---------------\n\nConnection Issues (make sure):\n    * IP addresses of bulbs in config are correct.\n    * LAN Control is ON (https://www.yeelight.com/faqs/lan_control).\n    * You are connected to same WIFI network as your bulbs.\nOther:\n    * For more debug ideas visit https://github.com/skorokithakis/python-yeelight\n    * If your bulb IP addresses keep changing you may want to set static DHCP lease on your router.\n\nCredits\n-------\n\n* Wouldn't be possible without `skorokithakis/python-yeelight \u003chttps://github.com/skorokithakis/python-yeelight\u003e`_.\n* Uses `webcolors \u003chttps://pypi.org/project/webcolors/\u003e`_\n* Uses `click \u003chttps://click.palletsprojects.com/en/7.x/\u003e`_\n* Created with Cookiecutter_ and the `johanvergeer/cookiecutter-poetry`_ project template.\n\nAfter writing almost all I realised that author of `python-yeelight \u003chttps://github.com/skorokithakis/python-yeelight\u003e`_ also wrote CLI. Check it out - it has different API / config and more features \u003e\u003e\u003e `yeecli \u003chttps://github.com/skorokithakis/yeecli\u003e`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`johanvergeer/cookiecutter-poetry`: https://github.com/johanvergeer/cookiecutter-poetry\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamwojt%2Fyee-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamwojt%2Fyee-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamwojt%2Fyee-cli/lists"}