The issue here is sending the commands directly to the bulb, rather than sending the commands to the tp-link cloud server which then updates the bulb. I have seen a few other projects that have been able to do this. I believe it may be as simple as sending the POST request to the IP address of the bulb, but another project I viewed did make use of sockets.
The issue here is sending the commands directly to the bulb, rather than sending the commands to the tp-link cloud server which then updates the bulb. I have seen a few other projects that have been able to do this. I believe it may be as simple as sending the POST request to the IP address of the bulb, but another project I viewed did make use of sockets.