node-zwave-js: Yale locks missing alarmLevel for Manual Lock Operation notifications

Is your problem within Home Assistant (Core or Z-Wave JS Integration)?

NO, my problem is NOT within Home Assistant or the ZWave JS integration

Is your problem within ZWaveJS2MQTT?

NO, my problem is NOT within ZWaveJS2MQTT

Checklist

Describe the bug

What causes the bug?

For the Yale lock YDR256, the alarmLevel is not being consumed for the alarmType of 21. I see this at: /packages/config/config/devices/0x0129/templates/yale_template.json

What do you observe?

This causes the system to be unaware of the type of Manual Lock performed. It should report “by key cylinder or inside thumb-turn” for alarmLevel=1, and “by touch function (lock and leave)” for alarmLevel=2. (There is a third level, “by internal button” that must be present on other models).

I’m getting this documentation from: here

What did you expect to happen?

Knowing which type of lock operation occurred lets you infer if the cat sitter has left the house. 😃

Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Device information

Manufacturer: Model name: Node ID in your network:

How are you using node-zwave-js?

  • zwavejs2mqtt Docker image (latest)
  • zwavejs2mqtt Docker image (dev)
  • zwavejs2mqtt Docker manually built (please specify branches)
  • ioBroker.zwave2 adapter (please specify version)
  • HomeAssistant zwave_js integration (please specify version)
  • pkg
  • node-red-contrib-zwave-js (please specify version, double click node to find out)
  • Manually built from GitHub (please specify branch)
  • Other (please describe)

Which branches or versions?

latest addon version 0.1.58

Did you change anything?

no

If yes, what did you change?

No response

Did this work before?

No, it never worked anywhere

If yes, where did it work?

No response

Attach Driver Logfile

Not applicable

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 28 (13 by maintainers)

Most upvoted comments

There are 3 types of manual lock notifications according to the manufacturer. (I’ve included the supplier documentation above.) And indeed, I do have a use case for deciphering between them.

Here they are for convenience: image

image

AlarmLevel does not always represent userID. In this case, it indicates the method of locking. Your example above did not include pushing the lock button from outside.

It’s precisely this case I’d like to trigger automations, because its the only way to determine when an otherwise untracked person has left the house, instead of just locking the door behind themselves as they enter.

The 3rd method is not available on my unit, I can only lock from inside by rotating the cylinder. However, probably best to support it.

Agree on the RF lock/unlock point.