Having successfully overcome the hurdle of transitioning from openHAB 1 to openHAB 2 I thought I would try and add my door locks to the system as openHAB 2 has the potential to support secure inclusion.
I have configured the zwave controller in the thing configuration to add the network inclusion key and have it set to secure include on entry control devices only. The key is of the format XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX.
Upon system startup there are no errors (other than communications to battery operated devices, etc.) in the logs that would suggest something is wrong so believe the system is nice and healthy.
To include the lock I put the controller in inclusion mode from Habmin and, following the manual, trigger an inclusion from the lock - the control stick is about 1m from the lock on a raspberry pi 3. The logs throw out lots of messages but I believe the key one is probably;
SECURITY_INITIALIZE Initialising=true, Inclusion=false, Paired=false, lastRxMsg=1476011335248ms, lastTxMsg=
8ms
SECURITY_ERROR Invalid state! Secure inclusion has not completed and we are not in inclusion mode. Aborting
That being said the device does appear both in the PaperUI and Habmin with the following information.
So really two questions,
What is the error in the secure inclusion and why does it occur?
Is this device in the database? if not I am happy to get the relevant information sorted and added.
Currently the security class is not supported in OH2, so unfortunately this doesn’t work. I’m working on updating parts of the binding to allow this to be implemented.
I just stumbled upon this message and I just registered so I could offer my thanks. Honestly, you have no idea how much I admire you and everyone else who are making these amazing developments day in and day out. This work that you are doing is of particular interest to me because, after pouring my heart and soul into OpenHAB, I am thinking about taking the plunge into getting one of these Yale Keefrees. Honestly, it wouldn’t be possible without you. Please link me to your donate button!
Hi All,
I am trying to upgrade from OH1 to OH2.1. I’m stuck trying to include a Yale Real Living Touch Screen Deadbolt to the ZWave network. Is the Security Class available in OH2.1? Anyway this is the log segment that is reporting the problem:
2017-07-04 19:05:51.542 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port 'COM5’
2017-07-04 19:05:52.890 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2017-07-04 19:05:52.921 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - Update networkKey
2017-07-04 19:05:52.968 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2017-07-04 19:05:52.969 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2017-07-04 19:05:56.159 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 1: Node found
2017-07-04 19:05:56.159 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller using Controller API
2017-07-04 19:05:56.160 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller is Primary Controller
2017-07-04 19:05:56.160 [INFO ] [age.SerialApiGetInitDataMessageClass] - ------------Number of Nodes Found Registered to ZWave Controller------------
2017-07-04 19:05:56.160 [INFO ] [age.SerialApiGetInitDataMessageClass] - # Nodes = 1
2017-07-04 19:05:56.160 [INFO ] [age.SerialApiGetInitDataMessageClass] - ----------------------------------------------------------------------------
2017-07-04 19:09:57.446 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - NODE 2: setupNetworkKey useSchemeZero=false
2017-07-04 19:09:57.594 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘zwave:device:8e50c17b:node2’ to inbox.
2017-07-04 19:09:57.633 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - NODE 2: setupNetworkKey useSchemeZero=false
2017-07-04 19:10:02.727 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - NODE 2: setupNetworkKey useSchemeZero=true
2017-07-04 19:10:02.728 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - NODE 2: Using Scheme0 Network Key for Key Exchange since we are in inclusion mode.
2017-07-04 19:10:13.528 [ERROR] [curityCommandClassWithInitialization] - NODE 2: SECURITY_INCLUSION_FAILED Failed at step SECURITY_SCHEME_GET: 10000ms passed since last request was sent, secure inclusion failed.
2017-07-04 19:10:14.262 [INFO ] [ommandclass.ZWaveVersionCommandClass] - NODE 2: Command Class LOCK has version 0!
I typically download the binding and dump it in addons/; I did try the marketplace but I only see binding-zwave-2.2.0 and binding-zwave-1.11.0.
Are there some current hints or best practices for including locks? So far I haven’t had any success with a Kwikset 914 lock. It seems to have included okay, in that I don’t get any messages about secure inclusion failing, but if I try to use it via the binding, I get
2018-02-18 20:20:34.610 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 152: Command received zwave:device:69d7d64d:node152:lock_door --> OFF
2018-02-18 20:20:34.611 [WARN ] [nal.converter.ZWaveDoorLockConverter] - NODE 152: Command class COMMAND_CLASS_DOOR_LOCK not found
2018-02-18 20:20:34.611 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 152: No messages returned from converter
I’m in the market for a smart lock, I like the august and the yale, any time frame on the zwave security stuff? I’m super new to openhab2 but love it so far…