Generic Zwave Lock - report user code on lock as well as unlock

It appears that the generic zwave lock driver only reports the user code on unlock events - not lock events. I have a Yale real living lock, which has a setting to require a code to lock as well as unlock, which is how I have it set. However, it appears the driver only reports the event as unlocked by keypad - even when a user code was used. Please revise the driver to report the user code when it is used for lock.
Thanks!

1 Like

I'm using the Generic ZWave Lock driver with a Kwikset 913 and get the lock and unlock events with a name if a code is used:

Name Value Unit Description Text Source Type Date
lock unlocked Front Door Lock was unlocked by Main DEVICE physical 2022-05-23 02:04:37.256 PM EDT
lastCodeName Main Front Door Lock was unlocked by Main DEVICE 2022-05-23 02:04:37.254 PM EDT
lock locked Front Door Lock was locked by Bear DEVICE physical 2022-05-23 02:04:26.963 PM EDT

Only get the lastCodeName change with the unlock though.

2 Likes

That's very strange - I double checked my description text and it only shows locked by keypad.


Is what you pasted coming from device events?

My copy/paste was from the device events. I get the locked by keypad if I don't enter a code.

Strange. Support folks say that the two different locks may just report differently. I know my lock reports user code for unlock in the zwave responses but apparently there's some difference in reporting such that the driver doesn't capture it for the Yale lock.

Do you have a log for this? If so, it will help them (or someone else) create a driver that supports it for you lock.

My keying sequence is code and then press the lock button if it matters.

Do you mean a log in HE? It's not being captured by the driver in HE at all. I turned on debug logging and confirmed this.

I have the logs from my other software that pulls the actual zwave responses so I know what the raw zwave broadcast looks like. In fact, if I could access that in HE, I could just parse it the same way I did in my other software.