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

fix: reconnect to HA server after driver reconfiguration #41

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

zehnm
Copy link
Contributor

@zehnm zehnm commented Jan 2, 2024

If the driver is reconfigured, disconnect and connect again with the new
connection settings.
Closes #36

Further improvements:

  • Patch up reconnection logic to (hopefully) prevent multiple client
    connections.
  • More log information to track down multiple connections.
  • Use a unique connection id for each new HA client connection (counter
    suffix).

Relates to #39
Relates to unfoldedcircle/feature-and-bug-tracker#243

zehnm added 2 commits January 2, 2024 15:30
If the driver is reconfigured, disconnect and connect again with the new
connection settings.
Closes #36

Further improvements:
- Patch up reconnection logic to (hopefully) prevent multiple client
  connections.
- More log information to track down multiple connections.
- Use a unique connection id for each new HA client connection (counter
  suffix).

Relates to #39
Relates to unfoldedcircle/feature-and-bug-tracker#243
@zehnm zehnm self-assigned this Jan 2, 2024
@zehnm zehnm merged commit bbd3f6e into main Jan 2, 2024
10 checks passed
@zehnm zehnm deleted the fix/36_reconfiguration branch January 2, 2024 21:59
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.

Improve reconfiguration in web-configuration
1 participant