Control ESP8266 lighting gadget developed by Tobias Blum
Change light modes and control through HC2
ESP8266 board programmed with McLighting software
For every button you should change "local led_pin = [your control pin]"
Use your own ip address and port
Fell free use and modify,but let me have a copy please for improving my knowledge.