-
-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance Keypad unlock operation
notification with userCode
#7579
Comments
I think this should be something for driver? @AlCalzone |
Should I be posting this in a different repository @robertsLando / @AlCalzone ? |
Can you share a driver log where you generate these notifications? Please put it on loglevel I'm not entirely sure I've understood the issue. |
Hi, no worries. I'll try to explain the issue once more: 1st ask - I have a programmed usercode 2nd ask - I have the master usercode
logs: zwavejs_2025-01-28.log |
Okay, so for normal users, we should be able to add the current user code to the event notification:
I would still make it an opt-in option, since the user code should be considered sensitive information. For the master code it might work if you query the code first. It looks like that hasn't been done, so Z-Wave JS doesn't know the code. |
Hi @AlCalzone, The opt-in would be good with our team! I was able to perform the However, I also tried the command With the given information, would there still be a way to deterministically know whether a code was a master code with the current device? |
With this exact device yes, by checking if the user ID is 251. Generically for all User Code CC V1 locks, no. |
Is your feature request related to a problem? Please describe.
Currently, whenever a lock is unlocked by a usercode, the
Keypad unlock operation
notification is created with theparameters: userId: {value}
. However, we need to look at the users tab to confirm which code it was used. This may work for most case except the master key.We recently tested with a Yale Assure Touchscreen Deadbolt YRD226 and when the master key was used to unlock it, the
userId
that was provided was actually in adisabled
in thescheduling
column in theusers
tab.Describe the solution you'd like
Keypad unlock operation
enhancing theparameters
field withuserCode
.Keypad unlock operation
would include a parameter to indicate whether the userId/userCode represents the master key.Describe alternatives you've considered
Open to suggestions!
Additional context
The text was updated successfully, but these errors were encountered: