Kwikset Locks...

Discussions about Z-Way software and Z-Wave technology in general
Mike Yeager
Posts: 160
Joined: 03 May 2014 07:02

Kwikset Locks...

Post by Mike Yeager »

Ok, I have been working on this lock for about two weeks and with a little prodding from Poltos, I have figured it out. In order to read the status of the lock (locked, unlocked and how), the command

http://192.168.0.220:8083/ZWaveAPI/Run/ ... Type.value

will get you a value. The values break down as follows:

18 - Lock Button
19 - Code Unlock
21 - Manual Lock
22 - Manual Unlock
24 - Software Lock
25 - Software Unlock

In the event of a CODE UNLOCK, the command:

http://192.168.0.220:8083/ZWaveAPI/Run/ ... evel.value

will return the user number. It always returns a value of 1 during any other operation. I am using the HTTP commands as I am working in Python at the moment for my limited needs. Just thought I'd post my findings here in case anyone else needed or wanted to know. Hope this is helpful to someone...
pfremm
Posts: 4
Joined: 11 Apr 2014 02:31

Re: Kwikset Locks...

Post by pfremm »

Why are you using alarm data instead of the command classes and the data resource that provides this info like the manual shows?
Mike Yeager
Posts: 160
Joined: 03 May 2014 07:02

Re: Kwikset Locks...

Post by Mike Yeager »

Because using the alarm data was the most reliable way I could find for the lock that I have of getting the data. I used what showed up in the zway.server.log to determine what was being used by the lock itself. If you have a better method, I'm all ears. BTW - The alarm data in question originates at the lock...
dylancaponi
Posts: 19
Joined: 25 Jun 2014 12:47

Re: Kwikset Locks...

Post by dylancaponi »

Did you have to do something to enable alarm data?

