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

Send commands to bulbs simultaneously #8

Closed bergsm closed 5 years ago

bergsm commented 5 years ago

As of right now, the script will send the commands to the bulbs iteratively. This is okay, but I think it would be better to be able to send the commands to the bulbs simultaneously. I’m thinking this could be done through forking a child process for each bulb or via threading.

bergsm commented 5 years ago

I did come across a way to send commands to all of the bulbs in the same group with the app. I should be able to translate the command by breaking out wireshark again.