UserCodeCCSet for Yale Locks has an artificial length requirement #6997
-
Checklist
Describe the issueWhat is happening? However, for Yale Locks, the Yale locks itself, SiLabs, and OpenHab will set the UserCode to '' (empty string) when deleting the code (setting UserIdStatus = 0). They are pushing both properties to the device. So, other tools will remove the UserCode, which makes the lock more secure as the code has been removed and disabled. For all these tools, the lock will report the code as '', but not with zwave.js If I try to wipe it with four spaces, I will be told that the code is already in use. If the value is a number, the lock will Enable the code (instead of deleting it). This is not possible with zwave.js
What did you expect to happen instead? Steps to reproduce the behavior: Anything else we should know? Software versionszwave-js-ui: 9.1.0.f2b51e2 Device informationThis is a software limitation based on an assumption about the ZW0322 specification, which does not include the manufacturer's values setting to empty strings on disabled CC. Since the limitation is in UserCodeCC.ts, not the driver, the driver file does not have any log of this issue. Checklist
Upload LogfileNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
👋 Hey @oddllc! Thanks for opening an issue! It doesn't look like you provided a logfile though. While not strictly necessary for every issue, having a driver log on loglevel debug is required to diagnose most issues. Please consider uploading a logfile that captures your problem. As a reminder, here's how to create one: |
Beta Was this translation helpful? Give feedback.
Z-Wave JS follows the specification and sets the user code to
0x00000000
when setting the status to available, so clearing it manually is not necessary. Please share a log of what happens when you change the status from Occupied to Available. It might be that the value for the UI is just not updated.