Closed TS-Tec closed 7 years ago
Hi,
Can you check if you have the latest version? I made changes last week so it should work (https://github.com/openhab/openhab2-addons/pull/1972).
Patrick
Hi @pathec,
can you tell me how to do this? In the PaperUI it shows only 2.0.0 version. How can I update a single binding?
Thanks for your support!!
Hi,
I think you have to update your openHAB, because PaperUI should display binding-zway - 2.1.0.SNAPSHOT
.
Do you use Beta- or Snapshot Release?
Snapshot. I run OpenHABian.
I tried apt-get update and upgrade but nothing changes... What is the best way to do this? Sorry I am not a Linux or OH2 expert...
Ok, I found this: http://docs.openhab.org/installation/linux.html#changing-versions and http://docs.openhab.org/installation/openhabian.html#switch-openhab-branch, but I've never used openHABian. I would try: sudo apt-get install openhab2=2.1.0
Isn't there a way to update only this single binding? My System runs very well at the moment and I don't wanna get into trouble...
@ThomDietrich I thought the OpenHABian-Config tool update function does all this. How do I get OpenHABian to the latest version?
BTW: There is no OpenHab version 2.1.0 available. Only the binding has an updated version. Reinstalling OH2 did not updated the binding. Is it possible to install ist separately? Maybe with the Karaf Console (bundle or feature function)?
Ok, I'm not sure what to do. But I think @ThomDietrich can help you.
A quick fix might be to download the binding (https://openhab.ci.cloudbees.com/job/openHAB2-Bundles/lastSuccessfulBuild/org.openhab.binding$org.openhab.binding.zway/) manually and copy it into the addons folder. But I think you have to uninstall the Z-Way binding first via PaperUI.
Hey guys, openHABian doesn't do anything special in this area. The solution by @pathec is the one to go 👍 Good luck! @TS-Tec you might have write permission problems on the addons folder via samba. Ping me if you need help with that.
Thanks for your support!
@ThomDietrich Indeed I would appreciate your support! I am confused because I can't find the original installation folder of the binding. And I am not sure what of the new files have to be copied. Is it possible to clarify this directly with you? This would be great!! Thanks in advance!!
I found this in the community:
Do you think this will work also with the ZWay-Binding?
Will all things be kept? I am afraid of losing my whole configuration...
The configuration of the Z-Way Binding? Or other bindings? The Z-Way Binding configuration is probably deleted. But the description should work.
One possibility would be to save the configuration. I guess the complete configuration is stored in the JSON DB. So if you back up the files from the folder /openhab2/userdata/jsondb/
and copy back after the update, everything should be as before.
Maybe someone can confirm this?
I'm also not certain but yes, that should do the trick. You should do a backup before such changes. If anything goes wrong, you can restore from the backup. In case your devices are lost with the change of the binding version (which I'd believe will not happen) you should be able to restore them with the jsondb. So what you need to do: 1. backup 2. uninstall binding 3. copy the snapshot binding to the addons folder 4. restore configuration if needed.
OK, I will try this.
What is confusing for me: The addons folder is empty (I think because I installed all addons via PaperUI and they are stored in a different place). But is the handling the same if they are located in a different location? Will the configuration via PaperUI still be possible? I could imagine that the way via Karaf console (bundle:install) is better but I only found very poor documetation about the handling...
Yes, Bindings installed via PaperUI are stored in a different place. That's why you have to uninstall the Z-Way Binding first via PaperUI. The handling in PaperUI is the same!
The addons folder is intended specifically for sideloaded addons. All fine ;)
Guys I did something very stupid, but had the luck that it seems to work: I added the nightly and beta repos to my apt-sources and performed a apt-get update and upgrade. I thought it would only use stable versions but it updated to the latest SNAPSHOT!
I was very afraid to destroy everything but after I started OH again, all seems to work well and also my Z-Way Problem ist solved! (So this issue can be closed I think).
What do you propose? Should I stay at this SNAPSHOT and do some updates from time to time or should I restore backup and try to do it like we discussed before?
Do you know when OH 2.1 will become a stable release?
Never the less, thanks for your support!!
I'd say it's okay to stay with the snapshot version. Just be sure to update regularly and always make a backup, snapshots can contain breaking changes... 2.1 is due in 1-2 months but that's not confirmed yet.
Closing this issue is something you'll have to do yourself.
Closing this issue is something you'll have to do yourself.
👍 :)
While playing with the HomeKit OH integration, I recognized, that the on and off command do not work for dimmers. I then checked with the Karaf console and it is same behavior:
smarthome:send ZWay_Dimmer_Item percent_value
works fine (also 0 and 100!)smarthome:send ZWay_Dimmer_Item ON
orsmarthome:send ZWay_Dimmer_Item OFF
don't work. No change of the Z-Wave-Device.In the log, I can see, that the item changes but it looks like it is not recognized by the Z-Way-Server (nothing happens):
[INFO ] [smarthome.event.ItemCommandEvent ] - Item 'ZWay_Dimmer_Item' received command ON [INFO ] [marthome.event.ItemStateChangedEvent] - ZWay_Dimmer_Item changed from 0 to 100
This means, the show value of the item is not the real value as of the Z-Way device!