Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.