Zwave add new device to OH 2.4 stable

Thank you all!
I finally managed it!

In case anyone else is interested in how to do this I summarize my steps below:

  1. Deinstalled zwave binding via PaperUI
  2. Download the zwave-binding jar of OH 2.4 from JFrog:
    https://openhab.jfrog.io/openhab/webapp/#/artifacts/browse/tree/General/bintray-openhab/org/openhab/binding/org.openhab.binding.zwave/2.4.0/org.openhab.binding.zwave-2.4.0.jar
  3. Download the xml file from the zwave database (in my case I added a new device)
    Either from Chris’ ZWave database directly
    https://github.com/openhab/org.openhab.binding.zwave/blob/master/src/main/resources/ESH-INF/thing/devolo/mt2759_0_0.xml
    or from the gitlab latest build
    src/main/resources/ESH-INF/thing/devolo/mt2759_0_0.xml
    https://github.com/openhab/org.openhab.binding.zwave/blob/master/src/main/resources/ESH-INF/thing/devolo/mt2759_0_0.xml
  4. Copy org.openhab.binding.zwave-2.4.0.jar to a working directory and create the sub-structure (as described here Modify a zwave binding jar to add/change a zwave device while waiting for a build)
 |_ [working directory where jar was downloaded to]
     |_ ESH-INF
         |_ thing
             |_ [vendor]
  1. Updated the jar file with the new xml
    jar -uf org.openhab.binding.zwave-2.4.0.jar ./ESH-INF/thing/devolo/mt2759_0_0.xml
  2. Copied the jar file to the addons directory
    sudo cp org.openhab.binding.zwave-2.4.0.jar /usr/share/openhab2/addons/
  3. Waited for (re-)start of binding

Everything works fine now…
Thanks to all!

1 Like