Hello,
does anybody know if the SmartHome/J Viessmann Binding is already working for Openhab 4.0.x?
Hello,
does anybody know if the SmartHome/J Viessmann Binding is already working for Openhab 4.0.x?
Short answer: Yes, in a snapshot version ( iaw not in a release version yet).
Long answer:
Set the Settings - JSON Third Party Addons - URLs to
https://download.smarthomej.org/addons-snapshot.json
and the SmartHome/J Viessmann Binding will appear under Settings - Bindings - Other Addons.
If you can’t create a thing for the binding, remove and reinstall the binding (at least that worked for me).
Thanks for the information. After changing the path I had to remove and readd the binding. Is there actually a why to trigger an update of an existing binding?
I’m on vacation right now. Unfortunately, I can only look at it in a few days and analyze and fix the issue
I checked it, this is not a bug. The README on Github was updated with this hint:
For version changes in openHAB that require a change in the version change (i.e. not only changes of the last number) of SmartHome/J, it is recommended to uninstall the add-ons BEFORE the openHAB upgrade and re-install them afterwards.
@rogrun
It seems that the Viessmann Binding is broken in OH4.1.
If I try to install it over the market place I get:
Installation of add-on json:org-smarthome-binding-viessmann failed
Is there an update?
I’m running OH4.1.1 and it works.
Please check via the console whether a different version of Viessmann Binding is installed:
bundle:list | grep -i viessmann
if there is another, uninstall it:
bundle:uninstall <START ID>
It is not installed at all, but I’m also not able to install it via addon-store. It is shown as 4.0.0-SNAPSHOT in the addon-store, might this be an issue?
Are you using this URL for JSON 3rd Party Add-on?
https://download.smarthomej.org/addons.json
Yes
Maybe “Show incompatible” is enabled?
This is not enabled. I have disabled the store by removing https://download.smarthomej.org/addons.json.
Bit it is still showing me the binding with 4.0.0-SNAPSHOT in the store, what could be installed. Is there some kind of cache?
I have this in the org.openhab.jsonaddonservice.json, nothing more. What is this, can it be removed?
{
"json:org-smarthome-binding-viessmann": {
"class": "java.lang.String",
"value": "{\"uid\":\"json:org-smarthome-binding-viessmann\",\"id\":\"viessmann\",\"label\":\"SmartHome/J Viessmann Binding\",\"version\":\"4.0.0-SNAPSHOT\",\"maturity\":\"stable\",\"compatible\":true,\"contentType\":\"application/vnd.openhab.feature;type\\u003dkarfile\",\"link\":\"https://docs.smarthomej.org/4.0.0-SNAPSHOT/org.smarthomej.binding.viessmann.html\",\"author\":\"SmartHome/J\",\"verifiedAuthor\":false,\"installed\":false,\"type\":\"binding\",\"detailedDescription\":\"\\u003cimg src\\u003d\\\"org.smarthomej.binding.viessmann/doc/viessmann_wordmark_rgb_1_vitorange.png\\\" width\\u003d\\\"140\\\"/\\u003e \",\"configDescriptionURI\":\"\",\"keywords\":\"\",\"countries\":[],\"connection\":\"\",\"properties\":{\"kar_download_url\":\"https://docs.smarthomej.org/4.0.0-SNAPSHOT/org.smarthomej.binding.viessmann-4.0.0-SNAPSHOT.kar\"},\"loggerPackages\":[]}"
}
}
I have now completely removed org.openhab.jsonaddonservice.json, but I still see the 4.0.0-SNAPSHOT binding in the store.
@J-N-K Do you have any idea?
If you just deleted the JSON, it’ll be restored from the backup, so better replace the content with {}
(or delete all backups of that file). Make sure you do that when openHAB is shutdown. A good idea might be to also remove the content from <USERDATA>/marketplace
and use openhab-cli clean-cache
.
That’s the right hint. I have deleted all backups and then the 4.1.0 binding was available. Thank you for your support!
I managed to get the binding working under 4.1.2 but now fail to use it
Thing, alsthough IMHO properly configured with a ClientID, remains offline saying
“Login fails. Please check API Key”.
Installation ID and GatewaySerialID remain empty.
FWIW, there’s no device shown on the developer portal, I guess probably because my heater isn’t properly ViCare-connected (or -setup ?) yet. It’s not even my own one so I don’t have all the installation details at hand.
Do the gateway/device have to be setup first to work with each other and the app?
Any pointer how that works (other than “ask your HVAC installer”, please).
Thanks!
BTW, how does your binding relate to this one ?
Maybe this helps:
https://docs.smarthomej.org/3.1.9/org.smarthomej.binding.viessmann.html
Also you can check if you see your heating system is online using this login:
https://viguide.viessmann.com/home
When my gateway device is not getting online I use this workarond.