{"id":25938278,"url":"https://github.com/vifon/yeetlight","last_synced_at":"2025-03-04T03:35:42.076Z","repository":{"id":54968353,"uuid":"329126680","full_name":"vifon/yeetlight","owner":"vifon","description":"A lightweight Yeelight smartlights web control panel","archived":false,"fork":false,"pushed_at":"2024-09-17T23:45:00.000Z","size":297,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-18T17:43:08.496Z","etag":null,"topics":["iot","yeelight"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vifon.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":"2021-01-12T22:16:52.000Z","updated_at":"2024-09-17T23:45:03.000Z","dependencies_parsed_at":"2024-09-17T17:30:39.113Z","dependency_job_id":null,"html_url":"https://github.com/vifon/yeetlight","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/vifon%2Fyeetlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vifon%2Fyeetlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vifon%2Fyeetlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vifon%2Fyeetlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vifon","download_url":"https://codeload.github.com/vifon/yeetlight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241780475,"owners_count":20019057,"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":["iot","yeelight"],"created_at":"2025-03-04T03:35:41.513Z","updated_at":"2025-03-04T03:35:42.070Z","avatar_url":"https://github.com/vifon.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yeetlight\n\n[![status-badge](https://ci.codeberg.org/api/badges/13628/status.svg)](https://ci.codeberg.org/repos/13628)\n\nYeetlight is a lightweight Yeelight smartlights web control panel.\n\nIt was created as a way so that I wouldn't *yeet* my *lights* when\ninteracting with their official smartphone app.\n\n## Features\n\nRemote control of the Yeelight/Xiaomi smartlights including:\n- power on/off\n- brightness\n- color temperature\n- RGB support (albeit ugly)\n- multiple lights linked to each other and acting as a larger setup\n\nAdditional features:\n- simple UI\n- self-contained\n- full controls of multiple smartlights in a single panel; no\n  subpanels per light as in the official app\n- responsive web design\n\n![](https://raw.githubusercontent.com/vifon/yeetlight/master/images/screenshot1.png)\n\n## Dependencies\n\nA reasonably new [Rust](https://www.rust-lang.org/) compiler is needed\nto build the application.\n\n## Usage\n\nBefore running the build you may want to edit `public/config.json`\naccording to the intended smartlight setup.  This file will get\nembedded into the resulting binary, though it's possible to override\nit with `--config some/path/config.json`.\n\nBuild and run with:\n\n    $ cargo build --release\n    $ ./target/release/yeetlight --iface 0.0.0.0:8080\n\nThe `--iface …` argument may be omitted if the above example is the\nintended value, i.e. exposing the control panel on all network\ninterfaces on `8080` TCP port.\n\nOpen `http://localhost:8080` in a web browser.\n\n## Configuration\n\n`config.json` should contain a JSON object with a `bulbs` key contain\na list of bulbs.  Each bulb has one of the following forms:\n\n- named bulb\n\n        \"Bulb name\": {\n          \"addr\": \"192.168.xxx.xxx\"\n        }\n\n- anonymous bulb (the address is also the name)\n\n        \"192.168.xxx.xxx\": {}\n\nIf a bulb is a part of a larger setup, it may contain a `linked` key\nwith a list of *names* of other bulbs that will follow its state\n(controlled with a checkbox):\n\n    \"192.168.xxx.xxx\": {\n      \"linked\": [ \"Bulb name\" ]\n    }\n\n…or more verbosely (and with the checkbox pre-checked):\n\n    \"192.168.xxx.xxx\": {\n      \"linked\": [\n        {\n          \"name\": \"Bulb name\",\n          \"enable\": true\n        }\n      ]\n    }\n\nTo enable the RGB capabilities, add `\"rgb\": true` to the\nbulb's config.\n\n## Security considerations\n\n*Yeetlight* was written with the assumption it's being run inside\na fully trusted network on a device like Raspberry Pi, so no\nauthentication is used at all.  The bulbs themselves are not protected\neither so as long as *Yeetlight* is accessible only from the same\nnetwork the bulbs are, it shouldn't create any additional\nsecurity risks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvifon%2Fyeetlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvifon%2Fyeetlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvifon%2Fyeetlight/lists"}