http://192.168.0.220:8083/ZWaveAPI/Run/ ... evel.value
(with IP and device # changed to match my system)

Returns:
Error 500: Internal Server Error
Uncaught TypeError: Cannot read property 'Alarm' of undefined

While:
http://rasIP:8083/ZAutomation/api/v1/devices
and
http://rasIP:8083/ZWaveAPI/Data/0

Return properly.
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: Kwikset Locks...

Post by PoltoS »

May be the device have no Alarm class?
Mike Yeager
Posts: 160
Joined: 03 May 2014 07:02

Re: Kwikset Locks...

Post by Mike Yeager »

Replied to the PM but I'm posting here as well. Kwikset locks use the alarm class for quite a bit.

Ok. Here is the code I use and what it does. The following command will get you the last action of the lock. May have been a lock event, unlock event, pin entry, etc...

Code: Select all

http://127.0.0.1:8083/ZWaveAPI/Run/devices[deviceID].Alarm.data.V1event.alarmType.value
The following are the different codes that should be returned.

18, 21, 24 or 27 is a LOCK event.
19, 22 or 25 in an UNLOCK event. 19 is a keypad PIN entry.
17, 23 or 26 is an ERROR condition
33 or 112 is a user code modification (added, deleted, changed)
161 indicates 3 failed attempts at PIN entry
162 indicated an invalid schedule for a user (if you get that far into programming the lock)
167 indicates a LOW BATTERY condition (30%)
168 indicates BATTERY CRITICAL
169 indicates battery too low to operate lock

To get the user ID number that entered a code (or any other reason) you use this command.

Code: Select all

http://127.0.0.1:8083/ZWaveAPI/Run/devices[deviceID].Alarm.data.V1event.level.value
I didn't have to do anything to enable the alarm data. Check your z-way server log and make sure there's a section that looks something like this when you actuate the lock.

Code: Select all

[2014-07-18 11:15:34.518] Adding job: Door Lock Operation Set
[2014-07-18 11:15:34.518] Adding job: Door Lock Operation Get
[2014-07-18 11:15:34.527] Node 2:0 CC Security: sending Nonce Get
[2014-07-18 11:15:34.527] SETDATA devices.2.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2014-07-18 11:15:34.528] Adding job: Nonce get
[2014-07-18 11:15:34.528] SETDATA devices.2.data.lastNonceGet = 89172870 (0x0550ab86)
[2014-07-18 11:15:34.540] SENDING (cb 0xa1): ( 01 09 00 13 02 02 98 40 05 A1 99 )
[2014-07-18 11:15:34.550] RECEIVED ACK
[2014-07-18 11:15:34.561] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-18 11:15:34.562] SENT ACK
[2014-07-18 11:15:34.562] Delivered to Z-Wave stack
[2014-07-18 11:15:35.740] RECEIVED: ( 01 05 00 13 A1 00 48 )
[2014-07-18 11:15:35.740] SENT ACK
[2014-07-18 11:15:35.741] Job 0x13 (Nonce get): Delivered
[2014-07-18 11:15:35.741] SETDATA devices.2.data.lastPacketInfo.delivered = True
[2014-07-18 11:15:35.741] SETDATA devices.2.data.lastPacketInfo.packetLength = 5 (0x00000005)
[2014-07-18 11:15:35.741] SETDATA devices.2.data.lastPacketInfo.deliveryTime = 1178 (0x0000049a)
[2014-07-18 11:15:35.742] SETDATA devices.2.data.lastPacketInfo = **********
[2014-07-18 11:15:35.743] SendData Response with callback 0xa1 received: received by recipient
[2014-07-18 11:15:35.744] SETDATA devices.2.data.lastSend = 89172974 (0x0550abee)
[2014-07-18 11:15:35.744] Job 0x13 (Nonce get): success
[2014-07-18 11:15:35.745] SETDATA devices.2.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2014-07-18 11:15:35.745] Removing job: Nonce get
[2014-07-18 11:15:35.790] RECEIVED: ( 01 10 00 04 00 02 0A 98 80 B8 5C 8D 5A 5A 46 39 41 AC )
[2014-07-18 11:15:35.791] SENT ACK
[2014-07-18 11:15:35.792] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2014-07-18 11:15:35.792] Node 2:0 CC Security: received Nonce Report
[2014-07-18 11:15:35.794] SETDATA devices.2.instances.0.commandClasses.152.data.rNonce = **********
[2014-07-18 11:15:35.794] Removing job: Door Lock Operation Set
[2014-07-18 11:15:35.795] Node 2:0 CC Security: Sending a secure message
[2014-07-18 11:15:35.796] Node 2:0 CC Security: sending encrypted packet: Door Lock Operation Set
[2014-07-18 11:15:35.796] SETDATA devices.2.instances.0.commandClasses.152.data.toFollow = False
[2014-07-18 11:15:35.797] SETDATA devices.2.data.lastNonceGet = Empty
[2014-07-18 11:15:35.798] Adding job: Security, Door Lock Operation Set
[2014-07-18 11:15:35.810] Node 2:0 CC Security: sending Nonce Get
[2014-07-18 11:15:35.811] SETDATA devices.2.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2014-07-18 11:15:35.812] Adding job: Nonce get
[2014-07-18 11:15:35.812] SETDATA devices.2.data.lastNonceGet = 89172979 (0x0550abf3)
[2014-07-18 11:15:35.825] SENDING (cb 0xa2): ( 01 1E 00 13 02 17 98 81 5A B3 5C 3D 75 27 4B 20 1D D5 A7 8D B8 28 F7 54 F0 39 A3 CA 2E 05 A2 B7 )
[2014-07-18 11:15:35.840] RECEIVED ACK
[2014-07-18 11:15:35.851] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-18 11:15:35.852] SENT ACK
[2014-07-18 11:15:35.853] Job 0x13 (Security, Door Lock Operation Set): Response received - transfered to encapsulated jobs
[2014-07-18 11:15:35.853] Delivered to Z-Wave stack
[2014-07-18 11:15:35.854] Delivered to Z-Wave stack
[2014-07-18 11:15:36.845] Executing script: zway.devices[4].SensorBinary.data[1].level.value
[2014-07-18 11:15:37.042] RECEIVED: ( 01 05 00 13 A2 00 4B )
[2014-07-18 11:15:37.043] SENT ACK
[2014-07-18 11:15:37.043] Job 0x13 (Security, Door Lock Operation Set): Callback received - transfered to encapsulated jobs
[2014-07-18 11:15:37.044] Job 0x13 (Door Lock Operation Set): Delivered
[2014-07-18 11:15:37.045] SendData Response with callback 0xa2 received: received by recipient
[2014-07-18 11:15:37.045] Job 0x13 (Security, Door Lock Operation Set): Delivered
[2014-07-18 11:15:37.046] SETDATA devices.2.data.lastPacketInfo.delivered = True
[2014-07-18 11:15:37.046] SETDATA devices.2.data.lastPacketInfo.packetLength = 26 (0x0000001a)
[2014-07-18 11:15:37.047] SETDATA devices.2.data.lastPacketInfo.deliveryTime = 1192 (0x000004a8)
[2014-07-18 11:15:37.047] SETDATA devices.2.data.lastPacketInfo = **********
[2014-07-18 11:15:37.048] SendData Response with callback 0xa2 received: received by recipient
[2014-07-18 11:15:37.049] SETDATA devices.2.data.lastSend = 89173084 (0x0550ac5c)
[2014-07-18 11:15:37.049] Job 0x13 (Security, Door Lock Operation Set): success
[2014-07-18 11:15:37.050] Removing job: Security, Door Lock Operation Set
[2014-07-18 11:15:37.123] SENDING (cb 0xa3): ( 01 09 00 13 02 02 98 40 05 A3 9B )
[2014-07-18 11:15:37.134] RECEIVED ACK
[2014-07-18 11:15:37.145] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-18 11:15:37.146] SENT ACK
[2014-07-18 11:15:37.147] Delivered to Z-Wave stack
[2014-07-18 11:15:38.329] RECEIVED: ( 01 05 00 13 A3 00 4A )
[2014-07-18 11:15:38.330] SENT ACK
[2014-07-18 11:15:38.330] Job 0x13 (Nonce get): Delivered
[2014-07-18 11:15:38.330] SETDATA devices.2.data.lastPacketInfo.delivered = True
[2014-07-18 11:15:38.330] SETDATA devices.2.data.lastPacketInfo.packetLength = 5 (0x00000005)
[2014-07-18 11:15:38.331] SETDATA devices.2.data.lastPacketInfo.deliveryTime = 1183 (0x0000049f)
[2014-07-18 11:15:38.337] SETDATA devices.2.data.lastPacketInfo = **********
[2014-07-18 11:15:38.337] SendData Response with callback 0xa3 received: received by recipient
[2014-07-18 11:15:38.342] SETDATA devices.2.data.lastSend = 89173195 (0x0550accb)
[2014-07-18 11:15:38.343] Job 0x13 (Nonce get): success
[2014-07-18 11:15:38.343] SETDATA devices.2.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2014-07-18 11:15:38.343] Removing job: Nonce get
[2014-07-18 11:15:38.377] RECEIVED: ( 01 10 00 04 00 02 0A 98 80 61 96 BC 83 10 34 6F B2 CA )
[2014-07-18 11:15:38.377] SENT ACK
[2014-07-18 11:15:38.378] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2014-07-18 11:15:38.378] Node 2:0 CC Security: received Nonce Report
[2014-07-18 11:15:38.379] SETDATA devices.2.instances.0.commandClasses.152.data.rNonce = **********
[2014-07-18 11:15:38.379] Removing job: Door Lock Operation Get
[2014-07-18 11:15:38.379] Node 2:0 CC Security: Sending a secure message
[2014-07-18 11:15:38.380] Node 2:0 CC Security: sending encrypted packet: Door Lock Operation Get
[2014-07-18 11:15:38.380] SETDATA devices.2.instances.0.commandClasses.152.data.toFollow = False
[2014-07-18 11:15:38.380] SETDATA devices.2.data.lastNonceGet = Empty
[2014-07-18 11:15:38.381] Adding job: Security, Door Lock Operation Get
[2014-07-18 11:15:38.417] SENDING (cb 0xa4): ( 01 1D 00 13 02 16 98 81 61 22 2D 96 C4 2B 99 BA 39 79 C9 61 5F C9 23 58 EA 09 19 F6 05 A4 60 )
[2014-07-18 11:15:38.428] RECEIVED ACK
[2014-07-18 11:15:38.439] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-18 11:15:38.440] SENT ACK
[2014-07-18 11:15:38.440] Job 0x13 (Security, Door Lock Operation Get): Response received - transfered to encapsulated jobs
[2014-07-18 11:15:38.440] Delivered to Z-Wave stack
[2014-07-18 11:15:38.440] Delivered to Z-Wave stack
[2014-07-18 11:15:39.634] RECEIVED: ( 01 05 00 13 A4 00 4D )
[2014-07-18 11:15:39.635] SENT ACK
[2014-07-18 11:15:39.643] Job 0x13 (Security, Door Lock Operation Get): Callback received - transfered to encapsulated jobs
[2014-07-18 11:15:39.644] Job 0x13 (Door Lock Operation Get): Delivered
[2014-07-18 11:15:39.647] SendData Response with callback 0xa4 received: received by recipient
[2014-07-18 11:15:39.648] Job 0x13 (Security, Door Lock Operation Get): Delivered
[2014-07-18 11:15:39.652] SETDATA devices.2.data.lastPacketInfo.delivered = True
[2014-07-18 11:15:39.653] SETDATA devices.2.data.lastPacketInfo.packetLength = 25 (0x00000019)
[2014-07-18 11:15:39.653] SETDATA devices.2.data.lastPacketInfo.deliveryTime = 1205 (0x000004b5)
[2014-07-18 11:15:39.654] SETDATA devices.2.data.lastPacketInfo = **********
[2014-07-18 11:15:39.655] SendData Response with callback 0xa4 received: received by recipient
[2014-07-18 11:15:39.656] SETDATA devices.2.data.lastSend = 89173305 (0x0550ad39)
[2014-07-18 11:15:39.659] Job 0x13 (Security, Door Lock Operation Get): success
[2014-07-18 11:15:39.660] Removing job: Security, Door Lock Operation Get
[2014-07-18 11:15:39.961] RECEIVED: ( 01 08 00 04 00 02 02 98 40 2B )
[2014-07-18 11:15:39.962] SENT ACK
[2014-07-18 11:15:39.963] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2014-07-18 11:15:39.964] Node 2:0 CC Security: sending Nonce Report
[2014-07-18 11:15:39.965] Adding job: Nonce report
[2014-07-18 11:15:39.977] SENDING (cb 0xa5): ( 01 11 00 13 02 0A 98 80 B7 EB EF 79 66 8C 56 6C 05 A5 57 )
[2014-07-18 11:15:39.988] RECEIVED ACK
[2014-07-18 11:15:39.999] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-18 11:15:40.000] SENT ACK
[2014-07-18 11:15:40.001] Delivered to Z-Wave stack
[2014-07-18 11:15:41.204] RECEIVED: ( 01 05 00 13 A5 00 4C )
[2014-07-18 11:15:41.205] SENT ACK
[2014-07-18 11:15:41.206] Job 0x13 (Nonce report): Delivered
[2014-07-18 11:15:41.207] SETDATA devices.2.data.lastPacketInfo.delivered = True
[2014-07-18 11:15:41.208] SETDATA devices.2.data.lastPacketInfo.packetLength = 13 (0x0000000d)
[2014-07-18 11:15:41.209] SETDATA devices.2.data.lastPacketInfo.deliveryTime = 1205 (0x000004b5)
[2014-07-18 11:15:41.209] SETDATA devices.2.data.lastPacketInfo = **********
[2014-07-18 11:15:41.210] SendData Response with callback 0xa5 received: received by recipient
[2014-07-18 11:15:41.211] SETDATA devices.2.data.lastSend = 89173436 (0x0550adbc)
[2014-07-18 11:15:41.211] Job 0x13 (Nonce report): success
[2014-07-18 11:15:41.212] Removing job: Nonce report
[2014-07-18 11:15:41.258] RECEIVED: ( 01 21 00 04 00 02 1B 98 81 37 71 22 38 F0 88 B6 07 DA B5 4F EE 6D 1C 48 7B B7 11 86 5F 9B BC AD A3 4E DB )
[2014-07-18 11:15:41.259] SENT ACK
[2014-07-18 11:15:41.260] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2014-07-18 11:15:41.260] Node 2:0 CC Security: Received a secure message
[2014-07-18 11:15:41.261] SETDATA devices.2.instances.0.commandClasses.152.data.firstPart = **********
[2014-07-18 11:15:41.262] Node 2:0 CC Security: passing decrypted packet to application level: [ 62 03 ff 00 00 fe fe ]
[2014-07-18 11:15:41.263] SETDATA devices.2.instances.0.commandClasses.98.data.mode = 255 (0x000000ff)
[2014-07-18 11:15:41.264] SETDATA devices.2.instances.0.commandClasses.98.data.outsideMode = 0 (0x00000000)
[2014-07-18 11:15:41.265] SETDATA devices.2.instances.0.commandClasses.98.data.insideMode = 0 (0x00000000)
[2014-07-18 11:15:41.265] SETDATA devices.2.instances.0.commandClasses.98.data.condition = 0 (0x00000000)
[2014-07-18 11:15:41.266] SETDATA devices.2.instances.0.commandClasses.98.data.lockMinutes = 254 (0x000000fe)
[2014-07-18 11:15:41.267] SETDATA devices.2.instances.0.commandClasses.98.data.lockSeconds = 254 (0x000000fe)
[2014-07-18 11:15:41.333] RECEIVED: ( 01 08 00 04 00 02 02 98 40 2B )
[2014-07-18 11:15:41.334] SENT ACK
[2014-07-18 11:15:41.335] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2014-07-18 11:15:41.336] Node 2:0 CC Security: sending Nonce Report
[2014-07-18 11:15:41.337] Adding job: Nonce report
[2014-07-18 11:15:41.349] SENDING (cb 0xa6): ( 01 11 00 13 02 0A 98 80 A2 84 97 45 FF 94 58 5C 05 A6 D5 )
[2014-07-18 11:15:41.360] RECEIVED ACK
[2014-07-18 11:15:41.371] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-18 11:15:41.372] SENT ACK
[2014-07-18 11:15:41.374] Delivered to Z-Wave stack
[2014-07-18 11:15:42.576] RECEIVED: ( 01 05 00 13 A6 00 4F )
[2014-07-18 11:15:42.576] SENT ACK
[2014-07-18 11:15:42.576] Job 0x13 (Nonce report): Delivered
[2014-07-18 11:15:42.577] SETDATA devices.2.data.lastPacketInfo.delivered = True
[2014-07-18 11:15:42.577] SETDATA devices.2.data.lastPacketInfo.packetLength = 13 (0x0000000d)
[2014-07-18 11:15:42.577] SETDATA devices.2.data.lastPacketInfo.deliveryTime = 1201 (0x000004b1)
[2014-07-18 11:15:42.578] SETDATA devices.2.data.lastPacketInfo = **********
[2014-07-18 11:15:42.578] SendData Response with callback 0xa6 received: received by recipient
[2014-07-18 11:15:42.578] SETDATA devices.2.data.lastSend = 89173552 (0x0550ae30)
[2014-07-18 11:15:42.578] Job 0x13 (Nonce report): success
[2014-07-18 11:15:42.580] Removing job: Nonce report
[2014-07-18 11:15:42.625] RECEIVED: ( 01 1E 00 04 00 02 18 98 81 72 A7 0C 33 E8 16 A1 3E DA D0 BB 6D 2F A2 29 D4 1C 32 14 A5 2F 03 72 )
[2014-07-18 11:15:42.626] SENT ACK
[2014-07-18 11:15:42.626] SETDATA devices.2.data.lastReceived = 0 (0x00000000)
[2014-07-18 11:15:42.627] Node 2:0 CC Security: Received a secure message
[2014-07-18 11:15:42.627] SETDATA devices.2.instances.0.commandClasses.152.data.firstPart = **********
[2014-07-18 11:15:42.628] Node 2:0 CC Security: passing decrypted packet to application level: [ 71 05 18 01 ]
[2014-07-18 11:15:42.628] SETDATA devices.2.instances.0.commandClasses.113.data.V1event.alarmType = 24 (0x00000018)
[2014-07-18 11:15:42.628] SETDATA devices.2.instances.0.commandClasses.113.data.V1event.level = 1 (0x00000001)
[2014-07-18 11:15:42.628] SETDATA devices.2.instances.0.commandClasses.113.data.V1event = Empty
[2014-07-18 11:15:55.606] Job 0x13: deleted from queue
[2014-07-18 11:15:56.849] Job 0x13: deleted from queue
[2014-07-18 11:15:56.861] Job 0x13: deleted from queue
[2014-07-18 11:15:58.092] Job 0x13: deleted from queue
[2014-07-18 11:15:59.330] Job 0x13: deleted from queue
[2014-07-18 11:15:59.342] Job 0x13: deleted from queue
[2014-07-18 11:16:00.782] Job 0x13: deleted from queue
[2014-07-18 11:16:02.063] Job 0x13: deleted from queue
You can see from my log what is being written to. If you'd like, grab the section of your log written when the lock is actuated and I'll have a look. Make sure nothing else is running when you do it though or the log will be very busy... I'd like to think that they haven't changed the command format but I guess it is possible. The two locks I have are both fairly new but one of them has a Z-Wave card in it that is a year or so old...
dylancaponi
Posts: 19
Joined: 25 Jun 2014 12:47

