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

Handle glitched connections #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

deece
Copy link

@deece deece commented Nov 2, 2019

This PR makes connections to the TWC more robust by reestablishing the connection if no slaves are present.

I have a ~10m run of mains rated, unshielded Cat5 from my power management machine to the TWC. The connection is properly terminated, but frequently stops communicating. Restarting TWCManager fixes the problem, but just resending the link-ready packets is insufficient, however, reopening the serial port does work.

deece pushed a commit to InfernoEmbedded/TWCManager that referenced this pull request Jan 12, 2022
Prevent car charging if Powerwall needs to charge
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.

1 participant