This is a web based project to help controlling the Yeelight WiFi bulbs by Xiaomi using PHP. Function names are dynamic and respond to the API endpoints found in the Xiaomi docs: https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf
Yeelight-Web-Control.mp4
Change your bulb ip and port in ./function/exec.php
NB : Your bulb port is usually 55443 ; Your bulb ip can be found in network setting in the xiaomi app or by making a network scan