Doorlock access keys

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
skarbat
Posts: 2
Joined: 29 Jul 2013 20:22

Doorlock access keys

Post by skarbat »

Hi all,

I am using the Razpberry ZWave software to lock/unlock the device but I now need to setup the lock keys. I can't seem to find the way.

On the devices configuration, None of the "Get" options seem to respond (the HTTP POST requests return Null). Neither the Set options seem to work. I have also clicked on "save changes" button. Requesting the saved keys after that always returns nothing, and It also seems that the battery charge request command is also returning Null. Do you think we might have something wrong? Could it be that the device does not support these features? I have a Kwikset doorlock device.

Thanks in advance
Albert
skarbat
Posts: 2
Joined: 29 Jul 2013 20:22

Log file

Post by skarbat »

Greetings all,

If anyone could give me some hints as to why I can't set the doorlock keys on my device I would greatly appreciate it. I am using the ZWave web server to set the key to "12345" for userid 1. But the key does not work. The doorlock device is a "Kwikset" brand. Inspecting the network traffic I can see this post request returning null (ACK):

http://x.x.x.x:8083/ZWaveAPI/Run/device ... '12345',1)

The z-wave log file is telling me this:

[2013-08-01 19:49:14.482] SENT ACK
[2013-08-01 19:49:14.483] SETDATA devices.5.data.failureCount = Empty
[2013-08-01 19:49:14.484] SETDATA devices.5.data.lastReceived = 0 (0x00000000)
[2013-08-01 19:49:14.486] Node 5:0 CC Security: sending Nonce Report
[2013-08-01 19:49:14.486] Adding job: Nonce report
[2013-08-01 19:49:14.488] SENDING (cb 0x10): ( 01 11 00 13 05 0A 98 80 2C 33 4F 92 64 2B 8B E0 05 10 19 )
[2013-08-01 19:49:14.506] RECEIVED ACK
[2013-08-01 19:49:14.518] RECEIVED: ( 01 04 01 13 01 E8 )
[2013-08-01 19:49:14.522] SENT ACK
[2013-08-01 19:49:14.523] Delivered to Z-Wave stack
[2013-08-01 19:49:15.673] RECEIVED: ( 01 05 00 13 10 00 F9 )
[2013-08-01 19:49:15.683] SENT ACK
[2013-08-01 19:49:15.684] Job 0x13 (Nonce report): Delivered
[2013-08-01 19:49:15.686] SendData Response with callback 0x10 received: received by recipient
[2013-08-01 19:49:15.687] SETDATA devices.5.data.lastSend = 23829358 (0x016b9b6e)
[2013-08-01 19:49:15.688] Job 0x13 (Nonce report): success
[2013-08-01 19:49:15.689] Removing job: Nonce report
[2013-08-01 19:49:15.701] RECEIVED: ( 01 1E 00 04 00 05 18 98 81 A8 7D 1E B9 5C 0B 02 48 49 EE 19 79 9E 2C 2B 96 7A 89 2A 0F 26 F0 46 )
[2013-08-01 19:49:15.714] SENT ACK
[2013-08-01 19:49:15.715] SETDATA devices.5.data.failureCount = Empty
[2013-08-01 19:49:15.716] SETDATA devices.5.data.lastReceived = 0 (0x00000000)
[2013-08-01 19:49:15.717] Node 5:0 CC Security: Received a secure message
[2013-08-01 19:49:15.718] SETDATA devices.5.instances.0.commandClasses.152.data.firstPart = **********
[2013-08-01 19:49:15.720] Node 5:0 CC Security: passing decrypted packet to application level: [ 71 05 70 01 ]
[2013-08-01 19:49:15.721] Node 5:0 CC Security: Got secure frame, but Command Class 0x71 isn't registered, instantiating it as not supported
[2013-08-01 19:49:15.722] Trying to create command for unknown CC 0x71
[2013-08-01 19:49:15.723] Command Class 0x71 is not supported (requested for node 5:0)
[2013-08-01 19:49:15.724] Node 5:0 CC Security: Command Class 0x71 isn't implemeted
User avatar
PoltoS
Posts: 7594
Joined: 26 Jan 2011 19:36

with the new v1.4-rc1

Post by PoltoS »

With the new v1.4-rc1 UserCode works with no problems.Here are the commands to use:http://localhost:8083/ZWaveAPI/Run/devi ... CODE',1)to set the code to USERCODE and http://localhost:8083/ZWaveAPI/Run/devi ... ID,'',0)to unset it.Note, that USERCODE should be in ' ' !DoorLockLogging is supported now too.This was tested on Vision Security doorlock. We will test it with Kwikset too soon.
pfremm
Posts: 4
Joined: 11 Apr 2014 02:31

Re: Doorlock access keys

Post by pfremm »

When I run the command as you provided I can see a new usercode entry, but code, and hasCode elements in the JSON API both show null when I do a get for just commandClass[0x63]. The weird part is I have set some other codes in the past and they do seem to show up eventually, I just cannot figure out what I am missing to get them to reflect in the JSON API when I make a call right after I set the code. The weird part is the code works if I try it on the lock. The API just won't provide the code update the status showing it is set. I am using a kwikset smart code lock with version 1.5 of the the software.
Post Reply