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

[plugwiseha] Improve connection stability #17677

Merged
merged 6 commits into from
Nov 17, 2024

Conversation

lsiepel
Copy link
Contributor

@lsiepel lsiepel commented Oct 30, 2024

This PR mainly improves the handling of the connection to the Adam device, but also has other improvements:

  • Whenever a timeout occurs, a 3 second delay is added to give the device some time to catch up.
  • Improved locking to prevent multiple parallel calls to the device
  • When a zone temperature set command is performed it now also accepts a DecimalType.
  • Various minor fixes like javadoc, method modifiers and others.
  • Solve compile warnings
  • Adjust refresh interval to match both config and readme

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
@lsiepel lsiepel added the enhancement An enhancement or new feature for an existing add-on label Oct 30, 2024
@lsiepel lsiepel requested a review from a team October 30, 2024 22:03
@lsiepel lsiepel marked this pull request as draft October 30, 2024 22:40
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
@lsiepel lsiepel marked this pull request as ready for review October 31, 2024 13:55
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@lolodomo lolodomo merged commit 4a5aa04 into openhab:main Nov 17, 2024
5 checks passed
@lolodomo lolodomo added this to the 4.3 milestone Nov 17, 2024
@lsiepel lsiepel deleted the plugwiseha-improvements branch November 17, 2024 10:36
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Dec 16, 2024
* Improvements
* Sync config with readme
* Fix unit detection
* Fix NPE

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants