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

[Viessmann] New errors since 3rd Oct. Change in API? #594

Closed
JueBag opened this issue Oct 6, 2024 · 17 comments
Closed

[Viessmann] New errors since 3rd Oct. Change in API? #594

JueBag opened this issue Oct 6, 2024 · 17 comments

Comments

@JueBag
Copy link

JueBag commented Oct 6, 2024

Since 3rd Oct SmarhomeJ/ Viessmann reports errors like:
2024-10-06 15:11:19.200 [WARN ] [ernal.handler.ViessmannBridgeHandler] - Parsing Viessmann response fails: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 15 column 21 path $.data[0].properties.entries.value

The reported API-change with due date 19th Sep migth be the cause.

See also:openHAB forum

@rogrun
Copy link
Contributor

rogrun commented Oct 6, 2024

This issue is fixed in this PR #593
@J-N-K what do we need for merging? should I update 4.3.x and you cherrypick this commit?

@JueBag
Copy link
Author

JueBag commented Oct 7, 2024

Did an Update of my complete system to have:
315 │ Active │ 80 │ 4.2.0 │ SmartHome/J Add-ons :: Bundles :: Viessmann Binding
Now the heating device remains initilazing and the log shows:
2024-10-07 11:33:47.123 [WARN ] [ernal.handler.ViessmannBridgeHandler] - Parsing Viessmann response fails: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 15 column 21 path $.data[0].properties.entries.value

@MaTr74
Copy link

MaTr74 commented Oct 8, 2024

Did an Update of my complete system to have: 315 │ Active │ 80 │ 4.2.0 │ SmartHome/J Add-ons :: Bundles :: Viessmann Binding Now the heating device remains initilazing and the log shows: 2024-10-07 11:33:47.123 [WARN ] [ernal.handler.ViessmannBridgeHandler] - Parsing Viessmann response fails: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 15 column 21 path $.data[0].properties.entries.value

Same for me!

@rogrun
Copy link
Contributor

rogrun commented Oct 8, 2024

@J-N-K can you please publish a new release?

@MaTr74
Copy link

MaTr74 commented Oct 10, 2024

Maybe @J-N-K is on vacation? Can we do something else to get the fixed addon?

@J-N-K
Copy link
Member

J-N-K commented Oct 10, 2024

I'm currently very busy with real life issues. I'll try to merge both other fixes later today and release a new Version either today or tomorrow.

@MaTr74
Copy link

MaTr74 commented Oct 10, 2024

@J-N-K Thank you very much! No pressure, real life is much more important.

@J-N-K
Copy link
Member

J-N-K commented Oct 13, 2024

I have uploaded the snapshot, please try if that works (URL is the same). I have some issues with the release build.

@JueBag
Copy link
Author

JueBag commented Oct 13, 2024

Did a Uninstall-Insrall via MainUi. The error remains the same. Am I doing something wrong.
The file has a date of today at 15:25.

@rogrun
Copy link
Contributor

rogrun commented Oct 13, 2024

I did the same thing. After the reinstallation, version 4.2.0 was installed.

When I open the URL (https://download.smarthomej.org/addons.json) and search for the KAR file, I get the correct version 4.2.1.202410131143
I put it manually in the addons folder.

@JueBag
Copy link
Author

JueBag commented Oct 14, 2024

In this case I am doing something completly wrong! The returned json-string from the posted URL has no match with "4.2.1.202410131143".
No clue ATM.

@J-N-K
Copy link
Member

J-N-K commented Oct 14, 2024

That's a drawback in the was openHAB handles JSON addons. It's necessary to regresh the list of remote addons,either by waiting (at most) 15 minutes after uninstallation or rebooting. Otherwise the cached add-on list will be used (which contains the previously installed Version).

@JueBag
Copy link
Author

JueBag commented Oct 14, 2024

Uninstall-Reboot-Install did the trick!
Thanks for your effort and the pointer on WhowToDoIt.
@rogrun Thanks for your support as well.

@JueBag JueBag closed this as completed Oct 14, 2024
@MaTr74
Copy link

MaTr74 commented Oct 16, 2024

Will the new version available for OH 4.1.3 too? Due to another problem I can't update OH to 4.2.x.

@MaTr74
Copy link

MaTr74 commented Oct 17, 2024

I've just reinstalled the plugin within OH 4.1.3 and it's working gain. Thank you for your work!

@skladd
Copy link

skladd commented Jan 10, 2025

@J-N-K Could it be the fixed version is not yet released for OH 4.3?

@rogrun
Copy link
Contributor

rogrun commented Jan 11, 2025

@J-N-K I checked the version in the addons.json The included KAR-File does not contain the FIX. Can you please compile a new version or put this version org.smarthomej.binding.viessmann-4.3.0-SNAPSHOT.kar on your server?

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

No branches or pull requests

5 participants