Skip to content

Handle glitched connections - #15

Open
deece wants to merge 2 commits into
dracoventions:masterfrom
InfernoEmbedded:robust
Open

Handle glitched connections#15
deece wants to merge 2 commits into
dracoventions:masterfrom
InfernoEmbedded:robust

Conversation

@deece

@deece deece commented Nov 2, 2019

Copy link
Copy Markdown

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 added 2 commits November 3, 2019 08:11
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
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