[RELEASE] Lock Manager

smartapp_locks

(Erik Thayer) #1

Lock Manager

Incomplete List of features:

  • Manage user codes on locks.
  • Manage Keypads.
  • Review and manage active lock codes.
  • Set lock access based on schedules.
  • Receive notifications when a user used their code.
  • Run Hello Home phrases based on lock/unlock events.
  • Manage Hello Home phrases based on keypad inputs.

This app works using 3 child apps and 1 parent app. It is recommended that you install all 4 apps, however if you do not use keypad devices, it is not required to install the keypad child app.

Note: If upgrading from any beta version, it is required to uninstall the app completely before installing. The architecture of this app has changed in
a way that is incompatible with previous versions.

How To Install

User Guide

Version 1.1

Brought back original reportAllCodes method to learn codes.

This means a Custom device type is REQUIRED again… It is really the only way to get to a stable state. The new way of learning codes is now DEPRECATED, however it can still be called from within the app settings as an advanced feature that will work on select locks and DTH’s

Please donate

Donations are completely optional, but if this made your life easier, please consider.


Changing Lock Codes Remotely?
Schlage Connect Lock-Trying to set codes remotely?
Kwikset lock codes...why the need for dev app to manage codes?
Schalge Door Lock error java.lang.NullPointerException: Cannot invoke method unlock() on null object
Gonna ditch all my Schlage-related automations
Schlage BE469 Camelot Zwave ongoing issues and questions
Newbie Guidance
Yale Z-Wave YRD240 Access Code Creation
Shlage FE599NX program remotely
Schlege lock help
Welcome home "specific person"
Schlage door lock, which smart app?
Just installed Lock Mananger
Confused with Yale smart lock manager
Yale locks - Remotely change codes?
Yale YRD240 lock won't stay locked
Calling all community members: New SmartApp Ideas
Schlage connect lock setup and tips needed!
Kwikset deadbolt - Lock/unlock is really all I can do?
Lock manager, error refreshing page or problem processing request
Pre Sale questions
Schlag connect - code used notification
Is this right: get push notification if lock unlocks?
Individual code access text notification
Individual code access text notification
Changing Lock Codes Remotely?
[RELEASE] Lowes Iris and XFinity CentraLite keypad DTH + Apps
Keypad arm/disarm?
Security smartapps
[RELEASE] Lowes Iris and XFinity CentraLite keypad DTH + Apps
CentraLite Keypads
First steps with SmartThings: setting up Yale YRD256 smart lock
Lock with key codes
[DEPRECATED] - Universal ZigBee Lock DTH with Lock Codes
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[DEPRECATED] - Universal ZigBee Lock DTH with Lock Codes
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
Schlage Connect Deadbolt, SmartThings Hub v2 - How to Program from SmartThings?
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[Depricated] Lock Code Manager
[DEPRECATED] - Universal ZigBee Lock DTH with Lock Codes
[Depricated] Lock Code Manager
New to Smart Things need help managing Schlage lock user codes
Released DHs and local execution?
New Kwikset 916s (from 12/2017) won't accept codes from lock manager
Ring Protect Keypad
Smart alarm - deactivate by unlocking lock
Deadbolt / Lock BE469WKVCAM619 works
Thinking about getting an IRIS keypad, what can it do?
Notify if lock opened with a particular code
[RELEASE] Keypad Coordinator - Bring out the power of your Keypads
Door Opening Notification based on user code?
Lock Manager and Kwikset 916 Lock
Help for a StaplesConnect Transplant?
[RELEASE] Lowes Iris and XFinity CentraLite keypad DTH + Apps
[Deprecated as of Apr 8, 2018] Smart Home Monitor Exit and Entry Delays (Version1)
Home security use case, best practice (?)
Notifications for smart lock?
Schlage connect on sale at home depot
Schlage connect on sale at home depot
New to Smartthings, need help
[DEPRECATED] - Universal ZigBee Lock DTH with Lock Codes
Yale YRD220 Zigbee Touchscreen Lock Status not Updating
Do something if lock is locked with code
Schlage Camelot worked perfectly for almost 2 months now not
Kwikset Zigbee Lock turn off alarm
[RELEASE] Lowes Iris and XFinity CentraLite keypad DTH + Apps
I Need A Easy Fix, Budget 60.00, Taking in "Harvey" family and need access codes outside
Activate a routine but if a window sensor is on then don’t turn on?
Lock manager wont let me add a lock
Another fustrated user joining the ST community out of necessity (UK Yale Lock Integration)
New to Smartthings, need help
Adding Schlage connect locks; New to SmartThings!
[RELEASE] Lowes Iris and XFinity CentraLite keypad DTH + Apps
[RELEASE] Lowes Iris and XFinity CentraLite keypad DTH + Apps
[Depricated] Lock Code Manager
Lock Manager Question
Change mode and ARM with Schlage lock?
SmartApp or DH for Schlage Camelot Lock
Want to Switch from Nexia to Smartthings, need advice
#2

