I have one of this bulbs and I was trying to find a way to integrate it into homeassistant.
The only way to control the light is via the mobile app (android) and only within the lan (no cloud).
What I figured out so far:
-It has a built in router with an web interface on port 80 (no light functions exposed)
-Can access telnet on port 23 (default admin:admin)
-It also has DNS port open.
I was able to spy the connection between android app and the bulb and found that comunication is on port UDP 9060 this is the command I get on wireshark:
Turn on lamp:
How can I replicate this commands to the bulb? Not sure what to do next, maybe someone can help with example of another integration that uses this aproach.
I was able to make it work on comand line with netcat and I’m using command_line platform on home assistant:
For now it is only working with on off comand, the light supports dimming, I might dig in this latter, also ha doesn’t know if the light is initially on or off (need to inspect the trafic between the app and the bulb to discover):
Had an hard time to figure out the -w1 switch as it was only working once after each restart (I guess you have to close the port connection after each packet) -q1 wasn’t working for me. Also, I had to install netcat as the version on busybox didn’t have option for udp.
I’m glad it worked for you. I didn’t spend much more time investigating on this. I’m still using it as my main goal was to make it respond to all lights off.