OH2 Z-Wave refactoring and testing... and SECURITY

@mdcollins05: Just to cross-check: Have you already tried to add the stick when you are running the regular zwave binding? Does it work there or does the same error occur?

1 Like

I am using the Aeotec Gen5 stick here with this binding just fine. Did you delete all existing Zwave devices including your controller from Habmin first?

My steps were to remove all Zwave Devices first. Then uninstalled the existing Zwave binding. Then stopped OH2, added the JAR to addons folder and restarted.

Then re-added the controller, set the USB port and then re-scanned for all Zwave devices.

So far so good, and all is working.

1 Like

Chris. Let me know when you may want to try something with this. From what I have learned, and also now looking within OZCP, there is an ā€˜Alarm Typeā€™. And if that can be added as a channel like you mention, then you check with a rule when that changes to also update your Lock Status in a SiteMap etc.

Let me know if you need any XML info. I do have a Kwikset 916 that like others has always shown as a 914TRL model.

Image from OZCP for the lock.

I need some help with my 916 to get alarms to be read from manual and code lock/unlocks

Yes - as I said we can hook this up to a channel - itā€™s just something Iā€™ve not yet done as Iā€™ve not had the chance. Iā€™ll take a look at it in the coming days. I donā€™t need anything as my lock also does this - I tested it a few months back but havenā€™t had the time to finish it (thereā€™s always something else someone wants :wink: ).

OZCP? I donā€™t see this on my openhab

Itā€™s a different software - not OH.

Open-Zwave-Contol-Panel. Like Chris mentioned, it is a separate software that one can use to pair devices to your controller. It is not a home automation type software like OpenHab. It just has its usefulness in some ways to access your Zwave controller.

I cannot access the jar url at the moment:
The following error was encountered while trying to retrieve the URL: http://www.cd-jackson.com/downloads/openhab2/org.openhab.binding.zwave-2.1.0-SNAPSHOT.jar

Nieudane połączenie z 86.186.169.244.

System zwrĆ³cił wartość: (111) Connection refused
Ping also unsuccessful.

Is it online?


I am using jar downloaded earlier during the day. I deleted all z-wave things while using previous version of binding (kar provided 2.0.0), deleted zwave from the list of active bindings in addons.cfg and uploaded jar into addons directory.

When adding things, most of the are added as unknown device (which was not the case previously). Upon Add command this is what appears in the log:

2017-02-02 19:49:56.991 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 15: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.991 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 17: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.992 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 19: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.993 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 20: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.993 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 21: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.994 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 22: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.994 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 23: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.995 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 24: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.995 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 25: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.996 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 28: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.997 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 29: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.998 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 30: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:56.999 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 31: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:57.000 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 32: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:57.001 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 37: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:57.002 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 38: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:57.003 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 39: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:57.003 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 40: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:57.004 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 41: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:57.004 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 42: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:57.005 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 44: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:57.005 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 45: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0
2017-02-02 19:49:57.006 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 52: Device discovery could not resolve to a thingType! 7FFFFFFF:7FFFFFFF:7FFFFFFF::0.0

Any hints?

Did you delete your existing zwave controller and turn off the existing Zwave 2.0 addon before installing and start the experimental one here?

I think so. While running KAR provided version I deleted all zwave related things in PaperUI, including controller, deleted zwave from the list of bindings in addons.cfg and restarted OH2. Then I uploaded experimental zwave jar.

Or it should be done some other way?

That may or may not be correct depending on your setup. Most of us have bindings installed and uninstalled either through the PaperUI or via Habmin (Extensions).

Make sure the existing 2.0 Zwave binding is not still installed.

Looks like the download link is down at the moment - Iā€™m getting 503: Service Unavailable.

I uninstalled zwave binding and the zwave controller itself from things shutdown, moved the JAR, started service back up, and then installed the zwave controller back, set port then reinstalled the binding itself.

https://www.mediafire.com/?3a7mva37742t1da mirror

James. What do you mean when you say you re-installed the binding itself?

After you uninstall the existing binding from PaperUI or Habmin. Stop OH2 and then add the JAR file to your addons folder. That is all. You do not actually than re-install the binding, and that is likely causing a conflict.

And just in case the binding in the addonā€™s folder doesnā€™t start, look towards the top of the topic on how to log into Karaf and manually start it.

it wouldnā€™t work until I deleted the zwave controller from things

Deleted the binding from extensions

moved the jar into add ons and totally re added, set serial port and had to exclude and re add the lock many times.

Your still not correct. Follow these steps.

  1. Delete all Zwave Things from Habmin.
  2. Uninstall the Zwave binding from Habmin. - You will NOT reinstall it.
  3. Stop OH2
  4. Copy the JAR file to your /usr/share/openhab2/addons folder.
  5. Start OH2.
  6. log into Karaf ieā€¦ ssh openhab@localhost -p 8101 password is habopen
  7. Start the zwave binding with: bundle:start org.openhab.binding.zwave
  8. If get an error, you need to install the serial binding first: feature:install openhab-transport-serial
  9. Now got back to Habmin, and Readd a Zwave Controller. Do NOT re-install the 2.0 Zwave Binding.
  10. Set your USB port and rescan for devices.
9 Likes

it works now the way I did it, I am afraid to touch it and break it. lol

Yes, you have your zwave working. But are you showing it with a secure paired lock? That is the main purpose of this experimental binding.