Re: Kwikset Locks...

Post by dylancaponi »

Ok, the first issue is that the device had never completed an interview. After upgrading to v1.7.1 this is the first time I have seen interviewDone = true. So that's a step in the right direction.

Here is the output of http://192.168.1.5:8083/ZWaveAPI/Run/de ... Alarm.data

Code: Select all

{"invalidateTime":1405736208,"updateTime":1405736209,"type":"NoneType","name":"devices.5.instances.0.commandClasses.113.data","value":null,"supported":{"invalidateTime":1405736208,"updateTime":1405736209,"type":"bool","name":"supported","value":true},"version":{"invalidateTime":1405736209,"updateTime":1405736246,"type":"int","name":"version","value":1},"security":{"invalidateTime":1405736208,"updateTime":1405736209,"type":"bool","name":"security","value":true},"interviewDone":{"invalidateTime":1405736208,"updateTime":1405736270,"type":"bool","name":"interviewDone","value":true},"interviewCounter":{"invalidateTime":1405736208,"updateTime":1405736270,"type":"int","name":"interviewCounter","value":9},"V1supported":{"invalidateTime":1405736208,"updateTime":1405736270,"type":"bool","name":"V1supported","value":true},"typeMask":{"invalidateTime":1405736208,"updateTime":1405736270,"type":"NoneType","name":"typeMask","value":null},"V1event":{"invalidateTime":1405736208,"updateTime":1405736519,"type":"NoneType","name":"V1event","value":null,"alarmType":{"invalidateTime":1405736208,"updateTime":1405736519,"type":"int","name":"alarmType","value":23},"level":{"invalidateTime":1405736208,"updateTime":1405736519,"type":"int","name":"level","value":1}}}
As you can see, it's returning 23; an error condition. I have unlocked and locked the device several times through the expert browser console and not seen a change here. Not sure what could be causing the error condition.

