Skip to content

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

Open
jr3us wants to merge 3 commits into
chvolkmann:masterfrom
jr3us:master
Open

Add ping() function that needs to be sent at least every 2 seconds#6
jr3us wants to merge 3 commits into
chvolkmann:masterfrom
jr3us:master

Conversation

@jr3us

@jr3us jr3us commented Jan 11, 2021

Copy link
Copy Markdown

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.

@MoldyGoon

Copy link
Copy Markdown

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.

@jr3us

jr3us commented Jun 26, 2022

Copy link
Copy Markdown
Author

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

@MoldyGoon

Copy link
Copy Markdown

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

@jr3us

jr3us commented Jul 1, 2022

Copy link
Copy Markdown
Author

i edited the post above and corrected the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants