bergsm / SunLights

Program to adjust TP-Link smart bulbs with the ambient sunlight
GNU General Public License v3.0
0 stars 0 forks source link

Sending commands directly to bulb, circumventing the tp-link cloud server #4

Closed bergsm closed 5 years ago

bergsm commented 5 years ago

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.

bergsm commented 5 years ago

We may be able to make use of sockets to send the commands to the bulbs as well.

bergsm commented 5 years ago

This will require loading the ip address of the bulbs into a saved file somewhere as well.