Sorry for late response. I get into the device a little bit after writing here, and afterwards forgot to answer. I ended up inserting a programming connector near the socket.
I have my own firmware based on https://github.com/SuperHouse/esp-open-rtos, utilizing webocket or mqtt to control the lamp. In the pictures below I also desoldered the ESP module. So you can also see the pin mapping if it is interesting for you.
RGB LED controller IC SM16726
Pin3 OMODE = HI - Internal constant current drive mode
Pin14 SET = HI - Without current gain adjustment
ESP:
IO4 = CLK - Connected to SM16726 RGB controller
IO5 = CW - Connected to SLM211A PWM controller
IO12 = WW - Not distrbuted on LED board
IO14 = DAT - Connected to SM16726 RGB controller
PLEASE DO THIS MODIFICATION ONLY WHEN YOU KNOW WHAT YOU ARE DOING!!! THE MAINS VOLTAGE IN DEVICE IS HIGHLY DANGEROUS!
7482_p1060249.jpg
7482_p1060247.jpg
7482_p1060255.jpg
7482_p1060257.jpg
7482_p1060254.jpg