addons icon indicating copy to clipboard operation
addons copied to clipboard

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

Open JueBag opened this issue 1 year ago • 4 comments

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

JueBag avatar Oct 06 '24 13:10 JueBag

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?

rogrun avatar Oct 06 '24 13:10 rogrun

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

JueBag avatar Oct 07 '24 10:10 JueBag

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!

MaTr74 avatar Oct 08 '24 09:10 MaTr74

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

rogrun avatar Oct 08 '24 09:10 rogrun

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

MaTr74 avatar Oct 10 '24 05:10 MaTr74

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.

J-N-K avatar Oct 10 '24 05:10 J-N-K

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

MaTr74 avatar Oct 10 '24 06:10 MaTr74

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

J-N-K avatar Oct 13 '24 12:10 J-N-K

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.

JueBag avatar Oct 13 '24 13:10 JueBag

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.

rogrun avatar Oct 13 '24 18:10 rogrun

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.

JueBag avatar Oct 14 '24 06:10 JueBag

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).

J-N-K avatar Oct 14 '24 06:10 J-N-K

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

JueBag avatar Oct 14 '24 07:10 JueBag

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 avatar Oct 16 '24 16:10 MaTr74

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

MaTr74 avatar Oct 17 '24 11:10 MaTr74

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

skladd avatar Jan 10 '25 19:01 skladd

@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?

rogrun avatar Jan 11 '25 07:01 rogrun