Add ping() function that needs to be sent at least every 2 seconds#6
Open
jr3us wants to merge 3 commits into
Open
Add ping() function that needs to be sent at least every 2 seconds#6jr3us wants to merge 3 commits into
jr3us wants to merge 3 commits into
Conversation
|
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. |
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 Regards |
This link is broken |
Author
|
i edited the post above and corrected the link. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.