Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync to main #1

Merged
merged 8 commits into from
Aug 15, 2018
Merged

sync to main #1

merged 8 commits into from
Aug 15, 2018

Conversation

dclobato
Copy link
Owner

No description provided.

mjg59 and others added 8 commits August 5, 2018 17:18
At least some versions of the protobuf code for Python object to files that
don't end _pb2.py, so fix that.
Updated the example:

-- temperature=100 is the coldest color, not hottest
-- bulb method requires three parameters: address, code and type/kind of bulb
A terrible -- but working -- solution for issue #7. The disconnection is perceived during the `recv()`, so at receiving zero bytes, we do a reconnect, reissue the command, and receive data again.  Definitely not the best solution for this, but at least it is working now.
Recent firmware seems to close idle connections, so send ping packets every
10 seconds in order to discourage that.
@dclobato dclobato merged commit c69240b into dclobato:master Aug 15, 2018
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.

2 participants