Skip to content

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.

Notifications You must be signed in to change notification settings

zxlin/mouse-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mouse Switch

Demo: https://gfycat.com/ElectricWarlikeCardinal

Toplol

  • 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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published