Z-wave (Schlage) Lock Support on OH1

git clone -b dbadia-security-mmerge https://github.com/cdjackson/openhab.git is what I am trying to build… that should do it right?

Oh yeah… so i got some MVN errors when I tried to build that. so I copied over the zwave bundle to a branch that works. i must have missed something…
Here are my build errors when I run “mvn package” in the cloned directory

root@p0larnix:~/openhab/openhabZLocks/openhab# mvn
[INFO] Scanning for projects…
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module /root/openhab/openhabZLocks/openhab/bundles/binding/org.openhab.binding.zwave.test of /root/openhab/openhabZLocks/openhab/bundles/binding/pom.xml does not exist @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.openhab.bundles:binding:1.9.0-SNAPSHOT (/root/openhab/openhabZLocks/openhab/bundles/binding/pom.xml) has 1 error
[ERROR] Child module /root/openhab/openhabZLocks/openhab/bundles/binding/org.openhab.binding.zwave.test of /root/openhab/openhabZLocks/openhab/bundles/binding/pom.xml does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
root@p0larnix:~/openhab/openhabZLocks/openhab#

Try going into the binding directory and then building:

root@maggie ~ # git clone -b dbadia-security-mmerge https://github.com/cdjackson/openhab.git
root@maggie ~ # cd openhab/bundles/binding/org.openhab.binding.zwave/
root@maggie org.openhab.binding.zwave # mvn package
    [INFO] Scanning for projects...
    [INFO] Computing target platform for MavenProject: org.openhab.binding:org.openhab.binding.zwave:1.9.0-SNAPSHOT @ /root/openhab/bundles/binding/org.openhab.binding.zwave/pom.xml
    [INFO] Adding repository http://download.eclipse.org/smarthome/updates-stable
    [INFO] Adding repository https://dl.bintray.com/openhab/p2/openhab-core/2.0.0.x
    [INFO] Adding repository https://dl.bintray.com/openhab/p2/openhab-deps-repo/1.0.0
    [INFO] Resolving dependencies of MavenProject: org.openhab.binding:org.openhab.binding.zwave:1.9.0-SNAPSHOT @ /root/openhab/bundles/binding/org.openhab.binding.zwave/pom.xml
    [WARNING] The following locally built units have been used to resolve project dependencies:
    [WARNING]   org.openhab.core.library/1.8.3
    [WARNING]   org.openhab.model.item/1.8.3
    [WARNING]   org.openhab.core.scriptengine/1.8.3
    [WARNING]   org.openhab.core.scheduler/1.8.3
    [WARNING]   org.openhab.core.autoupdate/1.8.3
    [WARNING]   org.openhab.core/1.8.3
    [WARNING]   org.openhab.config.core/1.8.3
    [WARNING]   org.openhab.model.core/1.8.3
    [INFO] Resolving class path of MavenProject: org.openhab.binding:org.openhab.binding.zwave:1.9.0-SNAPSHOT @ /root/openhab/bundles/binding/org.openhab.binding.zwave/pom.xml
    [INFO]                                                                         
    [INFO] ------------------------------------------------------------------------
    [INFO] Building openHAB ZWave Binding 1.9.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO] 
    [INFO] --- tycho-packaging-plugin:0.24.0:build-qualifier (default-build-qualifier) @ org.openhab.binding.zwave ---
    [INFO] The project's OSGi version is 1.9.0.201608171602
    [INFO] 
    [INFO] --- tycho-packaging-plugin:0.24.0:validate-id (default-validate-id) @ org.openhab.binding.zwave ---
    [INFO] 
    [INFO] --- tycho-packaging-plugin:0.24.0:validate-version (default-validate-version) @ org.openhab.binding.zwave ---
    [INFO] 
    [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.openhab.binding.zwave ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 1 resource
    [INFO] 
    [INFO] --- tycho-compiler-plugin:0.24.0:compile (default-compile) @ org.openhab.binding.zwave ---
    [INFO] Compiling 174 source files to /root/openhab/bundles/binding/org.openhab.binding.zwave/target/classes
    [INFO] 
    [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ org.openhab.binding.zwave ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory /root/openhab/bundles/binding/org.openhab.binding.zwave/src/test/resources
    [INFO] 
    [INFO] --- target-platform-configuration:0.24.0:target-platform (default-target-platform) @ org.openhab.binding.zwave ---
    [INFO] 
    [INFO] --- tycho-packaging-plugin:0.24.0:package-plugin (default-package-plugin) @ org.openhab.binding.zwave ---
    [INFO] Building jar: /root/openhab/bundles/binding/org.openhab.binding.zwave/target/org.openhab.binding.zwave-1.9.0-SNAPSHOT.jar
    [INFO] 
    [INFO] --- tycho-p2-plugin:0.24.0:p2-metadata-default (default-p2-metadata-default) @ org.openhab.binding.zwave ---
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 24.902 s
    [INFO] Finished at: 2016-08-17T12:02:21-04:00
    [INFO] Final Memory: 40M/446M
    [INFO] ------------------------------------------------------------------------

I would remove this from the pom - it should fix it. I’m not sure why it’s there as the tests were added later.

I’ll also update the git repo shortly to remove it.

Edit: It’s now updated on github and the latest master is also merged as I fixed a small bug yesterday.

How do I build a jar from a branch? Is there a tutorial?

1 Like

You just build the JAR in the same way - you need to use git to swap to the branch you want to build.

Probably hundreds - just google something like “git change branch”. However if you look a few lines up, there are already examples of checking out the branch.

Got it built. testing now. weird that habmin stopped working… Ideas?

dpackham@p0larNix:/var/log/openhab$ tail -f openhab.log  | grep -i habmin
2016-08-22 22:25:12.100 [DEBUG] [nhab.io.habmin.HABminActivator] - HABmin Interface has been started.
2016-08-22 22:25:12.111 [ERROR] [OSGi                          ] - Could not bind a reference of component org.openhab.io.habmin.servlet. The reference is: Reference[name = PersistenceService, interface = org.openhab.core.persistence.PersistenceService, policy = dynamic, cardinality = 0..n, target = null, bind = addPersistenceService, unbind = removePersistenceService]
2016-08-22 22:25:12.111 [ERROR] [OSGi                          ] - Could not bind a reference of component org.openhab.io.habmin.servlet. The reference is: Reference[name = PersistenceService, interface = org.openhab.core.persistence.PersistenceService, policy = dynamic, cardinality = 0..n, target = null, bind = addPersistenceService, unbind = removePersistenceService]
2016-08-22 22:25:12.113 [ERROR] [OSGi                          ] - Could not bind a reference of component org.openhab.io.habmin.servlet. The reference is: Reference[name = ConfigurationService, interface = org.openhab.binding.zwave.internal.config.OpenHABConfigurationService, policy = dynamic, cardinality = 0..n, target = null, bind = addConfigurationService, unbind = removeConfigurationService]
2016-08-22 22:25:12.114 [ERROR] [OSGi                          ] - Could not bind a reference of component org.openhab.io.habmin.servlet. The reference is: Reference[name = ConfigurationService, interface = org.openhab.binding.zwave.internal.config.OpenHABConfigurationService, policy = dynamic, cardinality = 0..n, target = null, bind = addConfigurationService, unbind = removeConfigurationService]
2016-08-22 22:25:12.379 [INFO ] [.o.io.habmin.HABminApplication] - Started HABmin REST API at /services/habmin

I have the same BE469 that most people on this post have, here’s the secure inclusion log from my latest attempt. Before this attempt I: excluded the insecurely paired version from openhab, factory reset the lock and restarted the openhab server. The lock is sitting on the table less than a foot from the z-stick; any ideas what the problem could be?

Time Node Entry
21:27:14.186 3
Message retry (0 attempts remaining)
21:27:14.307 3
SECURE ERROR Invalid state! Secure inclusion has not completed and we are not in inclusion mode. Aborting
21:27:19.813 3
Message retry (2 attempts remaining)
21:27:24.815 3
Message retry (1 attempts remaining)
21:27:29.821 3
Message retry (0 attempts remaining)
21:27:39.834 3
Message retry (2 attempts remaining)
21:27:44.837 3
Message retry (1 attempts remaining)
21:27:49.843 3
Message retry (0 attempts remaining)
21:28:01.120 3
Message retry (2 attempts remaining)
21:28:06.124 3
Message retry (1 attempts remaining)
21:28:11.126 3
Message retry (0 attempts remaining)
21:28:21.135 3
Message retry (2 attempts remaining)
21:28:26.139 3
Message retry (1 attempts remaining)
21:28:31.143 3
Message retry (0 attempts remaining)
21:28:41.154 3
Message retry (2 attempts remaining)
21:28:46.159 3
Message retry (1 attempts remaining)
21:29:10.505
Message retry (2 attempts remaining)
21:29:33.996
Message retry (2 attempts remaining)
21:29:39.002
Message retry (1 attempts remaining)
21:29:44.002
Message retry (0 attempts remaining)
21:30:40.668 4
Message retry (2 attempts remaining)
21:30:41.025 4
SECURE ERROR Device message contained nonce that is unknown to us, id=44.
21:30:46.030 4
Message retry (2 attempts remaining)
21:30:46.113 4
SECURE ERROR Device message contained nonce that was previously used, id=44.
21:48:36.711
Message retry (2 attempts remaining)
21:48:41.714
Message retry (1 attempts remaining)
21:48:43.146 4
Message retry (0 attempts remaining)
21:48:46.716
Message retry (0 attempts remaining)
21:48:48.176
Message retry (2 attempts remaining)
21:48:53.178
Message retry (1 attempts remaining)
21:48:58.179
Message retry (0 attempts remaining)
21:49:06.714
Message retry (2 attempts remaining)
21:49:08.185
Message retry (2 attempts remaining)
21:49:11.715
Message retry (1 attempts remaining)
21:49:13.187
Message retry (1 attempts remaining)
21:49:16.717
Message retry (0 attempts remaining)
21:49:18.189
Message retry (0 attempts remaining)
21:49:28.192
Message retry (2 attempts remaining)
21:49:33.193
Message retry (1 attempts remaining)
21:49:38.195
Message retry (0 attempts remaining)
21:49:48.200
Message retry (2 attempts remaining)
21:49:53.203
Message retry (1 attempts remaining)
21:49:58.204
Message retry (0 attempts remaining)
21:59:32.937 5
Message retry (2 attempts remaining)
21:59:33.304 5
SECURE ERROR Device message contained nonce that is unknown to us, id=-85.
21:59:38.307 5
Message retry (2 attempts remaining)
21:59:38.393 5
SECURE ERROR Device message contained nonce that was previously used, id=-85.
21:59:43.658 5
SECURE INCLUSION Failed at step SECURITY_NETWORK_KEY_SET: 10000ms passed since last request was sent, secure inclusion failed.
21:59:49.070 5
Message retry (2 attempts remaining)
21:59:54.073 5
Message retry (1 attempts remaining)
21:59:59.078 5
Message retry (0 attempts remaining)
22:00:09.144 5
Message retry (2 attempts remaining)
22:00:14.148 5
Message retry (1 attempts remaining)
22:00:19.152 5
Message retry (0 attempts remaining)
22:00:29.159 5
Message retry (2 attempts remaining)
22:00:34.225 5
Message retry (1 attempts remaining)
22:00:39.232 5
Message retry (0 attempts remaining)
22:00:49.240 5
Message retry (2 attempts remaining)
22:00:54.243 5
Message retry (1 attempts remaining)
22:00:59.245 5
Message retry (0 attempts remaining)
22:01:09.306 5
Message retry (2 attempts remaining)
22:01:14.311 5
Message retry (1 attempts remaining)
22:01:19.314 5
Message retry (0 attempts remaining)
22:02:24.083 5
Message retry (2 attempts remaining)
22:02:29.085 5
Message retry (1 attempts remaining)
22:02:34.091 5
Message retry (0 attempts remaining)
22:10:24.082 5
Message retry (2 attempts remaining)
22:10:29.086 5
Message retry (1 attempts remaining)
22:10:34.089 5
Message retry (0 attempts remaining)
22:17:55.345
TX REQ Remove Node REMOVE_NODE_ANYRemoveNodeFromNetwork
22:17:55.474
RX REQ Remove Node REMOVE_NODE_STATUS_LEARN_READYRemoveNodeFromNetwork
22:17:58.837
RX REQ Remove Node REMOVE_NODE_STATUS_NODE_FOUNDRemoveNodeFromNetwork
22:17:58.841 5
RX REQ Remove Node REMOVE_NODE_STATUS_REMOVING_SLAVE NODE 5RemoveNodeFromNetwork
22:17:58.844 5
RX REQ Remove Node REMOVE_NODE_STATUS_DONE NODE 5RemoveNodeFromNetwork
22:18:01.851
TX REQ GetVersionGetVersion
22:18:01.856
RX RES GetVersionGetVersion
22:18:01.861
TX REQ MemoryGetIdMemoryGetId
22:18:01.865
RX RES MemoryGetId: HomeID EBD99462 ControllerID NODE 1MemoryGetId
22:18:01.869
TX REQ SerialApiGetCapabilitiesSerialApiGetCapabilities
22:18:01.876
RX RES Controller Info 0086:0101:005ASerialApiGetCapabilities
22:18:01.888
TX REQ SerialApiSetTimeoutsSerialApiSetTimeouts
22:18:01.891
RX RES SerialApiSetTimeoutsSerialApiSetTimeouts
22:18:01.895
TX REQ GetSucNodeIdGetSucNodeId
22:18:01.897
RX RES SUC ID: NOT SETGetSucNodeId
22:18:01.900
TX REQ SerialApiGetInitDataSerialApiGetInitData
22:18:01.999
RX RES SerialApiGetInitData: Found 1 nodesSerialApiGetInitData
22:18:02.004
TX REQ GetControllerCapabilitiesGetControllerCapabilities
22:18:02.018
RX RES GetControllerCapabilitiesGetControllerCapabilities
22:18:02.071 1
Stage advanced to PROTOINFO
22:18:02.073 1
TX REQ IdentifyNodeIdentifyNode
22:18:02.077 1
RX RES IdentifyNode: STATIC_CONTROLLER PC_CONTROLLER LISTENING FLIRS250 FLIRS1000 ROUTING BEAMINGIdentifyNode
22:18:02.082 1
Stage advanced to PROTOINFO
22:18:02.083 1
Stage advanced to INIT_NEIGHBORS
22:18:02.084 1
TX REQ IdentifyNodeIdentifyNode
22:18:02.089 1
RX RES IdentifyNode: STATIC_CONTROLLER PC_CONTROLLER LISTENING FLIRS250 FLIRS1000 ROUTING BEAMINGIdentifyNode
22:18:02.093 1
TX REQ GetRoutingInfoGetRoutingInfo
22:18:02.098 1
RX RES RoutingInfo: Found 0 neighboursGetRoutingInfo
22:18:02.121 1
Stage advanced to FAILED_CHECK
22:18:25.342
TX REQ Remove Node REMOVE_NODE_STOPRemoveNodeFromNetwork
22:18:30.342
Message retry (2 attempts remaining)
22:18:30.343
TX REQ Remove Node REMOVE_NODE_STOPRemoveNodeFromNetwork
22:18:35.343
Message retry (1 attempts remaining)
22:18:35.344
TX REQ Remove Node REMOVE_NODE_STOPRemoveNodeFromNetwork
22:18:40.345
Message retry (0 attempts remaining)
22:18:40.346
TX REQ Remove Node REMOVE_NODE_STOPRemoveNodeFromNetwork
22:20:12.434
Binding started. Version 2.0.0.201608280109
22:20:17.292
TX REQ GetVersionGetVersion
22:20:17.304
RX RES GetVersionGetVersion
22:20:17.336
TX REQ MemoryGetIdMemoryGetId
22:20:17.340
RX RES MemoryGetId: HomeID EBD99462 ControllerID NODE 1MemoryGetId
22:20:17.362
TX REQ SerialApiGetCapabilitiesSerialApiGetCapabilities
22:20:17.368
RX RES Controller Info 0086:0101:005ASerialApiGetCapabilities
22:20:17.400
TX REQ SerialApiSetTimeoutsSerialApiSetTimeouts
22:20:17.403
RX RES SerialApiSetTimeoutsSerialApiSetTimeouts
22:20:17.434
TX REQ GetSucNodeIdGetSucNodeId
22:20:17.437
RX RES SUC ID: NOT SETGetSucNodeId
22:20:17.453
TX REQ SerialApiGetInitDataSerialApiGetInitData
22:20:17.553
RX RES SerialApiGetInitData: Found 1 nodesSerialApiGetInitData
22:20:17.569
TX REQ GetControllerCapabilitiesGetControllerCapabilities
22:20:17.579
RX RES GetControllerCapabilitiesGetControllerCapabilities
22:20:17.803 1
Stage advanced to PROTOINFO
22:20:17.808 1
TX REQ IdentifyNodeIdentifyNode
22:20:17.812 1
RX RES IdentifyNode: STATIC_CONTROLLER PC_CONTROLLER LISTENING FLIRS250 FLIRS1000 ROUTING BEAMINGIdentifyNode
22:20:17.832 1
Stage advanced to INIT_NEIGHBORS
22:20:17.832 1
Stage advanced to PROTOINFO
22:20:17.833 1
Stage advanced to INIT_NEIGHBORS
22:20:17.835 1
TX REQ GetRoutingInfoGetRoutingInfo
22:20:17.841 1
RX RES RoutingInfo: Found 0 neighboursGetRoutingInfo
22:20:17.857 1
Stage advanced to FAILED_CHECK
22:20:17.884 1
TX REQ GetRoutingInfoGetRoutingInfo
22:20:17.892 1
RX RES RoutingInfo: Found 0 neighboursGetRoutingInfo
22:20:33.232
TX REQ Add Node ADD_NODE_ANY HIGH POWER NWIAddNodeToNetwork
22:20:33.236
RX REQ Add Node ADD_NODE_STATUS_LEARN_READYAddNodeToNetwork
22:20:34.354
RX REQ Add Node ADD_NODE_STATUS_NODE_FOUNDAddNodeToNetwork
22:20:34.501 6
RX REQ Add Node ADD_NODE_STATUS_ADDING_SLAVE NODE 6AddNodeToNetwork
22:20:34.509
TX REQ Add Node ADD_NODE_STOPAddNodeToNetwork
22:20:34.564 6
RX REQ Add Node ADD_NODE_STATUS_DONE NODE 6AddNodeToNetwork
22:20:34.747 6
Stage advanced to IDENTIFY_NODE
22:20:34.768 6
TX REQ IdentifyNodeIdentifyNode
22:20:34.771 6
RX RES IdentifyNode: ROUTING_SLAVE SECURE_KEYPAD_DOOR_LOCK LISTENING FLIRS250 FLIRS1000 ROUTING BEAMINGIdentifyNode
22:20:34.811 6
Stage advanced to MANUFACTURER
22:20:34.902 6
TX REQ SendData 2 Sent MANUFACTURER_SPECIFIC_GETSendData
22:20:34.911 6
RX RES SendData 2 ACCEPTED BY CONTROLLERSendData
22:20:34.969 6
RX REQ SendData 2 ACK RECEIVED from device in 67msSendData
22:20:35.054 6
RX REQ MANUFACTURER_SPECIFIC_REPORT 003B:6341:5044 Schlage, Touchscreen DeadboltApplicationCommandHandler
22:20:39.909 6
Sending data abort
22:20:39.909
TX REQ SendDataAbortSendDataAbort
22:20:39.910 6
Message retry (2 attempts remaining)
22:20:39.911 6
TX REQ SendData 4 Sent MANUFACTURER_SPECIFIC_GETSendData
22:20:39.920 6
RX RES SendData 4 ACCEPTED BY CONTROLLERSendData
22:20:39.937 6
RX REQ SendData 4 ACK RECEIVED from device in 26msSendData
22:20:39.950 6
RX REQ MANUFACTURER_SPECIFIC_REPORT 003B:6341:5044 Schlage, Touchscreen DeadboltApplicationCommandHandler
22:20:39.954 6
Stage advanced to SECURITY_REPORT
22:20:39.955 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX ----ms LAST TX 1ms
22:20:39.957 6
TX REQ SendData 5 Sent SECURITY_SCHEME_GETSendData
22:20:39.968 6
RX RES SendData 5 ACCEPTED BY CONTROLLERSendData
22:20:39.983 6
RX REQ SendData 5 ACK RECEIVED from device in 26msSendData
22:20:40.052 6
RX REQ SECURITY_SCHEME_REPORT SCHEME_0ApplicationCommandHandler
22:20:40.074 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 10ms LAST TX 2ms
22:20:40.076 6
TX REQ SendData 6 Sent SECURITY_NONCE_GETSendData
22:20:40.084 6
RX RES SendData 6 ACCEPTED BY CONTROLLERSendData
22:20:40.113 6
RX REQ SendData 6 ACK RECEIVED from device in 37msSendData
22:20:40.129 6
RX REQ SECURITY_NONCE_REPORT NONCE ID 102ApplicationCommandHandler
22:20:40.156 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 21ms LAST TX 1ms
22:20:40.167 6
TX REQ SendData 7 Sent SECURITY_ENCAP NONCE ID 102SendData
22:20:40.179 6
RX RES SendData 7 ACCEPTED BY CONTROLLERSendData
22:20:40.204 6
RX REQ SendData 7 ACK RECEIVED from device in 37msSendData
22:20:40.320 6
RX REQ SECURITY_NONCE_GETApplicationCommandHandler
22:20:40.323 6
SECURE ERROR Device message contained nonce that is unknown to us, id=-4.
22:20:40.325 6
TX REQ SendData 8 Sent SECURITY_NONCE_REPORT NONCE ID 252SendData
22:20:40.334 6
RX RES SendData 8 ACCEPTED BY CONTROLLERSendData
22:20:40.354 6
RX REQ SendData 8 ACK RECEIVED from device in 29msSendData
22:20:40.408 6
RX REQ SECURITY_ENCAP NONCE ID 252ApplicationCommandHandler
22:20:40.415 6
SECURE RXD SECURITY_KEY_VERIFY
22:20:40.563 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 241ms LAST TX 239ms
22:20:41.365 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 1043ms LAST TX 1041ms
22:20:42.167 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 1845ms LAST TX 1843ms
22:20:42.972 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 2650ms LAST TX 2648ms
22:20:43.774 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 3452ms LAST TX 3450ms
22:20:45.331 6
Message retry (2 attempts remaining)
22:20:45.333 6
TX REQ SendData 9 Sent SECURITY_NONCE_REPORT NONCE ID 252SendData
22:20:45.341 6
RX RES SendData 9 ACCEPTED BY CONTROLLERSendData
22:20:45.361 6
RX REQ SendData 9 ACK RECEIVED from device in 28msSendData
22:20:45.383 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 5061ms LAST TX 5059ms
22:20:45.413 6
RX REQ SECURITY_ENCAP NONCE ID 252ApplicationCommandHandler
22:20:45.418 6
SECURE ERROR Device message contained nonce that was previously used, id=-4.
22:20:45.419 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 5097ms LAST TX 0ms
22:20:45.422 6
TX REQ SendData 4 Sent MANUFACTURER_SPECIFIC_GETSendData
22:20:45.430 6
RX RES SendData 4 ACCEPTED BY CONTROLLERSendData
22:20:45.452 6
RX REQ SendData 4 ACK RECEIVED from device in 30msSendData
22:20:45.482 6
RX REQ MANUFACTURER_SPECIFIC_REPORT 003B:6341:5044 Schlage, Touchscreen DeadboltApplicationCommandHandler
22:20:45.501 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 5179ms LAST TX 2ms
22:20:45.906 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 5584ms LAST TX 407ms
22:20:46.708 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 6386ms LAST TX 1209ms
22:20:48.319 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 7997ms LAST TX 2820ms
22:20:49.924 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 9602ms LAST TX 4425ms
22:20:50.732 6
SECURE INCLUSION INCLUSION IN PROGRESS PAIRED LAST RX 10410ms LAST TX 5233ms
22:20:50.732 6
SECURE INCLUSION Failed at step SECURITY_NETWORK_KEY_SET: 10000ms passed since last request was sent, secure inclusion failed.

I see in the HABmin instructions that you need to download the zwave jar as well. does the needed code not exist in the one i hand built from the above repo?

I’m not completely sure I understand your question but HABmin is independant of ZWave. If you want to run the lock code, then just use the repo I referenced above.

yes. sorry not really clear. when I download the jar file from your site habmin doesnt work and gives the errors above. when I git clone the directory into webapps/habmin it works. so for now im working and can test zwave again. :slight_smile:

the reference and my confusion to the zwave jar comes from the install page saying to download all the jar files on the site… zwave*.jar and org.habmin*.jar to the addons folder.

either way its working now and OH2 is on the horizion :slight_smile:

time to test secure zwave

Thanks Chris for your help and great code.

To be clear, you mean downloading the HABmin JAR file - right? You are compiling the ZWave JAR yourself?

It probably should say that any zwave JAR can be used - maybe you ended up with 2 of them or something… Anyhow, if it’s working, then all good :wink:

All good :slight_smile:

now just wish I could switch to OH2. still a bit buggy to get rolling enough for the wife :slight_smile:

Does the lock really need to be touching the zwave gen5 stick to secure include? or can it be downstairs? its been included now a few times from about 30ft and it says it cant finish secure include. i think i read somewhere that the gen5 stick must be plugged into OH to secure include is that right? ive also read that i need to unplug the gen5 and move it to touching the lock and use the gen5 button to include/exclude???

It doesn’t have to be touching. 30ft should be ok (just), but it will depend on your house construction (concrete/wood) and probably a bunch of other stuff.

Normally I would recommend a few meters…

Absolutely.

No - not for secure inclusion. The stick MUST be plugged in to OH. If it doesn’t include first time, you must exclude and re-include. There are tight timing constraints on secure inclusion.

ok… trying again. all wood in the way… details and logs in a bit :slight_smile:

I’m about to head off to bed here, and then am travelling for the next 2 days, so not sure I’ll get the chance to look until tomorrow night at least…

Good luck.

rebuilding and figured out again that I needed to add the below to the products.xml file again and rebuild :slight_smile: also needed to copy the kwikset_914.xml to 914trl.xml to match your xml from your device database. any way this 914 can be included in your next build as a default?

still need to ex/include again to see if I can see the lock status

Dave

0090
Kwikset

0001 0001 914TRL Touchpad Electronic Deadbolt kwikset/914trl.xml

Sure. If you can create a PR into the main OH1 binding I’ll merge it there and then merge this into the master branch.