Cool. :sunglasses:

And for those who find this with a forum search and would like to see the older, currently more stable version:


(Ben W) #3

Will check it out. What’s new?


(Erik Thayer) #4

User is a child app, so:
Schedules/Notifications are on per-user basis.
User (you) no longer sets the number of users or which slot the user will use as an integer. More of this logic happens in the app instead with an ENUM input type.

  • a taken slot will not show up as available when setting up a new user

setting a user error loop works better, no more polling loops. User will deactivate.

You can disable users on a per lock basis…

You can see user usage on a per-lock basis… how many times is this person using this lock?

more?


(Zen Sunya) #5

Excellent job!


#6

For those that want to try this with a ZigBee lock, here is my Universal ZigBee DTH with Lock Codes.


(Tim Slagle) #7

Please submit this when it is ready. I will put it through our process. :slight_smile:


(Tim Slagle) #8

(jkp) #9

Bug with code not being removed from Lock when removing User? If I remove a User, the code set for that user is not removed from the lock. During testing, I have to disable the user account first and then remove the account before it no longer works on the lock.


(Erik Thayer) #10

This is also the behavior for the old app for various reasons. Here’s my thinking:

My idea is that there will be a STRONG mode (default) that will manage all the codes. This means that it will strong-arm all the slots that arent set by the app into a deleted state. STRONG mode will be able to be toggled OFF so that you can let other apps manage slots that aren’t being managed by Lock Manager. I have a feeling most people will just choose STRONG mode, but if someone toggles strong mode OFF and then removes a user, it will not delete that code. If STRONG mode is on, the code will be deleted.

Thanks for the input!


(Phil Panfili) #11

Are the codes not burning on the latest app either? I couldnt get them to burn on the old app too.

I need to have 1 use codes, but no matter what I do, when it works once, then it just keeps working.


#12

Trying it out on one lock. Works great so far. I really love having different user profiles.


(Alex) #13

Bug when initiating app - Lock is seen and able to be selected, however ‘New User’ encounters an unexpected error message banner. Lock is Kwikset 910. Any ideas? I feel like it might be something on my end, but I haven’t figured it out yet.


#14

App started showing up in my activity feed constantly this morning. Any further way to debug why?


(Erik Thayer) #15

I haven’t seen that. If you look at the logs, you should be able to see what it’s doing. Do you have the custom device type set up on your locks?
https://graph.api.smartthings.com/ide/logs

Sounds like a bug. If you can find the error in the logs, it should tell you more about it.
https://graph.api.smartthings.com/ide/logs

I shall look into this. Are notifications working for you? “phil_panfili unlocked front door”


(Andrea Bianco) #16

Hi All,

I have installed the new SA (parent & child) and the DTH. Thank you Erik.

I am having inconsistency in reporting … it works perfect with some codes some of the time (“Front door was unlocked by John Doe”), does not give any notifications on occasions, and with others is saying Code 4 or manually unlocked, not the USER name. Attaching a screen shot of live log to help trouble shoot.

Let me know if there are more details that will help debug.


(Andrea Bianco) #17


(Andrea Bianco) #18

further to above

in the notifications this was just sent (10:34AM) - this was the code used at 10:28 AM that says “manually unlocked”.

I have DELETED this SLOT (4) and readded the user and code but same behavior.


(Erik Thayer) #19

It’s possible you have another slot already programmed into your lock that the code you’re trying to set is conflicting. Try to figure out which slot has that code and delete it, or just start using it…

like if Code1 is already 0609…
You can’t set code4 to 0609.

{12 | 34 | 56 | 78 | 90}
or if Code(X) is 9590 it will conflict and the lock will not set the new code…

Try a new code for that user, or figure out why it’s conflicting with another slot.

This should be reported better to the user in a later version.

EDIT:

This is because those codes are active in a different slot that you are unaware of. Add some blank users with inactive codes to delete your slots… then try to program them in again.


(Erik Thayer) #20

As an aside, one should not be using both this app and the old one unless you are REALLY SURE of what you are doing. If you set one slot in this app and other rules in the other app with that same slot, they will end up in a loop of doom that will drain your batteries and your sanity.

Don’t do it!