Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zxlin/mouse-switch
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.
https://github.com/zxlin/mouse-switch
iot lolz smarthome
Last synced: 29 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/zxlin/mouse-switch
- Owner: zxlin
- Created: 2018-02-04T04:44:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T20:26:33.000Z (almost 7 years ago)
- Last Synced: 2024-10-30T22:43:49.723Z (3 months ago)
- Topics: iot, lolz, smarthome
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mouse Switch
Demo: https://gfycat.com/ElectricWarlikeCardinal
![Toplol](https://thumbs.gfycat.com/ElectricWarlikeCardinal-size_restricted.gif)
- 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.
- 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.
Oh look it works! Okay, time to go tf to sleep.