[RELEASE] Door lock code/lock user management (create, delete and schedule codes) with automatic lock/unlock, custom user actions and SHM integration


(Kevin O'Connor) #1339

I need a little help. I have the Yale z-wave touchpad lock. I have 4 users set up, myself first. In the log I see it warn that the first user is duplicate, and then that the first user is not getting set. I guess this makes sense as I am the master user. Can/should I ignore this error? Seems like it’s constantly trying to set this user and failing. Note that I removed the lock from ST, did a full factory reset, and then re-added it. Still having the same messages.

6444ef5a-7303-49c8-b5f4-9107239f0bfd  11:57:53 PM: debug code report parsed to [['name':'codeReport', 'value':1, 'data':['code':''], 'descriptionText':Front Door Lock code 1 is not set, 'displayed':true, 'isStateChange':true, 'linkText':'Front Door Lock']]

6444ef5a-7303-49c8-b5f4-9107239f0bfd 11:57:44 PM: debug "zw device: 24, command: 9881, payload: 00 71 05 71 01 " parsed to [‘descriptionText’:Front Door Lock code 1 is duplicate, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Front Door Lock’]

(www.rboyapps.com - Make your home your butler!) #1340

You should not ignore duplicate user code warnings as the programming will
fail (locks do not accept duplicate codes, each has to be unique).

Run the clear codes procedure on our webiste to reset the lock and ensure
that your lock is no further than 15-20ft from the nearest z wave repeater
and you should have no problems with the programming.

(Kevin O'Connor) #1341

Actually, thinking about it on the way to work this morning, I figured it out. My own user code was the same as the master code, that’s why it was complaining it was a duplicate. Makes sense since the master code can be used to open the door as well. All the codes need to be unique to be able to report the correct user when a code is entered. Duh. Made the codes different and now all is well.

(alex mnry) #1342

I need a little help, I am a little bit confused. I have the schlage fe599. After setting the lock code with setCode function. I can see at the codeReport that the code was set. I will like to know if there is a function to get the current code of the lock?

(Scott Simmons) #1343

Ok still can’t recieve notification with user lock app. Re-installed, however I noticed this setting, disable all push notifications under it says "play notifications on theses devices, you can’t currently add this.
Could that be anything?

(www.rboyapps.com - Make your home your butler!) #1344

No, Schlage locks (and many others) do not read back programmed codes for security reasons. I think your question may be directed to the Universal Z-Wave Lock Device Handler thread.

(www.rboyapps.com - Make your home your butler!) #1345

That’s only for folks who have the Contact Address Book Feature enabled on their SmartThings accounts (you can search the forum for more details on how to enable this feature). Are you sure you’ve got notifications enabled for your ST mobile app on your phone.

(Scott Simmons) #1346

Everything is on, pushed notifications and notification in the app are
one, but they are both still very basic. "Door unlocked/locked
electronically.) Went into the smartapp where the notifications are set per
user-code they are all set correctly. Still cannot get user X unlocked
door. This is a Schlage and I’m using RBOY device controller. Still
nada. Any logs I can look into?

(www.rboyapps.com - Make your home your butler!) #1347

If it was working earlier then suddenly stopped I suspect you accidentally installed another instance and it got mixed up. You should review your hub and IDE setup.

(Brent Cameron) #1348

@RBoy I have a schlage lock that is already connected to ST and I want to use your DTH and Smart App. The instructions in your smart app say:

“CLEAR CODES IMPORTANT NOTE: Please reset your lock before installing this SmartApp and follow this “Clear Codes” procedure the first time you use the SmartApp or when you install a new lock (if you see the SmartApp stuck in a loop programming codes, run this procedure to fix it):”

What does “reset your lock” mean? Do I have to unlink the lock from ST first before installing? I figure after I install the DTH I just make sure the device is using the new DTH and then install Smart App. But that reset your lock thing is confusing me.

(www.rboyapps.com - Make your home your butler!) #1349

Good question, some locks support a reset procedure, it is not excluding
and re pairing. Check your manual to see if it does.

If does not, don’t worry about it, follow the rest of the Clear Codes
procedure; those steps are more important as that gives the lock and device
handler a clean slate to start.

(Brent Cameron) #1350

Thanks ofr the quick response. Another quick question. I have a Schlage lock with the alarm. I want to use your “Lock Multi User Management with Unlock Notifications, Advanced Scheduling and Automatic Lock/Unlock” Smart App and it recommends using the “Universal Enhanced Z-Wave Lock” DH.

But your other Smart App “Schlage Lock Alarm Mode and Sensitivity Change and Monitor” which I also want to use requires “Schlage Z-Wave Lock with Alarm”.

Which DH should I use if I want to use both Smart Apps?

(www.rboyapps.com - Make your home your butler!) #1351

They both point to the same DH, “Universal Enhanced Z-Wave Lock DH” - it’s Universal for all purposes

(www.rboyapps.com - Make your home your butler!) #1352

On popular request:

Door Lock Code Multi User Management with Notifications and Actions - Version 05.09.00

  • Added two new user programming options, Mode based users and Presence based users. You can now define which users will be activated in which Modes and which Users will be activated when people arrive/leave
  • Simplified the User Interface
  • Safety check, notify user if hardware AutoLock is enabled when trying to use SmartApp AutoRelock and AutoUnlock features
  • Added support for mode based notifications
  • Added support for code expiration past midnight

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock and August Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 03.04.00 or newer for full SmartApp and automatic update notification functionality

Some examples of what users have requested:

  1. I give my landlord an access code for the lock but I want it disabled when I’m at home (presence based users)
  2. When my children are at home and the parents aren’t home, then allow the babysitters code to work (presence based users)
  3. When we’re away allow my neighbours code to work (mode based users)


This reminds me. I don’t seem to be able to get a third access code assigned to my lock. It’s a Kwikset lock. If I look at events, I see a ‘codeReport’ for user 1 and 2, but nothing for user 3.

(www.rboyapps.com - Make your home your butler!) #1354

This indicates that commands are being lost. (there is no difference between any number of codes, more codes = more load on z -wave network). Make sure you lock is no further than 15-20ft from the nearest Z-Wave repeater (one hub sometimes isn’t enough to create a strong Z-Wave mesh and you need atleast one Z-Wave repeater between the hub and the lock).
The Smart App will detect lost network commands and retry the commands (unless you’ve disabled that option in the SmartApp) but in the long run it’s better to have a Z-Wave repeater, just makes for a better experience and mesh (not to mention battery life).

(Phong) #1355

Is there a way to program 6 pin or 8 pin codes. I am only able to do 4 pin codes.

(www.rboyapps.com - Make your home your butler!) #1356

That depends on your lock, the app doesn’t restrict the pin length unless the lock tells it otherwise. I’m assuming you’re using a Schlage lock and you need to program the pin length on the lock. Some locks like the FE599 have fixed length of 4 digits while others like the BE469 can be programmed to accept between 4 and 8 digits. Refer to your lock manual.


The lock is probably 15 feet away from the ST hub, and less than 2 feet away from some Z-Wave switches that are repeaters.

(Fernando Fuentes) #1358

@flyize I had the same exact issue, @RBoy told me the same thing… and my reply was similar to yours… I had to bite my tongue and buy real repeaters to see if it was true… lo and behold, I never had issues again!