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

smartapp_alerts
dth_locks
smartapp_security
smartapp_locks
rboyapps

(Jason) #193

When you release a new version of the app, is there an easier way to get the latest version updated without having to uninstall and reinstall the app again (after updating and republishing the code) then going through setting up all the users and settings again?


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

Yeah you don’t need to reinstall the app. Just copy paste the new code and overwrite the old code and publish it. Once done open the app in your smart phone, check you settings and hit done. The last line is important for the changes to take effect


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

Added support to show if the one time codes and expiry codes are used/expired when configuring the user codes.


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

Updated the installation instructions on the website http://smartthings.rboyapps.com to include instructions for updating apps


(Jarett) #197

I use this app too. Would definitely be nice if the functionality was integrated in the door lock manager.


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

While this app works with any lock that support remote codes AND with the standard Z-Wave lock device provided by ST by default for all locks, those who has Schlage locks can get some added benefits by using the SmartDevice type for Schlage locks (it will provide the added benefit of invalidCodes notifications).

However just to reiterate, this SmartApp will work just fine with the standard ST provided Z-Wave SmartDevice that comes by default when you pair your Lock


(Michael K) #199

I’e got the schlage FE599. When you enter a code it unlocks for a few seconds and then relocks. ST is clueless about relocking. Supposedly it polls every 6 minutes and should see in 6 minutes that the device is locked but that’s even hit or miss.

Any way to update the app so that on a code unlock it polls at 60 seconds, 120 seconds, and 180 seconds than stops and lets ST ‘regular poll’ take over?


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

I’m not sure what your issue has to do with this SmartApp, I think you’re referring to a SmartDevice, this is the wrong thread,
Have you tried using this code?


(Daniel) #201

@RBoy, the issue is not with the SmartAPP or the SmartDevice, but with the FE599 lock itself. When the lock is unlocked with a code, it re-locks itself in about 10 seconds. The problem is that is does not report that it is now locked, so any routine that runs when it is unlocked again will not run because Smartthings sees it as unlocked. The only way to see if it is locked is to poll it, then it reports that it is locked.
So @MickaelK is asking if the app can poll the lock about 15 seconds after it was unlocked with a code.


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

yes I understand I’m just saying the question is posted in the wrong thread, he’s more likely to get a better response from users of a Schlage lock (and corresponding thread). FE599 has firmware bugs (again I’ve reported in the thread here)

I would suggest remove the battery and reinitialize the lock and reboot the hub.


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

@Nomad33fw @jarettp, this took some effort to coordinate with multiple locks in a single app
Version 2.4.0 - Added support to relock doors after they have been closed with an optional delay timer and to retract deadbolts if door is open

The delay timer is a minimum guarantee of delay, it could be longer depending upon sequence of events and number of doors


(Jarett) #204

Thanks man you’re awesome! I’ll report back after I test it out.

Edit: Wasn’t able to get it to work properly. My feedback is as follows:

  1. From my previous experience in trying to implement this, you can’t have it lock immediately for some reason. There has to be a delay or the lock won’t receive the command.
  2. I need a delay in seconds, not minutes to compensate for the previous problem
  3. I wasn’t able to get the door to unlock if locked while open
  4. I’m now getting notifications when my other smartapp relocks the door. Not sure if it’s connected but I’m trying to figure out how to stop it. Will report back if I can figure it out.

This is with a schlage camelot touchscreen btw.

Let me know your thoughts and if you want me to test anything else.

Thanks again man!


(Scott) #205

You’re awesome I can’t wait for my next day off to install this. I did install your device type and noticed an auto lock which has been working well to lock the door almost immediately when activated, although it will extend the bolt while the door is open, so this should fix that. Again, thank you!


(James) #206

Can you make the choice to choose which contact sensor is associated with ‘Relock door automatically after closing’ independent of which feature is chosen? Currently you can only pick the contact sensor if I enable the auto-lock feature. I may not want to have the lock auto-lock but still have the deadbolt retract if the door is locked while open.


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

Thank you for pointing that out, fixed.


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

Sounds like you may have a communication problem with you lock and hub, check your distance, reboot your hub/reinitialize your lock and finally repair your Z-Wave network. Maybe you should probably uninstall the other app also. It’s working perfectly on three different door lock/models we tried in our labs.


(Jarett) #209

Hmm that’s weird. I’ve rebooted my hub plenty of times since first discovering this issue so that’s not the problem. My lock and hub are literally in the same room maybe 15 away from each other. There’s a z wave contact sensor above the lock so it should be a strong mesh right by it. Both have their actions show up immediately in the smartthings activity feed so I believe there to be a strong connection. I’ve also repaired the z wave network before because of exactly this to no avail. The only thing that works is me putting a delay on when it locks. On the Schlage Touchscreen Deadbolt you have, is it installed on a door or are you just testing it on a desk? I wonder if the physical action of closing the door is making it not lock itself.

Do I need to have the original lock device type or your custom one for this to work?


(James) #210

I am having the same problem. The lock will not auto lock when closed or unlock when open. I tested this on two of my locks, a Schlage Camelot and a Schlage Century. I have another auto-lock app that works fine so this is not an issue with communication with the lock. I am receiving notifications when the lock is locked or unlocked. Also the ‘Perform actions when the user unlocks the door’ is no longer working. If I disable your code and re-enable the other auto-lock app it works fine. I have performed this troubleshooting procedure over and over about five times. I am using the custom device type.

I tried this yesterday and this afternoon in case it might have been a ST issue. I was going to point this out yesterday but wanted to see if anyone else was having issues to see if it was an issue with my setup.


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

PM me your logs from live logging. Start live logging, open the door, close the door and send me the logs (filter by the smartapp so it’s more focussed). If the smartapp is receiving the notifications from the events it will show up.

BTW we have noticed in our labs that location of the hub/device matter. In one case we’ve seen an issue with one door, when opened sometimes the notifications are lost and we think it’s because of the way the door opens and walls/reflections cause the issue. Again that our theory since it’s only with one door when it’s swinging open/close. When it’s stationary we get all notifications. Anyways send in the live logging logs and lets see what’s going on.

Important, you need to disable any other app that’s auto locking the door to avoid any conflicts.


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

Try reinstalling the app from scratch and see what happens. (delete the SmartApp and create a new one and then install it from your phone)