Demo: https://gfycat.com/ElectricWarlikeCardinal
-
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.