The log file is strange because it has no mention of the doorlock functioning and the timestamps don't match up. At the time of log checking it was 19:30 local time:

Code: Select all

[2014-07-18 00:07:58.266] ZWay Automation started
[2014-07-18 00:08:51.881] Job 0x07: deleted from queue
[2014-07-18 00:08:51.893] Job 0x06: deleted from queue
[2014-07-18 00:08:51.905] Job 0xd2: deleted from queue
[2014-07-18 00:08:51.916] Job 0x20: deleted from queue
[2014-07-18 00:08:51.928] Job 0x05: deleted from queue
[2014-07-18 00:08:51.940] Job 0x15: deleted from queue
[2014-07-18 00:08:51.951] Job 0x56: deleted from queue
[2014-07-18 00:08:51.985] Job 0x02: deleted from queue
[2014-07-18 00:08:51.997] Job 0x62: deleted from queue
[2014-07-18 00:08:52.008] Job 0x41: deleted from queue
[2014-07-18 00:08:52.020] Job 0x41: deleted from queue
[2014-07-18 00:08:52.032] Job 0x80: deleted from queue
[2014-07-18 00:08:52.043] Job 0x80: deleted from queue
[2014-07-18 00:08:52.055] Job 0x03: deleted from queue
[2014-07-18 00:08:52.066] Job 0x05: deleted from queue
[2014-07-18 00:08:52.078] Job 0x54: deleted from queue
[2014-07-18 20:46:27.569] Worker thread exit point
[2014-07-18 20:46:27.570] Worker thread successfully finished
EDIT: I've been using the lock without keypad attached. After attaching keypad and locking the door with keypad the new condition is 17... which is still an error condition. Using expert console again converts it back to 23 whether I lock or unlock. I added a keypad code and got 112 but using that code to unlock returns the condition to 17.
Mike Yeager
Posts: 160
Joined: 03 May 2014 07:02

