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

[nuvo] Fixes protocol errors when connecting via an MPS4 #11511

Merged
merged 1 commit into from
Nov 10, 2021

Conversation

boc-tothefuture
Copy link
Contributor

@boc-tothefuture boc-tothefuture commented Nov 4, 2021

Signed-off-by: Brian O'Connell boc-tothefuture@users.noreply.github.com

fix[nuvo] fixes protocol errors when connecting via an MPS4

This fixes the error when using the Nuvo binding over IP through an MPS4 the binding would be disconnected over and over again. The MPS4 will disconnect connections when requests are sent and no zones are on. The MPS4 sends a PING command every 10 seconds, this update listens for that ping and if a ping is not received in minute initiates a reconnection if the user has indicated they are using the MPS4.

This issue is noted by another user in the forum here

@wborn wborn changed the title fix(nuvo): fixes protocol errors when connecting via an MPS4 [nuvo] Fixes protocol errors when connecting via an MPS4 Nov 4, 2021
@wborn wborn added the bug An unexpected problem or unintended behavior of an add-on label Nov 4, 2021
Copy link
Contributor

@mlobstein mlobstein left a comment

Choose a reason for hiding this comment

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

looks good!

@boc-tothefuture boc-tothefuture force-pushed the nuvo_mps4_compat branch 3 times, most recently from 2ecec6c to 650beee Compare November 5, 2021 15:46
@boc-tothefuture
Copy link
Contributor Author

@mlobstein I believe I have resolved all your comments.

Thanks for the review.

@boc-tothefuture
Copy link
Contributor Author

@mlobstein it may be worth you trying this build against your system? I don't know if you are serial or IP over serial but I am not able to test that.

@mlobstein
Copy link
Contributor

@mlobstein it may be worth you trying this build against your system? I don't know if you are serial or IP over serial but I am not able to test that.

I will test it out later tonight and report back if there are any issues.

Copy link
Contributor

@mlobstein mlobstein left a comment

Choose a reason for hiding this comment

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

One small issue found. Otherwise serial and MPS4 connections are working as expected.

@boc-tothefuture
Copy link
Contributor Author

Merged your change in.

Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
@boc-tothefuture
Copy link
Contributor Author

@mlobstein the PR still says that a review is needed. Can you approve it if you are ok with it being merged?

Copy link
Contributor

@mlobstein mlobstein left a comment

Choose a reason for hiding this comment

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

@boc-tothefuture I can't merge the PR, only one of the maintainers can. I will mark the changes as approved FWIW.
@fwolter can you take a look when you have time?

@fwolter fwolter merged commit 2a8e9b6 into openhab:main Nov 10, 2021
@fwolter fwolter added this to the 3.2 milestone Nov 10, 2021
jpg0 pushed a commit to jpg0/openhab-addons that referenced this pull request Nov 10, 2021
Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>

Co-authored-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this pull request Dec 30, 2021
Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>

Co-authored-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
mischmidt83 pushed a commit to mischmidt83/openhab-addons that referenced this pull request Jan 9, 2022
Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>

Co-authored-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
Signed-off-by: Michael Schmidt <mi.schmidt.83@gmail.com>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Jan 28, 2022
Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>

Co-authored-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
volkmarnissen pushed a commit to volkmarnissen/openhab-addons that referenced this pull request Mar 3, 2022
Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>

Co-authored-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>

Co-authored-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>

Co-authored-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants