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

just to follow up on this, i had already initialized the device handler, though i tried again and still have the same issue. one thing to note is as i’m using a Yale Conexis L1 i need to use the smartapp that imports existing users rather than the one that lets you register them in smartapps. I tried the full version and that actually works without error but obviously isn’t usable with my lock. I noticed that although there is a new version of the full smartapp that was released yesterday with the bug fix you mentioned, the other smartapp is still dated from a few days ago.

Grateful for any assistance.

thanks

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

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.

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

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:

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.

That fixed my problem, thanks!

1 Like

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.

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

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

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

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

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?

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.

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

Perfect! Thanks.

1 Like

Doesn’t match my names in this smart app

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!!!

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.

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