I followed your suggestion, thanks.
Hi @chris,
Long time Openhab user and moved to a new house. So starting my home automation from scratch. I checked out other softwares like Home Assistant, but came back to openhab, mostly because Zwave works best here.
2 questions, Iām thinking to start openhab 2.4 at the moment, or are there many Zwave upgrades in 2.5Mx that I should consider the upgrade? (All current nodes are detected in 2.4).
The second is more of a feature request. Hass.io has a very neat Zwave Network Graph, maybe you can look into it to upgrade yours?
Donāt know if it is allowed or not, or if your intrested into upgrading Habmin. Just an idea
Thanks,
Wouter
Chris, the developer recommends a 2.5 version. 2.5M4
was just released within the past day but Milestone 3 has been stable. Based on my experience, I would go with Milestone 4. If you are just movinf the controller over to the new system, the Things should follow once the controller is dicsovered. If you are planning on using your old Items, you may want to set the controller ID to match the old one so the new Thing IDs match your old system.
Just circling back - I reset my Zstick and manually reincluded every device slowly waiting for the problems to reappear. I got to one aeon labs smart plug and it would include but not appear properly then disassociate and act very strange. Since excluding from controller and leaving out of the network everything seems fine again. Thanks for looking at this and your advice @chris - your patience with us is commendable.
I included new zwave thing: AEOTEC button quad mode, while having 2.4.0 zwave binding, which does not have this device in DB.
Having notice that, I manually updated zwave binding to the 2.5.0.
Upon whole openhab restart, this device is still marked as unrecognized (I have verified that Iām running now zwave 2.5.0, also other zwave devices are working). I did (from paper ui) on thing: āreinitialize deviceā.
What are options EXCEPT for exclude/include, for binding to recognize this thing? What can I do?
A new device type and id (0002:0003) was added 3 weeks ago, so make sure you have a very recent zwave binding if you have this id combination.
Also make sure you delete the Thing and readd it.
Thank you for fast reply @sihui.
I checked and youāre right, I had binding 2.5.0.201901201452.
That was strange as I downloaded it yesterday from http://www.cd-jackson.com/downloads/openhab2/org.openhab.binding.zwave-2.5.0-SNAPSHOT.jar
Anyway I downloaded it now from https://ci.openhab.org/job/openHAB2-Bundles/lastSuccessfulBuild/artifact/bindings/org.openhab.binding.zwave/target/org.openhab.binding.zwave-2.5.0-SNAPSHOT.jar, I verified that bundle:list shows now version: 2.5.0.201912080410
(BTW for this binding build, I needed to add xstream.jar to my addons from http://central.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xstream/1.4.7_1/org.apache.servicemix.bundles.xstream-1.4.7_1.jar )
Unfortunately it still does not work. It still unknown. (openhab.log: ā2019-12-08 12:25:34.849 [WARN ] [ng.zwave.discovery.ZWaveDiscoveryService] - NODE 30: Device discovery could not resolve to a thingType! Manufacturer data not known.ā
Does it mean that exclude/include is the only possiblity? Or maybe may thing is sth not in db?
I did, remove/add thing from paperui.
BTW, there is no xml file for this node in /var/lib/openhab2/zwave directory.
OK, situation is now ok - the thing works.
In addition to the above I did wakeup on the thing, by pressing button for 5 secs. Upon it the thing communicated with controller and was recognized, xml written etc.
In total 3 things were needed:
- jar downloaded from cd-jackson has old/wrong version (this is strange?)
- you must remove/add thing
- you must force thing to wakeup and communicate
BTW, the thing description in web DB does not have proper id (ZWA003). I submitted change to DB.
Thank you again @sihui!
Please use official snapshots only - not test versions that I may make available for unofficial testing.
This generally means that you need to wake up the device so that the binding can read the data.
Same thing - the binding will only write the XML file when it has downloaded data from the device, and it will only do this once discovery is complete. For battery devices, you need to wake them up.
No - itās not strange. This is not the right place to download snapshots from unless explicitly told to do so.
That has been true since Milestone 2, I believe. That is why I recommend using the install script to manually install the binding.It handles dependencies.
Yeah, Iāve analysed your script, but to my taste itās too long/overeningered* with lot of old code/urls. Kind of clutter, but this is my subjective opinion, dont take it too serious I appreciate your time you put into it.
BTW it did not work properly for first time run: I did not have time to analyse due to the size of it, and Iām using quite non-standard openhab deployment so maybe it was a factor.
In effect I wrote short one script for myself for update procedure, using some info from yours.
Hello!
Iām having strange problem with newer zwave binding (I guess itās binding, and not the core problem). I was using #1460 nightly snapshot and everything was working fine. Iāve made a backup of the complete OH folder (Iām using OH on Windows 10 with latest java JRE installed) before I made an upgrade. Iāve tried upgrading to the latest nightly but both, controller and all the zwave things started going offline and online every minute or so. Iāve tried reverting to the backup, and it is working as expected. Than Iāve upgraded to milestone 6 (made an upgrade to backup of #1460), and zwave started going online and offline again. Iāve also tried removing all the things and recreating them, I even tried excluding and reincluding all zwave devices, and than recreating things, but it still behaved the same. Reverting to backup fixed it again. @chris, sorry to bother you, but youāre the only one that has insight in bindingās functionality. Iām using Aeon stick 2nd gen. Is it still supported with the latest versions of the binding? Also, strange error message (handle is invalid) that was showing back in January '17 and disappeared after some upgrade started to show up again (Strange error message in OH2 - Karaf console).
Any help would be highly appreciated.
Best regards,
Davor
Yes. Most sticks should be supported - some of the newer ones that may come out could have issues as ZWave revert to their closed system again .
I donāt think there are any Aeon sticks that shouldnāt work with the binding.
Do you have any idea why is this happening, or do you know something I could try to make new binding work, and stop controller from going offline and online all the time? I donāt need new version of zwave binding, but I need new OH version for some other stuff that old version does not support. Thank you for your help.
Best regards,
Davor
Sorry - no, Iām not sure. It looks like a low level serial/USB issue rather than a binding issue.
I hope you mean latest Java 8
. Newer versions are not currently supported by openHAB.
Hello!
Yes, thatās what I meant. Actual version is JRE 1.8.0 build 231.
Best regards,
Davor
Thatās strange, because it works with older version of OH/binding. Iāll try to find if thereās an update for driver and/or stick firmware. Thank you for your help.
Best regards,
Davor
The newer binding is probably using a newer serial driver as it now uses the OH embedded serial driver.
Just to post my findings regarding this problem. Iāve updated both, Z-Stick S2 firmware (to v3.08, not sure what version it had before upgrade) and Z-Stick S2 Windows driver (to CP210x driver from June 2019; previous driver was from April 2018). After that, Iāve upgraded OH to latest snapshot, but Z-Wave devices (I guess controller is problem that causes other devices to misbehave too) are still changing state from online to offline and vice verse every minute or so. Iāve reverted to backup and I will leave it that way for some time, to see if some future OH update will solve this.
Best regards,
Davor