SmartThings Community

[RELEASE] Lock User Management - Door lock code manager (create, delete and schedule codes) with automatic lock/unlock, custom user actions and SHM/ADT integration

smartapp_security
smartapp_locks
project_locks
adt
rboyapps
(www.rboyapps.com - Make your home your butler!) #1468

Your device handler database is out of sync with the lock. Run the Clear Codes procedure on our website and it should resolve it.

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

Are you referring to this SmartApp which allows you to use the existing users programmed into the lock to take actions?

If so then yesterday’s patch has also been applied to this SmartApp and you can download the updated version.

#1470

After Updating to v06.01.00 and v04.00.00 of the Device Handler, the DeleteCodes for Expired Codes does not seam to be working. The Notifications Message and Activity Feed on ST advises

  • Confirmed Guest user 8 was deleted from Yale Lock
  • Requesting Yale Lock to delete user 8 Guest
  • Yale Lock User 8 Guest code expired on Sun Jan 21 2018 14:00 GMT

This was as before when it was deleting expired users, but when I go back in the Automation and in the SmartApps and navigate through, I see the ‘Deleted’ user is still there. This is happening with multiple users.

Any ideas what to do ?

Many thanks

(Jimmy) #1471

Thanks, that straightened it out. Any way you can have the Slot # Name in your app map to the Code Name attribute in Smart Locks?

Right now you send this:

Renaming in Smart Locks sends this:

#1472

After updating all code for SA and DH (using Universal Z-Wave), and adding Smart Locks back in, the Dashboard page for Smart Locks never updates. If I unlock a lock, or unlock both locks from Smart Locks and go back to Dashboard, it never changes from “All locked”. I have removed Smart Locks and reinstalled several times. I know another person reported this in one of the other threads. See screenshots:

No matter what the locks are set to, the main Dashboard screen never updates.

EDIT: If you uninstall Smart Locks and then reinstall, whatever the status is of all locks combined at the time of install, that is what displays in the Dashboard screen and remains that way, no matter what status changes occur on the locks.

[RELEASE] Universal Enhanced Z-Wave Lock, Schlage, Yale, Kwikset, IDLock, DanaLock, August Pro, Samsung, Locstar, Delaney, KeyWe, Philia Locks and Popp Z-Wave Keypad Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features
(Ian Cowe) #1473

That fixed my problem, thanks!

1 Like
(www.rboyapps.com - Make your home your butler!) #1474

It already does that, if you’re using the new stock device handler or v4 of the custom handler it will send the lock names so that it will sync up with SmartLocks.

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

That’s a bug with SmartLocks, it’s running locally on the hub and when it interacts with a device handler running in the cloud (all custom code runs in the cloud) it doesn’t seem to update until you restart the mobile app. Report it to ST support, we’ve also sent them a bug report.

1 Like
(www.rboyapps.com - Make your home your butler!) #1476

Run the clear codes procedure listed on our website, your lock and device handler database are out of sync.

(Jimmy) #1477

I’m using the stock SmartThings “z-wave lock” handler and it isn’t doing this.

#1478

I’m using the Universal Handler so I have access to all the locks extended capabilities that the stock handler does not provide.

1 Like
#1479

On Android - After clearing cache and Force stopping app, this does not reflect the current state of locks. Only uninstall / reinstall will set to correct current state.

Is there a number / reference for the bug report that I can reference/provide when I reach out to support?

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

I think you’re mixing two different things, you shouldn’t be looking at the device settings page.

You should open SmartLocks and look under Lock Codes and you’ll find the names are in sync with the Lock User Code Management SmartApp.

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

case no 495568

You can mention that one can replicate the issue even if you run the stock Z-Wave Lock device handler in the cloud.

1 Like
#1482

Perfect! Thanks.

1 Like
(Jimmy) #1483

Doesn’t match my names in this smart app

(Jason) #1484

I am curious about this also. I only have 3 codes for each lock, but when I look at that section it is showing my lock as having 5 codes. I am wondering if this is just being generated by the smartapp and means nothing. I have no idea!!!

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

These could be left codes from a previous installation or some other app or manually programmed codes. The Lock User code management SmartApp only manages the number of codes you’ve defined in the first page. If you’ve set that to 3, then it will only manage the first three codes and won’t touch the rest.

That’s why on our website under the clear codes procedure we ask users to reset the lock so it clears any old codes and starts afresh

Some folks like to maintain extended code independent (e.g. Slots 10-15) and don’t want the SmartApp to touch them.

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

Just checked and it’s working fine with the stock handler also. SmartLocks is probably caching old data. You may want to pull down to refresh the page or remove and reinstall SmartLocks.

Having said that, while the Lock User Code Management and SmartLocks can coexist it isn’t a good idea to use both at the same time as it can cause issues if both apps try to program the lock at the same time.

1 Like
(Jason) #1487

Are these the directions you are referring to? if I try to clear the users, it won’t let me save, what am I doing wrong? it says you must fill in all required fields.

Make sure your lock is no more than 15 ft from the nearest active device/repeater
After installing the SmartApp, open the SmartApp on your phone (under Automation -> SmartApps)
Scroll down and set the number of users you want to program into the lock
Click Next, make sure all the names and codes are empty for all the users
Click on Save, wait for a few minutes for the lock to clear all the codes

Edit: So I decided to mess around and deleted the codes from the smartlocks app. I then went back into your app and all of the names and codes were cleared. I then redid the codes and went back to the smart locks app. When I go to codes they are now all correct. They show up by the name of the code and not a #.

1 Like