[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
project_secondhome
rboyapps

#1353

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.


#1357

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!


Full Air BnB Shclage Connect Integration for multiple property listings
FAQ: why would I need another beaming repeater if my zwave lock is already close to my hub?
[RELEASE] Rental Lock Automater - Automate user codes with AirBnB, HomeAway, VRBO and Booking.com for multiple properties
#1359

Is there another way to test this, short of buying something?


#1360

@RBoy I just checked the Live Logging, and I’m actually seeing this:

8:34:31 AM: debug Requesting Front Door Lock to add permanent code Steveggggg to user 3, code: 557755
8:34:31 AM: debug Invalid Input: Unable to set code 3 to 557755


[DEPRECATED] - Universal ZigBee Lock DTH with Lock Codes
(Head of Support (rboyapps.com)) #1361

Hi @flyize, I’m Maddie and I lead support for RBoy Apps. This message doesn’t seem to be coming from the latest SmartApp or the Device Handler code. Can you check if you’re on the latest version of the code? Drop us an eMail along with the complete logs and I’ll be happy to help you figure it out.


#1362

This is my DHT version (which is where the Invalid Input error is coming from):
/*

  • Universal Enhanced ZigBee Lock
  • 2017-07-23 : 1.7 - Bug fix for when lock and DTH are no longer in sync

This is my SmartApp version:
def clientVersion() {
return “05.09.00”
}


(Head of Support (rboyapps.com)) #1363

That makes sense, I was looking at the Z-Wave code. I would suggest to post the question here as it’s coming from the ZigBee device handler.


#1364

Just as an update @jhamstead suggested I try the (un)official SmartThings DH located here:

It seems to work without issue. However, it seems to cause an error in your smartapp:

3:16:25 PM: error java.lang.NumberFormatException: For input string: “1 changed”

I assume it should be pretty easy to replicate.


(Head of Support (rboyapps.com)) #1365

This SmartApp is currently designed to work with the the official handler from SmartThings. As you can see the above handler is under development and we are in communication with SmartThings on it (and other new upcoming handlers). Once they officially release it we will release an update to the SmartApp to be compatible with the new official Handlers.

Current the SmartApp works with the following Handlers:

  1. Official SmartThings Z-Wave handler
  2. Universal Enhanced Z-Wave handler (for additional features)
  3. @jhamstead ZigBee handler (pending an official release from SmartThings for a ZigBee handler)

Meanwhile for your ZigBee issue I would recommend going back to @jhamstead ZigBee handler. I assume it was working until recently so something might have changed. There are a few things you can try:

  1. One of the existing codes are conflicting with the lock. Locks have code limitations, for e.g. Some locks do not accept codes who’s first four or six digits match the master code or programming code. Similarly No two codes can be the same, sometimes the hash values of the code conflict causing the lock to reject the code. I would suggest try a different set of codes if one or two particular codes are giving trouble.
  2. Do a clean setup, maybe something went wrong with the database or association. Exclude the lock, reset it, reboot the hub, repair it and run the clear codes procedure listed on our website for a fresh start.

Hope this helps.


#1366

I’m in contact with him and just sent him over some additional logs this morning. The problem is that he doesn’t have a Kwikset lock to test with, and I need to be able to add more codes.

In the meantime, it seems to work with the ST DH. Other than it’s clearly under pretty heavy development, is there any reason I shouldn’t use it?


#1367

I would like my front door lock to control my Ecobee thermostat.

For example:
Door unlocked -> Ecobee changed to “Home” mode
Door locked from keypad -> Ecobee changed to “Away” mode

is there a way to do that?

I kept playing with the settings yesterday, without luck.
I am able to use the Rboy app to change the Thermostat temperature. However what I would really want is to change the Thermostat mode (Home/Away/Sleep) while leaving the temperature as it was programmed


(Head of Support (rboyapps.com)) #1368

The Ecobee thermostat appears to have custom modes which isn’t part of the most thermostat standards (auto/cool/heat etc).

I would recommend setting up a simple CoRE rule that runs an action when it detects a lock or unlock event (with the Universal Enhanced Z-Wave lock device handler you can also identify the source, keypad etc) and then send a custom command to the thermostat to change it’s mode.


(Head of Support (rboyapps.com)) #1369

On popular request:

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

  • Added support for arming Smart Home Monitor (SHM) as part of the Lock actions
  • Added support for Delay Actions, when locked via the Keypad, you can now have the system wait before running actions (allows for folks to exit the house before arming the security system or turning off lights, etc)

Lock User Management is the most reliable and comprehensive commercial grade User Management SmartApp with many (unique) features:

  • Unlimited users and locks
  • Works with the built in SmartThings device handler
  • Easy and intuitive setup
  • Sure-Programming engine: verifies that programming was successful
  • Support for different types of locks (keypad, bluetooth, RFID, etc)
  • Define custom individual Unlock AND Lock actions for users such as:
    • Exit delay actions (wait for X minutes before running actions)
    • Running routines
    • Changing modes
    • Arming/Disarming SHM
    • Turning on lights if it’s dark outside
    • Turning on/off switches
    • Define rules when to run and not run actions
    • Notifications on type of lock/unlock (manual, code, keypad, bluetooth, rfid etc)
  • Define Door Open/Close actions such as
    • Automatically relocking the door when it’s closed
    • Automatically unlocking the deadbolt if it’s extended, while door is open
    • Ringing chimes when door is opened
    • Notifications if door is left open
    • Define actions for each door separately
  • Multiple types of users such as permanent, one time, expiration (start and end date/time), scheduled (daily/weekly etc) with multiple schedules per user, presence based, mode based and many more
  • Lots of built in safety mechanisms to ensure users have a reliable experience
  • and lots more…

Some of the advanced features require use of the Universal Enhanced Z-Wave Lock device handler (the app will notify you when required), most features are available with the stock SmartThings Z-Wave device handler.

If you’re using a ZigBee lock, we recommend the awesome Universal ZigBee Lock device handler from @jhamstead

Some examples of how folks are using this app:

  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 babysitter’s code to work (presence based users)
  3. When we’re away, allow my neighbor’s code to work (mode based users)
  4. I can schedule a code for my nanny with multiple schedules per day (morning and evening)
  5. I can program ahead for my vacation rental properties with a start and end date/time for my guests

Copyright © RBoy Apps


(Dave) #1370

This app just chugs along and I don’t need to get involved. A credit to it’s quality.

That is until I need to update it. I decided to update the custom device handler (3.5.1) and the latest Smartapp (5.10). I followed the directions but when opening the Smartapp on my phone and then saving I get the error “Error saving page”. No details so I don’t know how to fix. This has happened to me before but it somehow fixed it self.

Any ideas.

I do see this in the log in the IDE:
java.lang.IllegalArgumentException: Command ‘setCode’ is not supported by device ac7bb006-70f5-4d0c-b1b6-697ebf26d9ca of type ‘Door lock code user management with notifications and automatic relock’. Supported commands:

Edit - FWIW, my two locks have also disappeared from my ST app, they still exist in the IDE.[]


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

What this message is saying is that your locks either don’t exist or they are using the wrong device handlers. Check your lock setup, it isn’t using either the stock st zwave lock device handler or the universal zwave lock device handler.


(Dave) #1372

The locks disappeared from the app, but they exist in the IDE and have the type
"Door lock code user management with notifications and automatic relock"

Both devices show correct recent activity in the IDE.

When editing the App on my phone, I can select both locks.