My openhab is 2.4 on RaspberryPi, I installed zwave binding. Many zwave devices were discovered but the danalock was “Unknown Device”. It appears online but there is no channels or parameters.
can anyone help?
thx
This is the logs of adding danalock
2019-05-12 04:22:02.682 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'zwave:device:879bcf06:node3' to inbox.
2019-05-12 04:22:03.346 [home.event.InboxAddedEvent] - Discovery Result with UID 'zwave:device:879bcf06:node3' has been added.
2019-05-12 04:22:14.071 [me.event.InboxRemovedEvent] - Discovery Result with UID 'zwave:device:879bcf06:node3' has been removed.
2019-05-12 04:22:14.143 [hingStatusInfoChangedEvent] - 'zwave:device:879bcf06:node3' changed from UNINITIALIZED to INITIALIZING
2019-05-12 04:22:14.187 [hingStatusInfoChangedEvent] - 'zwave:device:879bcf06:node3' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline
2019-05-12 04:22:14.233 [hingStatusInfoChangedEvent] - 'zwave:device:879bcf06:node3' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-05-12 04:22:14.245 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:879bcf06:node3' has been updated.
2019-05-12 04:22:14.255 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:879bcf06:node3' has been updated.
2019-05-12 04:22:14.266 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:879bcf06:node3' has been updated.
2019-05-12 19:51:04.891 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zwave-2.5.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zwave [248]
Unresolved requirement: Import-Package: org.eclipse.smarthome.io.transport.serial
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]
I used the karaf consol and installed the serial driver with
feature:install openhab-transport-serial
openhab> list -s | grep xstream
270 x Active x 80 x 1.4.7.1 x org.apache.servicemix.bundles.xstream
Then installed the “Serial Binding” in paper ui
the “.xstream-1.4.7_1.jar” file still in addones folder
but the problem not solving! the danalock still unknown device
2019-05-13 03:51:06.586 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:c752b950' changed from UNINITIALIZED to INITIALIZING
2019-05-13 03:51:06.658 [me.event.ThingUpdatedEvent] - Thing 'zwave:serial_zstick:c752b950' has been updated.
==> /var/log/openhab2/openhab.log <==
2019-05-13 03:51:06.658 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyACM0'
==> /var/log/openhab2/events.log <==
2019-05-13 03:51:06.669 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:c752b950' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline
==> /var/log/openhab2/openhab.log <==
2019-05-13 03:51:06.713 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2019-05-13 03:51:06.756 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2019-05-13 03:51:06.758 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
==> /var/log/openhab2/events.log <==
2019-05-13 03:51:10.963 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:c752b950' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-05-13 03:51:10.973 [me.event.ThingUpdatedEvent] - Thing 'zwave:serial_zstick:c752b950' has been updated.
==> /var/log/openhab2/openhab.log <==
2019-05-13 03:51:33.458 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'zwave:device:c752b950:node3' to inbox.
==> /var/log/openhab2/events.log <==
2019-05-13 03:51:33.461 [home.event.InboxAddedEvent] - Discovery Result with UID 'zwave:device:c752b950:node3' has been added.
==> /var/log/openhab2/openhab.log <==
2019-05-13 03:52:11.577 [WARN ] [wave.discovery.ZWaveDiscoveryService] - NODE 2: Device discovery could not resolve to a thingType! Manufacturer data not known.
==> /var/log/openhab2/events.log <==
2019-05-13 03:52:11.592 [home.event.InboxAddedEvent] - Discovery Result with UID 'zwave:device:c752b950:node2' has been added.
==> /var/log/openhab2/openhab.log <==
2019-05-13 03:52:11.590 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'zwave:device:c752b950:node2' to inbox.
==> /var/log/openhab2/events.log <==
2019-05-13 03:52:39.017 [me.event.InboxRemovedEvent] - Discovery Result with UID 'zwave:device:c752b950:node2' has been removed.
2019-05-13 03:52:39.102 [hingStatusInfoChangedEvent] - 'zwave:device:c752b950:node2' changed from UNINITIALIZED to INITIALIZING
2019-05-13 03:52:39.108 [hingStatusInfoChangedEvent] - 'zwave:device:c752b950:node2' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline
2019-05-13 03:52:39.115 [hingStatusInfoChangedEvent] - 'zwave:device:c752b950:node2' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-05-13 03:52:39.127 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:c752b950:node2' has been updated.
2019-05-13 03:52:39.142 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:c752b950:node2' has been updated.
2019-05-13 03:52:39.158 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:c752b950:node2' has been updated.
From your log it looks okay, the zwave stick is online.
First check through karaf if you really have the latest (and only the latest) zwave binding active:
bundle:list | grep -i zwave
If you are seeing something like this (with a different date stamp)
296 x Active x 80 x 2.5.0.201904040140 x ZWave Binding
it should be okay.
Then the only thing to do is including the lock again.
For secure devices you need to:
exclude the device
factory reset the device
include the device (through the binding!) within the first 15 seconds after the binding started inclusion
After that check if any xml files were created in your userdata/zwave folder.
If you have a zwave stick with battery and an inclusion button, don’t use that for secure inclusion.
Instead go to either “Inbox” and hit the plus sign, then choose the zwave binding for PaperUI or go to “Configuration” “Things” and hit the plus sign in HABmin.
After hitting the plus sign you have 15 seconds max to start the inclusion process on your device.
It is work finally, But turned to offline, I rebooted openhab but there is nothing change
2019-05-13 17:56:26.656 [hingStatusInfoChangedEvent] - 'zwave:device:24e12744:node2' changed from ONLINE: Node initialising: REQUEST_NIF to OFFLINE (COMMUNICATION_ERROR): Node is not communicating with controller
It toggling between online and offline, When it is online, I select lock from paper ui control interface. It gives me this log
2019-05-13 18:09:01.225 [WARN ] [nal.converter.ZWaveDoorLockConverter] - NODE 2: Command class COMMAND_CLASS_DOOR_LOCK not found
Not sure what is going on.
Did you include that device before without security?
Then after further attempts you always need to factory reset the device.
I don’t have any secure zwave locks but from what I understand it is wise to pair them securely
Make sure you are following the inclusion procedure according to the manual and also make sure to take a look at the “Usage information” in the database:
How to make the inclusion process. As I know the only way is
1-Unplug Z-stick from raspberry pi
2-Put the Z-stick in inclusion mode by pressing the button one time
3-Put the Danalock in inclusion mode by click on time on its button
4-Plug the Z-stick in raspberry pi again
@sihui
First, thank you very much for your interest.
I did all the steps as you said
1- Reset Z-stick
2- Reset the Danalock
3- Connect the Danalock to the app by Bluetooth
4- Go to HABmin and search for zwave devices
5- Click 1 time on the Danalock button to include
But It is not added to the inbox