Hello,
I hope my question suits this community.
I’ve been working the past 72 hours reverse engineering an undocumented BLE mesh lamp. The process involved decompiling an apk, capturing bluetooth packets, checking how other people reverse engineered, checking and reading lots of related repositories, but finally (I’m so happy) it’s working!
In simple terms: I can now fully control my ceiling lamp (color, brightness, on/off, white color temperature) with a Python script.
I was thinking about wrapping FastAPI around it to expose API endpoints and run it on my Raspberry Pi Zero and then use my laptop to turn on / off or change the color when something happens.
But which event or what should happen to turn the light on/off?
EDIT: If you own this lamp and you’re actively searching for code repositories on Github regarding this lamp, you will find it. I just don’t want to post a public link here.


Have it dim and brighten N times over the course of a few seconds to chime the hour on the hour, or have it blink a color.