how to - physical reboot ? In the API there’s no switch for that.
No, the bridge device (thing) in openhab.
Hi,
since yesterday SmartHome/J Viessmann binding shows errors:
2024-10-04 16:13:17.398 [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
I did not change anything. The bridge is still working, but the device hangs in “Initializing” in “Things”. Seems that Viessmann did change some API settings - on a German holiday!?
Any idea how to fix this? I use OH 4.2.1 and the binding is 4.2.0. Thanks!
Same here.
Greeting
Agio
I have fixed this issue in this PR https://github.com/smarthomej/addons/issues/593
I‘m waiting for merging it.
@J-N-K can you take a look, please?
Hi, how can I install the updated version?
Thanks.
I have published a fix here: https://github.com/rogrun/addons/releases/tag/viessmann
Pleas uninstall the old version. Then first put the commons jar in the addons folder. Wait a minute and put the viessmann jar in the same folder.
This should fix it.
I read here that the official release will be out today or tomorrow:
https://github.com/smarthomej/addons/issues/594
Great, thank you. It works for me. Finally I can take a shower after 3 weeks ![]()
Can anybody please confirm that the binding works for OH4.3. Now I get this error again.
2024-12-22 17:03:46.794 [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
At least i can confirm that i have the same error.
WARN org.smarthomej.binding.viessmann.internal.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 error began today after i updated OH from 4.2 to 4.3.
Already tried the often recommended procedure for marketplace addons:
- uninstall addon
- clean cache
- reboot raspberry
- reinstall addon
Nothing helped so far.
Last time this error came from Viessmann API changes, what makes me wonder wether the PR for those changes made into the 4.3 version of the binding ?
@rogrun
Hi Ronny,
since the last PR was from you and the error message is identical, I wanted to ask you if you could take a look at it.
I already tried to be sure the problem doesn’t comes from my installation.
Checked the installed Version:
openhab> feature:list | grep smarthomej
smarthomej-binding-tuya x 4.3.0.SNAPSHOT x x x Started x org.smarthomej.binding.tuya-4.3.0-SNAPSHOT x Tuya Binding
smarthomej-binding-viessmann x 4.3.0.SNAPSHOT x x x Started x org.smarthomej.binding.viessmann-4.3.0-SNAPSHOT x Viessmann Binding
I am also able to supply an trace log from enabling the BridgeThing.
I’ll take a look at it in the next few days. I’m very busy over the holidays.
Please chek this release. This works for me.
Reinstalling seems not to work. Can it be updated likes this?
bundle:update org.openhab.xxx <url>
No, please uninstall via the UI and after that put the kar-file into the addons folder.
Hi again,
and a Merry Christmas to all.
@rogrun
Tried the install trough Addon-Store last night several times with uninstall/reboot/install realising that it isn’t the proper way.
Ended in what you informed in your last Post and placed the kar file in the addons folder after uninstalling the old addon before.
So this gave me at least a functional Viessmann Binding.
Everything works as expected except that i am not able to configure the logging options for the Binding as it simply isn’t listed under Addon-Settings.
Another difference to install through the maketplace as json-addon is that the addon isn’t in openhab-userdata/marketplace/kar/
EDIT:
Found the logging settings for the viessmann addon, seems almost self-explanatory.
As not installed through json marketplace but as normal addon.kar, logger settings can be found in log-viewer. The settings-icon in the ui right bottom corner.
@rogrun When do you plan to update the binding in the market place? Thanks!
Unfortunately I can’t do that. It depends on when @J-N-K publishes a new release or updates the existing one. Until then we have to use the KAR file in the addons folder
When updating, could you please also include a link to a community topic?
Many add-ons have that and I find it quite handy, since it points users to a common topic in this forum.
It would be visible on this page:
Does anybody know if this binding is related to this one over here Viessmann API binding for OpenHAB 4.0 [4.0.0;5.0.0)
or does anybody know when to prefer one binding over the other?
