
What was done
Lucho asked Claude how his app-only RGB bulbs worked. Together they found a Tuya beacon protocol, worked out its sequence number and checksum from iPhone captures, and controlled the bulb from a Mac script.
Lucho had cheap RGB bulbs that could only be controlled from the vendor app. He opened Claude and asked to understand how they worked, and the two ended up reverse engineering the bulb's Bluetooth protocol until his Mac could control it directly, with no app and no phone.
How it was done
They found that the bulb used a Tuya beacon protocol. They captured the packets the iPhone sent, worked out how the sequence number behaved and found how the checksum was calculated. Claude then wrote a small Python script that builds and sends the beacon packets from the Mac. A screenshot from the session shows Claude confirming the Mac controls the bulb, then sending the nine remaining unidentified commands in order, a few seconds apart, so Lucho could see what each one does.
Results
The bulb responds to packets sent from the Mac script, as shown in the post's video. Lucho says he did it out of curiosity and learned a lot in the process. The post shares no code, and the bulb's model is not named.