No - setting user codes is only available via the administration UI. I think if you start setting user codes through items it’s really starting to get messy (and dangerous). It starts to blur the lines between user and administrator - maybe these lines should be blurred, but in that case the system should really provide that functionality rather than the binding.
In my Yale lock it works fine, although I don’t tend to change them often. I’ve not had any reports of issues with this.
Any time I used habmin to update a code or add a code it corrupted all of the codes. I had to clear and manually re-enter them all at the device. I have 4 locks with the same behavior. I didn’t need this functionality so I just let it go. When I have time I’ll grab logs and get back to you. Maybe it will help someone else.
I see a scenario where I could:
Use Habpanel with a numpad
Input an admin pin to open up this element.
View codes (as I can view them in administration UI).
Set a new code (one time use, 5 times use, etc) in slot X.
The items would not contain anything more than a variable from the numpad.
As of today, I have to go to my computer and log in to my server and do it via openhab UI.
Or do it via the doorlock itself.
But if it is not possible, then it is not possible
Thank you for the reply!
For my implementation, I have a switch that triggers a rule to generate a new code, adds it to the lock, sends me a notification, and sets a timer to expire the code.
Hi Chris. I know this is an old thread, but I hope it’s OK to revive it since this is the most relevant discussion I could find.
Where should Zwave lock user codes be set in OH 3? I see the code slots on the item page, though they all show 2A 2A 2A over and over. Is there a different place to set the codes?
I am not exactly sure what you mean - there is just the thing configuration page for configuring the thing, and this includes the codes. Probably the 2A is what is read out of the device by default?
Sorry, the Thing page, not the Item page. The fact I was seeing all 2A 2A 2A codes instead of the codes that are set on the lock made me wonder if that was the incorrect place to manage user codes for Zwave locks in the UI. I will use the Thing page then. Thanks!