Re: Kwikset Locks...

Post by Mike Yeager »

Exclude the lock from the controller, take the battery out of it for a minute or so and then re-include it. Make sure it is CLOSE to the controller when you include it. I did mine within a few feet. Had trouble at first because the locks default to a low power include which doesn't give it much range. Once it is included, test it out with the controller right where it is. How old is this lock just out of curiosity? It should be showing SOMETHING in the log, otherwise the UI of Z-Way wouldn't know the status of the lock either...
dylancaponi
Posts: 19
Joined: 25 Jun 2014 12:47

Re: Kwikset Locks...

Post by dylancaponi »

I followed your instructions. Excluded the device, removed batteries, waited, reinserted batteries, reincluded device within an inch from the controller. Used expert console to lock and unlock device. V1 event alarm value is still 23.

The lock was bought in the last six months. I have two lock faceplates (one is for an identical ZigBee lock) which are dated 28/05/12 and 11/01/13. I'm not sure which one corresponds.

The front of the card looks exactly like this: http://www.amazon.com/Connect-Module-Kw ... B007PWXIWI
"500-00005-001 rev.1"

The back of the card says:
Lock Module RF 5024095
with a sticker that says:
rev 1.3/2.1

I'm not sure z-way does know the status of the lock. In the expert console, the message next to "not placed in zone" always says "Open" which I assume is in regards to the lock status, but could mean something else.

Checked the correct log - z-way-server.log (I was checking Z-Way.log before). Hopefully some of this is relevant:

Code: Select all

