-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[myq] JsonSyntaxException during login breaks binding operation #13181
Labels
bug
An unexpected problem or unintended behavior of an add-on
Comments
tlendacky
added
the
bug
An unexpected problem or unintended behavior of an add-on
label
Jul 27, 2022
I think i have seen this as well and will take a look, thanks. |
I have also been experiencing this issue. Disabling the bridge multiple times often brings it back or a restart of OH as previously mentioned. |
digitaldan
added a commit
to digitaldan/openhab-addons
that referenced
this issue
Jul 29, 2022
Fixes openhab#13181 Signed-off-by: Dan Cunningham <dan@digitaldan.com>
lolodomo
pushed a commit
that referenced
this issue
Jul 29, 2022
Fixes #13181 Signed-off-by: Dan Cunningham <dan@digitaldan.com>
Thanks, Dan, I'll give this a try. |
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/chamberlain-myq-binding/4192/828 |
leifbladt
pushed a commit
to leifbladt/openhab-addons
that referenced
this issue
Oct 15, 2022
Fixes openhab#13181 Signed-off-by: Dan Cunningham <dan@digitaldan.com>
andan67
pushed a commit
to andan67/openhab-addons
that referenced
this issue
Nov 6, 2022
Fixes openhab#13181 Signed-off-by: Dan Cunningham <dan@digitaldan.com>
andrasU
pushed a commit
to andrasU/openhab-addons
that referenced
this issue
Nov 12, 2022
Fixes openhab#13181 Signed-off-by: Dan Cunningham <dan@digitaldan.com> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
psmedley
pushed a commit
to psmedley/openhab-addons
that referenced
this issue
Feb 23, 2023
Fixes openhab#13181 Signed-off-by: Dan Cunningham <dan@digitaldan.com>
nemerdaud
pushed a commit
to nemerdaud/openhab-addons
that referenced
this issue
Feb 28, 2023
Fixes openhab#13181 Signed-off-by: Dan Cunningham <dan@digitaldan.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Any exception processing a login should be caught so that the binding can retry later and continue working.
Current Behavior
Sometimes a login will return information that results in a JsonSyntaxException:
Once this occurs, I have to restart openhab in order for the MyQ binding to function again.
Possible Solution
Catch the JsonSyntaxException that can be thrown by fromJson() in the login() function of MyQAccountHandler.java and return a MyQCommunicationException()?
Steps to Reproduce (for Bugs)
Context
It isn't always noticeable that this issue has occurred until you notice that MyQ says your garage doors are closed when they are really open, etc.
Your Environment
The text was updated successfully, but these errors were encountered: