govee_btled
govee_btled copied to clipboard
Add ping() function that needs to be sent at least every 2 seconds
This insert shouldn't do anything to any of your other code in this source, but will make things much easier to send a keep aIive packet to the bulbs. The timing for 2 seconds will have to be controlled by the program using this library. I have no idea why line 132 is getting updated. that is odd. Looks like github maybe added a new line to the end of the line to it per the explanation of the change below.
Even after implementing the ping function with threading, the connection keeps dropping out? Any idea as to why? I've already tried to decrease the time between pings but that doesn't work.
I made additional changes on top of the above on my own version, and is working much better and allows setup for more than one bulb. It is at https://github.com/mqttblebulb/mqttblebulb
Regards
I made additional changes on top of the above on my own version, and is working much better and allows setup for more than one bulb. It is at https://github.com/mqttblebulb/mqttblebulb
Regards
This link is broken
i edited the post above and corrected the link.