Help with Custom Yale Smart Lock Device Type


(Josh) #1

Good evening all.

I have been trying to customize the default basic Z-Wave connected lock Device Type to work with my Yale lock a little better. I have found a custom device type that bigpunk6 did for his lock, and I also attempted to modify that to work with my Yale lock.

Here is my issue. The device reports actions fine, but when I manually lock the door from the inside using the thumb turn, it doesnt register that its locked, and then all notifications seem to stop in the logs. I can still send commands to the lock, but it seems to break the polling/logging.

here is what my log shows for the attempt:

f73d5f05-0977-4829-b237-284d96e258a4 6:25:11 PM: debug Parse result [name:lock, value:unlocked, descriptionText:Yale Front Door Lock Un-Secured using Keyed cylinder or inside thumb-turn, isStateChange:true, displayed:true, linkText:Yale Front Door Lock]

f73d5f05-0977-4829-b237-284d96e258a4 6:25:11 PM: debug "zw device: 05, command: 9881, payload: 00 71 05 16 01 " parsed to ['name':'lock', 'value':'unlocked', 'descriptionText':Yale Front Door Lock Un-Secured using Keyed cylinder or inside thumb-turn, 'isStateChange':true, 'displayed':true, 'linkText':'Yale Front Door Lock']

f73d5f05-0977-4829-b237-284d96e258a4 6:25:11 PM: debug AlarmReport(alarmLevel: 1, alarmType: 22, eventParameter: [], numberOfEventParameters: 0, zensorNetSourceNodeId: 0, zwaveAlarmEvent: 0, zwaveAlarmStatus: 0, zwaveAlarmType: 0)

f73d5f05-0977-4829-b237-284d96e258a4 6:25:11 PM: debug encapsulated: AlarmReport(alarmLevel: 1, alarmType: 22, eventParameter: [], numberOfEventParameters: 0, zensorNetSourceNodeId: 0, zwaveAlarmEvent: 0, zwaveAlarmStatus: 0, zwaveAlarmType: 0)

f73d5f05-0977-4829-b237-284d96e258a4 6:23:35 PM: debug Parse result [displayed:false, descriptionText:Yale Front Door Lock: AlarmReport(alarmLevel: 0, alarmType: 9, eventParameter: [], numberOfEventParameters: 0, zensorNetSourceNodeId: 0, zwaveAlarmEvent: 0, zwaveAlarmStatus: 0, zwaveAlarmType: 0), isStateChange:false, linkText:Yale Front Door Lock]

f73d5f05-0977-4829-b237-284d96e258a4 6:23:35 PM: debug "zw device: 05, command: 9881, payload: 00 71 05 09 00 " parsed to ['displayed':false, 'descriptionText':Yale Front Door Lock: AlarmReport(alarmLevel: 0, alarmType: 9, eventParameter: [], numberOfEventParameters: 0, zensorNetSourceNodeId: 0, zwaveAlarmEvent: 0, zwaveAlarmStatus: 0, zwaveAlarmType: 0), 'isStateChange':false, 'linkText':'Yale Front Door Lock']

f73d5f05-0977-4829-b237-284d96e258a4 6:23:35 PM: debug AlarmReport(alarmLevel: 0, alarmType: 9, eventParameter: [], numberOfEventParameters: 0, zensorNetSourceNodeId: 0, zwaveAlarmEvent: 0, zwaveAlarmStatus: 0, zwaveAlarmType: 0)

f73d5f05-0977-4829-b237-284d96e258a4 6:23:35 PM: debug encapsulated: AlarmReport(alarmLevel: 0, alarmType: 9, eventParameter: [], numberOfEventParameters: 0, zensorNetSourceNodeId: 0, zwaveAlarmEvent: 0, zwaveAlarmStatus: 0, zwaveAlarmType: 0)

f73d5f05-0977-4829-b237-284d96e258a4 6:23:33 PM: debug Parse result [name:lock, value:locked, descriptionText:Yale Front Door Lock Secured by Controller, isStateChange:true, displayed:true, linkText:Yale Front Door Lock]

f73d5f05-0977-4829-b237-284d96e258a4 6:23:33 PM: debug "zw device: 05, command: 9881, payload: 00 71 05 18 01 " parsed to ['name':'lock', 'value':'locked', 'descriptionText':Yale Front Door Lock Secured by Controller, 'isStateChange':true, 'displayed':true, 'linkText':'Yale Front Door Lock']

f73d5f05-0977-4829-b237-284d96e258a4 6:23:33 PM: debug AlarmReport(alarmLevel: 1, alarmType: 24, eventParameter: [], numberOfEventParameters: 0, zensorNetSourceNodeId: 0, zwaveAlarmEvent: 0, zwaveAlarmStatus: 0, zwaveAlarmType: 0)

f73d5f05-0977-4829-b237-284d96e258a4 6:23:33 PM: debug encapsulated: AlarmReport(alarmLevel: 1, alarmType: 24, eventParameter: [], numberOfEventParameters: 0, zensorNetSourceNodeId: 0, zwaveAlarmEvent: 0, zwaveAlarmStatus: 0, zwaveAlarmType: 0)

f73d5f05-0977-4829-b237-284d96e258a4 6:23:26 PM: debug Result 9881006202

f73d5f05-0977-4829-b237-284d96e258a4 6:23:26 PM: debug Result 9881006201FF

it should read that at 6:27pm I secure the front door via the thumb-turn.

In my Devices, when I go to Events, I see the event firing there today properly:
Name Value
date 2014-12-09 2:21:59.479 PM EST (2014-12-09T19:21:59.479Z)
description Yale Front Door Lock Secured using Keyed cylinder or inside thumb-turn
deviceId f73d5f05-0977-4829-b237-284d96e258a4
deviceTypeId 98c5f40b-5875-4f07-b197-af3289a975f2
displayed true
eventSource DEVICE
hubId 33fe6140-b5f9-4838-a451-6a564aa8ab3a
id a58848dd-7fd8-11e4-a6f3-22000b8f4f9c
isStateChange true
isVirtualHub false
linkText Yale Front Door Lock
locationId d484007a-b7a2-455a-999d-8d3f4d546ec7
name lock
rawDescription zw device: 05, command: 9881, payload: 00 71 05 15 02
unixTime 1418152919479
value locked
viewed false

however I am not sure what caused/triggered this, as I was at work when it happened. I am not sure if my gf who was home actually used the thumb-turn, or it was something else.