/user-lock-manager

Primary LanguageGroovyMIT LicenseMIT

Welcome to Lock Manager!

Now with custom device type!

  • Use the attached device type zwave-lock.groovy for added functionality.
  • Minimal changes to SmartThings code.
  • More reliable code set/delete.
  • Codes will be reconciled on each poll() event.
  • App will function without custom device type, but not as well.

Features:

  • Assign Codes to Multiple Users.
  • Manage Multiple Locks.
  • See what codes are active.
  • See how many times a code is used (reset usage manually)
  • Be notified when a user uses their code.
  • Delete codes after they are used*.
  • Optionally Schedule Users so that they only have access during certain times, modes, days of the week, or a calendar range.
  • Decide which notifications to receive in the event that the locks are too chatty.
  • When a code is entered, perform Hello Home Actions.

* Code is burned when a user enters it at any selected lock. Code will not become active again until code usage for that user is reset.

How to use:

How to...Install App

  1. Go to Apps in IDE
  2. Click "New App +"
  3. Click "From Code"
  4. Copy from github
  5. Paste into textarea on SmartThings
  6. Click Publish > For Me

How to...Add Device Handler:

  1. Navigate to: https://graph.api.smartthings.com/ide/devices
  2. Click 'New SmartDevice' in the upper right.
  3. Click 'From Code'
  4. Paste the code from the link (github) above into the text area:
  • if you have a schlage lock, use @garyd9's handler: here
  • all other locks: here
  1. Click 'Create'
  2. Click 'Save'
  3. Click 'Publish' > 'For Me'

Change lock device handler to new code:

  1. Navigate to 'My Devices': https://graph.api.smartthings.com/device/list
  2. Locate your lock and click on the name in the first column
  3. Click 'Edit' on the bottom of the page view
  4. In the 'Type' drop-down scroll to the bottom and select 'Z-Wave Lock Reporting'
  5. Click 'Update' to save changes

Then continued on your smart device...

  1. Tap Marketplace
  2. Tap SmartApps
  3. Scroll down to 'My Apps' / Tap
  4. Tap User Lock Manager
  5. Fill out app options.

NOTE:

Please use only the included device type or the default device type provided by SmartThings, or the schelage device type created by @garyd9 here:

Confirmed Locks:

  • Kwikset 910, 914
  • Yale Security YRL-220-ZW-619
  • Others?

USE AT YOUR OWN RISK

It is possible that a user code deletion could fail. Do not give door codes to people that you don't want access to your home or office, and watch notifications carefully.

Donations

If this made your life easier, please consider donating.