[2014-07-19 23:18:06.581] Executing script: zway.devices[6].Alarm.data.V1event.alarmType.value
[2014-07-19 23:18:17.952] Executing script: zway.devices[6].Alarm.data
[2014-07-19 23:18:57.780] Executing script: zway.devices[6].instances[0].commandClasses[0x62].Set(255)
[2014-07-19 23:18:57.781] Adding job: Door Lock Operation Set
[2014-07-19 23:18:57.782] Adding job: Door Lock Operation Get
[2014-07-19 23:18:57.788] Node 6:0 CC Security: sending Nonce Get
[2014-07-19 23:18:57.788] SETDATA devices.6.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2014-07-19 23:18:57.789] Adding job: Nonce get
[2014-07-19 23:18:57.789] SETDATA devices.6.data.lastNonceGet = 6831900 (0x00683f1c)
[2014-07-19 23:18:57.800] SENDING (cb 0x06): ( 01 09 00 13 06 02 98 40 05 06 3A )
[2014-07-19 23:18:57.811] RECEIVED ACK
[2014-07-19 23:18:57.821] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-19 23:18:57.822] SENT ACK
[2014-07-19 23:18:57.822] Delivered to Z-Wave stack
[2014-07-19 23:18:58.972] RECEIVED: ( 01 05 00 13 06 00 EF )
[2014-07-19 23:18:58.973] SENT ACK
[2014-07-19 23:18:58.973] Job 0x13 (Nonce get): Delivered
[2014-07-19 23:18:58.973] SETDATA devices.6.data.lastPacketInfo.delivered = True
[2014-07-19 23:18:58.973] SETDATA devices.6.data.lastPacketInfo.packetLength = 5 (0x00000005)
[2014-07-19 23:18:58.973] SETDATA devices.6.data.lastPacketInfo.deliveryTime = 1150 (0x0000047e)
[2014-07-19 23:18:58.974] SETDATA devices.6.data.lastPacketInfo = **********
[2014-07-19 23:18:58.974] SendData Response with callback 0x06 received: received by recipient
[2014-07-19 23:18:58.974] SETDATA devices.6.data.lastSend = 6832005 (0x00683f85)
[2014-07-19 23:18:58.974] Job 0x13 (Nonce get): success
[2014-07-19 23:18:58.974] SETDATA devices.6.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2014-07-19 23:18:58.974] Removing job: Nonce get
[2014-07-19 23:18:58.985] RECEIVED: ( 01 10 00 04 00 06 0A 98 80 F7 0F 40 2C 76 46 E6 D2 6F )
[2014-07-19 23:18:58.985] SENT ACK
[2014-07-19 23:18:58.985] SETDATA devices.6.data.lastReceived = 0 (0x00000000)
[2014-07-19 23:18:58.986] Node 6:0 CC Security: received Nonce Report
[2014-07-19 23:18:58.986] SETDATA devices.6.instances.0.commandClasses.152.data.rNonce = **********
[2014-07-19 23:18:58.986] Removing job: Door Lock Operation Set
[2014-07-19 23:18:58.986] Node 6:0 CC Security: Sending a secure message
[2014-07-19 23:18:58.986] Node 6:0 CC Security: sending encrypted packet: Door Lock Operation Set
[2014-07-19 23:18:58.987] SETDATA devices.6.instances.0.commandClasses.152.data.toFollow = False
[2014-07-19 23:18:58.987] SETDATA devices.6.data.lastNonceGet = Empty
[2014-07-19 23:18:58.987] Adding job: Security, Door Lock Operation Set
[2014-07-19 23:18:58.999] Node 6:0 CC Security: sending Nonce Get
[2014-07-19 23:18:58.999] SETDATA devices.6.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2014-07-19 23:18:58.999] Adding job: Nonce get
[2014-07-19 23:18:58.999] SETDATA devices.6.data.lastNonceGet = 6832007 (0x00683f87)
[2014-07-19 23:18:59.045] SENDING (cb 0x07): ( 01 1E 00 13 06 17 98 81 05 AD 47 4C D3 62 E2 96 8D 1F 19 5C F7 30 A5 D2 EE 44 DF 8F 20 05 07 23 )
[2014-07-19 23:18:59.055] RECEIVED ACK
[2014-07-19 23:18:59.066] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-19 23:18:59.066] SENT ACK
[2014-07-19 23:18:59.067] Job 0x13 (Security, Door Lock Operation Set): Response received - transfered to encapsulated jobs
[2014-07-19 23:18:59.067] Delivered to Z-Wave stack
[2014-07-19 23:18:59.067] Delivered to Z-Wave stack
[2014-07-19 23:19:00.230] RECEIVED: ( 01 05 00 13 07 00 EE )
[2014-07-19 23:19:00.231] SENT ACK
[2014-07-19 23:19:00.231] Job 0x13 (Security, Door Lock Operation Set): Callback received - transfered to encapsulated jobs
[2014-07-19 23:19:00.231] Job 0x13 (Door Lock Operation Set): Delivered
[2014-07-19 23:19:00.231] SendData Response with callback 0x07 received: received by recipient
[2014-07-19 23:19:00.231] Job 0x13 (Security, Door Lock Operation Set): Delivered
[2014-07-19 23:19:00.231] SETDATA devices.6.data.lastPacketInfo.delivered = True
[2014-07-19 23:19:00.232] SETDATA devices.6.data.lastPacketInfo.packetLength = 26 (0x0000001a)
[2014-07-19 23:19:00.232] SETDATA devices.6.data.lastPacketInfo.deliveryTime = 1164 (0x0000048c)
[2014-07-19 23:19:00.232] SETDATA devices.6.data.lastPacketInfo = **********
[2014-07-19 23:19:00.232] SendData Response with callback 0x07 received: received by recipient
[2014-07-19 23:19:00.232] SETDATA devices.6.data.lastSend = 6832116 (0x00683ff4)
[2014-07-19 23:19:00.232] Job 0x13 (Security, Door Lock Operation Set): success
[2014-07-19 23:19:00.233] Removing job: Security, Door Lock Operation Set
[2014-07-19 23:19:00.301] SENDING (cb 0x08): ( 01 09 00 13 06 02 98 40 05 08 34 )
[2014-07-19 23:19:00.311] RECEIVED ACK
[2014-07-19 23:19:00.322] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-19 23:19:00.322] SENT ACK
[2014-07-19 23:19:00.322] Delivered to Z-Wave stack
[2014-07-19 23:19:01.473] RECEIVED: ( 01 05 00 13 08 00 E1 )
[2014-07-19 23:19:01.473] SENT ACK
[2014-07-19 23:19:01.473] Job 0x13 (Nonce get): Delivered
[2014-07-19 23:19:01.474] SETDATA devices.6.data.lastPacketInfo.delivered = True
[2014-07-19 23:19:01.474] SETDATA devices.6.data.lastPacketInfo.packetLength = 5 (0x00000005)
[2014-07-19 23:19:01.474] SETDATA devices.6.data.lastPacketInfo.deliveryTime = 1151 (0x0000047f)
[2014-07-19 23:19:01.474] SETDATA devices.6.data.lastPacketInfo = **********
[2014-07-19 23:19:01.474] SendData Response with callback 0x08 received: received by recipient
[2014-07-19 23:19:01.474] SETDATA devices.6.data.lastSend = 6832226 (0x00684062)
[2014-07-19 23:19:01.475] Job 0x13 (Nonce get): success
[2014-07-19 23:19:01.475] SETDATA devices.6.instances.0.commandClasses.152.data.rNonceAckWait = **********
[2014-07-19 23:19:01.475] Removing job: Nonce get
[2014-07-19 23:19:01.485] RECEIVED: ( 01 10 00 04 00 06 0A 98 80 04 5A 80 1F BD 08 2E 7D D8 )
[2014-07-19 23:19:01.486] SENT ACK
[2014-07-19 23:19:01.486] SETDATA devices.6.data.lastReceived = 0 (0x00000000)
[2014-07-19 23:19:01.486] Node 6:0 CC Security: received Nonce Report
[2014-07-19 23:19:01.486] SETDATA devices.6.instances.0.commandClasses.152.data.rNonce = **********
[2014-07-19 23:19:01.487] Removing job: Door Lock Operation Get
[2014-07-19 23:19:01.487] Node 6:0 CC Security: Sending a secure message
[2014-07-19 23:19:01.487] Node 6:0 CC Security: sending encrypted packet: Door Lock Operation Get
[2014-07-19 23:19:01.487] SETDATA devices.6.instances.0.commandClasses.152.data.toFollow = False
[2014-07-19 23:19:01.488] SETDATA devices.6.data.lastNonceGet = Empty
[2014-07-19 23:19:01.488] Adding job: Security, Door Lock Operation Get
[2014-07-19 23:19:01.545] SENDING (cb 0x09): ( 01 1D 00 13 06 16 98 81 FA 5B F0 9D AD D1 E1 7C A5 DB 7C 04 6C 97 C9 2F 15 1F 1B AF 05 09 7C )
[2014-07-19 23:19:01.555] RECEIVED ACK
[2014-07-19 23:19:01.566] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-19 23:19:01.566] SENT ACK
[2014-07-19 23:19:01.566] Job 0x13 (Security, Door Lock Operation Get): Response received - transfered to encapsulated jobs
[2014-07-19 23:19:01.566] Delivered to Z-Wave stack
[2014-07-19 23:19:01.567] Delivered to Z-Wave stack
[2014-07-19 23:19:02.729] RECEIVED: ( 01 05 00 13 09 00 E0 )
[2014-07-19 23:19:02.729] SENT ACK
[2014-07-19 23:19:02.729] Job 0x13 (Security, Door Lock Operation Get): Callback received - transfered to encapsulated jobs
[2014-07-19 23:19:02.730] Job 0x13 (Door Lock Operation Get): Delivered
[2014-07-19 23:19:02.730] SendData Response with callback 0x09 received: received by recipient
[2014-07-19 23:19:02.730] Job 0x13 (Security, Door Lock Operation Get): Delivered
[2014-07-19 23:19:02.730] SETDATA devices.6.data.lastPacketInfo.delivered = True
[2014-07-19 23:19:02.730] SETDATA devices.6.data.lastPacketInfo.packetLength = 25 (0x00000019)
[2014-07-19 23:19:02.731] SETDATA devices.6.data.lastPacketInfo.deliveryTime = 1163 (0x0000048b)
[2014-07-19 23:19:02.731] SETDATA devices.6.data.lastPacketInfo = **********
[2014-07-19 23:19:02.731] SendData Response with callback 0x09 received: received by recipient
[2014-07-19 23:19:02.731] SETDATA devices.6.data.lastSend = 6832337 (0x006840d1)
[2014-07-19 23:19:02.731] Job 0x13 (Security, Door Lock Operation Get): success
[2014-07-19 23:19:02.731] Removing job: Security, Door Lock Operation Get
[2014-07-19 23:19:02.865] RECEIVED: ( 01 08 00 04 00 06 02 98 40 2F )
[2014-07-19 23:19:02.873] SENT ACK
[2014-07-19 23:19:02.873] SETDATA devices.6.data.lastReceived = 0 (0x00000000)
[2014-07-19 23:19:02.874] Node 6:0 CC Security: sending Nonce Report
[2014-07-19 23:19:02.874] Adding job: Nonce report
[2014-07-19 23:19:02.874] SENDING (cb 0x0a): ( 01 11 00 13 06 0A 98 80 23 96 B5 13 5B C2 3B 37 05 0A 60 )
[2014-07-19 23:19:02.884] RECEIVED ACK
[2014-07-19 23:19:02.895] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-19 23:19:02.895] SENT ACK
[2014-07-19 23:19:02.895] Delivered to Z-Wave stack
[2014-07-19 23:19:04.056] RECEIVED: ( 01 05 00 13 0A 00 E3 )
[2014-07-19 23:19:04.057] SENT ACK
[2014-07-19 23:19:04.057] Job 0x13 (Nonce report): Delivered
[2014-07-19 23:19:04.057] SETDATA devices.6.data.lastPacketInfo.delivered = True
[2014-07-19 23:19:04.057] SETDATA devices.6.data.lastPacketInfo.packetLength = 13 (0x0000000d)
[2014-07-19 23:19:04.057] SETDATA devices.6.data.lastPacketInfo.deliveryTime = 1162 (0x0000048a)
[2014-07-19 23:19:04.058] SETDATA devices.6.data.lastPacketInfo = **********
[2014-07-19 23:19:04.058] SendData Response with callback 0x0a received: received by recipient
[2014-07-19 23:19:04.058] SETDATA devices.6.data.lastSend = 6832454 (0x00684146)
[2014-07-19 23:19:04.058] Job 0x13 (Nonce report): success
[2014-07-19 23:19:04.058] Removing job: Nonce report
[2014-07-19 23:19:04.069] RECEIVED: ( 01 08 00 04 00 06 02 98 40 2F )
[2014-07-19 23:19:04.069] SENT ACK
[2014-07-19 23:19:04.069] SETDATA devices.6.data.lastReceived = 0 (0x00000000)
[2014-07-19 23:19:04.070] Node 6:0 CC Security: sending Nonce Report
[2014-07-19 23:19:04.070] Adding job: Nonce report
[2014-07-19 23:19:04.080] RECEIVED: ( 01 1E 00 04 00 06 18 98 81 81 8D 80 B3 03 2A EB 18 3F 1E 30 04 43 23 83 C7 30 A3 40 15 16 02 E4 )
[2014-07-19 23:19:04.081] SENT ACK
[2014-07-19 23:19:04.081] SETDATA devices.6.data.lastReceived = 0 (0x00000000)
[2014-07-19 23:19:04.081] Node 6:0 CC Security: Received a secure message
[2014-07-19 23:19:04.081] SETDATA devices.6.instances.0.commandClasses.152.data.firstPart = **********
[2014-07-19 23:19:04.082] Node 6:0 CC Security: passing decrypted packet to application level: [ 71 05 17 01 ]
[2014-07-19 23:19:04.082] SETDATA devices.6.instances.0.commandClasses.113.data.V1event.alarmType = 23 (0x00000017)
[2014-07-19 23:19:04.082] SETDATA devices.6.instances.0.commandClasses.113.data.V1event.level = 1 (0x00000001)
[2014-07-19 23:19:04.082] SETDATA devices.6.instances.0.commandClasses.113.data.V1event = Empty
[2014-07-19 23:19:04.094] SENDING (cb 0x0b): ( 01 11 00 13 06 0A 98 80 CE 2B 66 34 F3 A6 78 3B 05 0B 46 )
[2014-07-19 23:19:04.104] RECEIVED ACK
[2014-07-19 23:19:04.115] RECEIVED: ( 01 04 01 13 01 E8 )
[2014-07-19 23:19:04.115] SENT ACK
[2014-07-19 23:19:04.115] Delivered to Z-Wave stack
[2014-07-19 23:19:05.278] RECEIVED: ( 01 05 00 13 0B 00 E2 )
[2014-07-19 23:19:05.278] SENT ACK
[2014-07-19 23:19:05.278] Job 0x13 (Nonce report): Delivered
[2014-07-19 23:19:05.278] SETDATA devices.6.data.lastPacketInfo.delivered = True
[2014-07-19 23:19:05.279] SETDATA devices.6.data.lastPacketInfo.packetLength = 13 (0x0000000d)
[2014-07-19 23:19:05.279] SETDATA devices.6.data.lastPacketInfo.deliveryTime = 1163 (0x0000048b)
[2014-07-19 23:19:05.279] SETDATA devices.6.data.lastPacketInfo = **********
[2014-07-19 23:19:05.279] SendData Response with callback 0x0b received: received by recipient
[2014-07-19 23:19:05.279] SETDATA devices.6.data.lastSend = 6832562 (0x006841b2)
[2014-07-19 23:19:05.279] Job 0x13 (Nonce report): success
[2014-07-19 23:19:05.280] Removing job: Nonce report
[2014-07-19 23:19:05.290] RECEIVED: ( 01 1E 00 04 00 06 18 98 81 9A 6D DF CB 0A 7D E8 0A AA 61 75 0D AD CE 9F 79 90 FB 61 DA A5 89 5E )
[2014-07-19 23:19:05.290] SENT ACK
[2014-07-19 23:19:05.291] SETDATA devices.6.data.lastReceived = 0 (0x00000000)
[2014-07-19 23:19:05.291] Node 6:0 CC Security: Received a secure message
[2014-07-19 23:19:05.291] SETDATA devices.6.instances.0.commandClasses.152.data.firstPart = **********
[2014-07-19 23:19:05.291] Node 6:0 CC Security: passing decrypted packet to application level: [ 71 05 17 01 ]
[2014-07-19 23:19:05.292] SETDATA devices.6.instances.0.commandClasses.113.data.V1event.alarmType = 23 (0x00000017)
[2014-07-19 23:19:05.292] SETDATA devices.6.instances.0.commandClasses.113.data.V1event.level = 1 (0x00000001)
[2014-07-19 23:19:05.292] SETDATA devices.6.instances.0.commandClasses.113.data.V1event = Empty
[2014-07-19 23:19:19.429] Job 0x13: deleted from queue
[2014-07-19 23:19:20.638] Job 0x13: deleted from queue
[2014-07-19 23:19:20.650] Job 0x13: deleted from queue
[2014-07-19 23:19:21.846] Job 0x13: deleted from queue
[2014-07-19 23:19:23.052] Job 0x13: deleted from queue
[2014-07-19 23:19:23.064] Job 0x13: deleted from queue
[2014-07-19 23:19:24.330] Job 0x13: deleted from queue
[2014-07-19 23:19:25.491] Job 0x13: deleted from queue
[2014-07-19 23:21:38.316] Executing script: zway.devices[6].Alarm.data.V1event.alarmType.value
Mike Yeager
Posts: 160
Joined: 03 May 2014 07:02

Re: Kwikset Locks...

Post by Mike Yeager »

23 is a code that tells you that the bolt isn't extending all the way. I know I had to modify the bolt well on both of my doors. I'm assuming though that you're testing this on your desk and that there's no reason the bolt isn't fully extending. In the instructions, there's a method of getting the lock to program itself for left or right operation. Try that and see if it fixes the problem. It's a long shot but it's all I've got right at the moment. At least it's showing up in the log now... I'll dig a bit...
Post Reply