{"id":22472014,"url":"https://github.com/huming2207/yilishen","last_synced_at":"2025-03-27T16:20:46.309Z","repository":{"id":49247552,"uuid":"135511869","full_name":"huming2207/yilishen","owner":"huming2207","description":"YiLiShen - a command line helper tool for Xiaomi Yeelight WiFi light bulbs, written in C++","archived":false,"fork":false,"pushed_at":"2021-06-22T01:56:21.000Z","size":17,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T20:09:52.044Z","etag":null,"topics":["cmake","cpp","cpp14","cxx","cxx14","rapidjson","socket","ssdp","tcp","yeelight","yeelight-devices"],"latest_commit_sha":null,"homepage":"","language":"C++","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/huming2207.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}},"created_at":"2018-05-31T00:41:39.000Z","updated_at":"2019-10-26T09:59:32.000Z","dependencies_parsed_at":"2022-08-19T19:20:56.830Z","dependency_job_id":null,"html_url":"https://github.com/huming2207/yilishen","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/huming2207%2Fyilishen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huming2207%2Fyilishen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huming2207%2Fyilishen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huming2207%2Fyilishen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huming2207","download_url":"https://codeload.github.com/huming2207/yilishen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245878932,"owners_count":20687299,"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":["cmake","cpp","cpp14","cxx","cxx14","rapidjson","socket","ssdp","tcp","yeelight","yeelight-devices"],"created_at":"2024-12-06T12:09:30.972Z","updated_at":"2025-03-27T16:20:46.274Z","avatar_url":"https://github.com/huming2207.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YiLiShen\n\nProject YiLiShen (Chinese: 蚁力神), a simple helper tool for Xiaomi Yeelight WiFi light bulbs/lamps/strips.\n\nThe name was taken from a famous Chinese Ponzi scheme scandal in a decade ago. Check [Yilishen Tianxi Group](https://en.wikipedia.org/wiki/Yilishen_Tianxi_Group) for more details.\n\n\n## Development environment\n\n- Ubuntu 18.04\n- macOS 10.13.5\n\nYou may need to install rapidjson separately.\n\nOn macOS you should run: \n\n```\nbrew install rapidjson\n```\n\nOn Ubuntu you should run\n\n```\nsudo apt install rapidjson-dev\n```\n\nI've only got two mono color light bulbs, so I can't test those color setting commands. But it should works.\n\n## Sample Usage\n\nUsage:\n\n```\nYilishen \u003ccommand\u003e  [arg1] [arg2] [arg3] ... [argN]\n```\n\nPlease refer to [Yeelight WiFi Light Inter-Operation Specification](https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf) for more details\n\nOutput when running `./Yilishen toggle`:\n\n```\nFound a device at 192.168.2.122, ID: 3330\nSending command toggle to this device...\nGot result: {\"id\":9527, \"result\":[\"ok\"]}\n\n\n\nFound a device at 192.168.2.145, ID: 3331\nSending command toggle to this device...\nGot result: {\"id\":9527, \"result\":[\"ok\"]}\n```\n\n...and the light bulb will be turn on (if not on) or turn off (if it has been turned on).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuming2207%2Fyilishen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuming2207%2Fyilishen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuming2207%2Fyilishen/lists"}