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

[ecobee] Improve handling of error code 14 #16613

Merged
merged 1 commit into from Apr 5, 2024

Conversation

mhilbush
Copy link
Contributor

@mhilbush mhilbush commented Apr 5, 2024

Improve handling of error code 14 by forcing a token refresh rather that closing/creating the oauth client service.

@jlaur This is what we talked about previously, and it seems to be working fine for me. It had some issues the first time it executed for me (it eventually worked), but I think it's because Ecobee was restarting servers multiple times. Since then it has worked flawlessly.

I don't think there's a compelling need to cherry pick this for 4.1.x since 4.1.2 is working fine with the oauth client service close/create. But that's your call.

Signed-off-by: Mark Hilbush <mark@hilbush.com>
@mhilbush mhilbush requested a review from jlaur April 5, 2024 13:58
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

Thanks!

@jlaur jlaur merged commit 8644a77 into openhab:main Apr 5, 2024
2 of 3 checks passed
@jlaur jlaur added this to the 4.2 milestone Apr 5, 2024
@jlaur
Copy link
Contributor

jlaur commented Apr 5, 2024

For reference: This enhances #16467.

@jlaur jlaur added enhancement An enhancement or new feature for an existing add-on regression Regression that happened during the development of a release. Not shown on final release notes. labels Apr 5, 2024
@mhilbush mhilbush deleted the ecobee-token-refresh-2 branch April 5, 2024 14:24
lo92fr pushed a commit to lo92fr/openhab-addons that referenced this pull request Apr 30, 2024
Signed-off-by: Mark Hilbush <mark@hilbush.com>
adr001db pushed a commit to adr001db/openhab-addons that referenced this pull request May 9, 2024
Signed-off-by: Mark Hilbush <mark@hilbush.com>
Signed-off-by: Alexander Drent <81358972+adr001db@users.noreply.github.com>
adr001db added a commit to adr001db/openhab-addons that referenced this pull request May 10, 2024
adr001db pushed a commit to adr001db/openhab-addons that referenced this pull request May 12, 2024
Signed-off-by: Mark Hilbush <mark@hilbush.com>
Signed-off-by: Alexander Drent <81358972+adr001db@users.noreply.github.com>
Signed-off-by: Alexander Drent <Alex@Drent-ict.nl>
adr001db added a commit to adr001db/openhab-addons that referenced this pull request May 12, 2024
This reverts commit 159c3e9.

Signed-off-by: Alexander Drent <Alex@Drent-ict.nl>
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 regression Regression that happened during the development of a release. Not shown on final release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants