{"id":37093803,"url":"https://github.com/vanyason/yeelight","last_synced_at":"2026-01-14T11:24:03.349Z","repository":{"id":200359067,"uuid":"693830196","full_name":"vanyason/yeelight","owner":"vanyason","description":"My yeelight API implementation and GUI app ","archived":false,"fork":false,"pushed_at":"2023-12-05T16:30:51.000Z","size":962,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-12-06T15:45:18.490Z","etag":null,"topics":["golang","javascript","react","wails","wails2","yeelight","yeelight-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanyason.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}},"created_at":"2023-09-19T19:53:29.000Z","updated_at":"2023-12-06T15:45:18.491Z","dependencies_parsed_at":"2023-10-20T17:45:35.597Z","dependency_job_id":"0e095107-981d-4311-89bc-3cf3c0675866","html_url":"https://github.com/vanyason/yeelight","commit_stats":null,"previous_names":["vanyason/yeelight"],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/vanyason/yeelight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanyason%2Fyeelight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanyason%2Fyeelight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanyason%2Fyeelight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanyason%2Fyeelight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanyason","download_url":"https://codeload.github.com/vanyason/yeelight/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanyason%2Fyeelight/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28418437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["golang","javascript","react","wails","wails2","yeelight","yeelight-api"],"created_at":"2026-01-14T11:24:02.657Z","updated_at":"2026-01-14T11:24:03.337Z","avatar_url":"https://github.com/vanyason.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💡 Yeelight Controller\n\n[![GitHub issues](https://img.shields.io/github/issues/vanyason/yeelight)](https://github.com/vanyason/yeelight/issues)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/vanyason/yeelight)](https://github.com/vanyason/yeelight/releases)\n[![GitHub](https://img.shields.io/github/license/vanyason/yeelight)](https://github.com/vanyason/yeelight/blob/master/LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/vanyason/yeelight)](https://goreportcard.com/report/github.com/vanyason/yeelight)\n[![Workflow](https://github.com/vanyason/yeelight/actions/workflows/build.yml/badge.svg)](https://github.com/vanyason/yeelight/actions/workflows/build.yml)\n\n\u003cimg src=\".github/images/screenshot.png\" width=\"512\" /\u003e\n\n## 🤔 What and Why?\n\nSome of you may had experience with this kind of devices : ([yeelight official website](https://en.yeelight.com/))\n\n\u003cimg src=\".github/images/yeelight.jpg\" width=\"512\" /\u003e\n\nI have only one bulb, which I use as a background light for my working space. Most of the time **I just use one color** and sometimes have to **quickly switch** to the pure white during the calls. Feels like using mobile app is something I do not really want\n\n\u003e **Of course creating my own buggy app using whole bunch of fancy languages and frameworks is a simpler way 🤦!**\n\n## 🕵️‍♂️ How does it work?\n\nYeelight has a [public API](https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf), so firstly I implemented it in [Golang](https://github.com/vanyason/yeelight/blob/master/yeelight/yeelight.go)\n\n\u003e My solution is not the only one and mainly inspired by **(check this repoes)** [Repo 1](https://github.com/avarabyeu/yeelight) , [Repo 2](https://github.com/akominch/yeelight)\n\nI used interesting project called [Wails](https://wails.io/) which is considered to be an **Electron** alternative written in **GO**. With **Wails** project suddenly became a frontend task, so **React** has been chosen as main frontend framework. I used [this colorpicker](https://iro.js.org/color_api.html), since it has a kelvin temperature feature.\n\nShortly: frontend - **REACT**, backend - **Wails (Yeelight API part implemented in GO)**\n\n## ⚒️ How to build locally?\n\nTo build locally `git clone ...` the repo, follow the [Wails installation guide](https://wails.io/docs/gettingstarted/installation/) and finally just execute `wails dev` for local development and `wails build` for production build.\n\n## 💭 Interesting Files\n\n- There is a [bash script](https://github.com/vanyason/yeelight/blob/master/build/linux/generate_deb.sh) that creates deb package. This file is **not generated by Wails**\n- There is a [test script](https://github.com/vanyason/yeelight/blob/master/examples/test.go) that tests your lightbulb. It sends all kind of commands and restores bulb to its initial state (hopefully)\n- Commented part in [this file](https://github.com/vanyason/yeelight/blob/master/frontend/src/components/BulbButton.jsx) relates to a component`s fancy blur. It is commented due to lags on Linux, but you can try it yourself\n\n## 📜 Todo\n\n- [ ] Tests\n- [x] Automatic builds\n- [ ] Fix bugs as they are discovered\n- [ ] MacOS build\n- [ ] Change UI to a more UX friendly one\n- [ ] Rewrite in typescript\n- [ ] Support multiple bulbs\n\n**Estimation** : most likely never ⏳\n\n---\n\n##### 🧒 About ME and contact info\n\n\u003ca href=\"https://github.com/vanyason\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white\"/\u003e\n\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanyason%2Fyeelight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanyason%2Fyeelight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanyason%2Fyeelight/lists"}