govee_btled icon indicating copy to clipboard operation
govee_btled copied to clipboard

Add ping() function that needs to be sent at least every 2 seconds

Open jr3us opened this issue 4 years ago • 4 comments

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.

jr3us avatar Jan 11 '21 20:01 jr3us

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.

MoldyGoon avatar Jun 26 '22 16:06 MoldyGoon

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

jr3us avatar Jun 26 '22 16:06 jr3us

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

MoldyGoon avatar Jul 01 '22 19:07 MoldyGoon

i edited the post above and corrected the link.

jr3us avatar Jul 01 '22 19:07 jr3us