{"id":16049031,"url":"https://github.com/zxlin/mouse-switch","last_synced_at":"2025-09-12T00:39:55.845Z","repository":{"id":93426898,"uuid":"120155436","full_name":"zxlin/mouse-switch","owner":"zxlin","description":"When you want a physical switch for your wifi lights, but you're too cheap to buy a commercially available smart-switch, so you DIY it with a logitech wireless mouse.","archived":false,"fork":false,"pushed_at":"2018-02-07T20:26:33.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-05T07:14:46.918Z","etag":null,"topics":["iot","lolz","smarthome"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/zxlin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-04T04:44:44.000Z","updated_at":"2020-06-09T02:20:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"e14bb78c-e310-4225-ab12-a37b7de5bbbf","html_url":"https://github.com/zxlin/mouse-switch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zxlin/mouse-switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxlin%2Fmouse-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxlin%2Fmouse-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxlin%2Fmouse-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxlin%2Fmouse-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxlin","download_url":"https://codeload.github.com/zxlin/mouse-switch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxlin%2Fmouse-switch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260023342,"owners_count":22947365,"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","lolz","smarthome"],"created_at":"2024-10-09T00:12:38.777Z","updated_at":"2025-06-15T17:40:32.168Z","avatar_url":"https://github.com/zxlin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mouse Switch\n\nDemo: https://gfycat.com/ElectricWarlikeCardinal\n\n![Toplol](https://thumbs.gfycat.com/ElectricWarlikeCardinal-size_restricted.gif)\n\n- 2 hours of figuring out wtf the USB HID spec was saying, gave up, and hard coded some values that worked on the Raspberry Pi.\n\n- 2 hours of reading the Yeelight specs, took some short cuts to interface with the bulbs, didn't play the discovery protocol - assume known IPs.\n\nOh look it works! Okay, time to go tf to sleep.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxlin%2Fmouse-switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxlin%2Fmouse-switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxlin%2Fmouse-switch/lists"}