SmartThings Community

[RELEASE] Lock Manager

smartapp_locks

(Lee Florack) #1926

In order to successfully re-add my Kwikset lock back into SmartThings, I had to move the hub within 2-3 feet of the lock - even though it normally sits within 5 feet of the hub and less than 2 feet from multiple Z-Wave secure repeaters. Once it’s re-added, it runs fine with the hub back where it normally is.


(Sam) #1927

Thank you Iflorack for the tip! I figured out there were a couple extra steps I had to take to properly exclude it from my ST hub. I followed JSandford’s instructions and it finally worked! Here’s the link:

I will keep your tip in mind for the future if I ever need to re-troubleshoot my lock again!

Sam


(Sam) #1928

As I started re-entering the codes for my users in the ST app, I noticed there is a function that is no longer offered. I used to be able to deactivate the codes for my users when I am present in the home. Under “DO NOT run Actions if any of these are present.” I used to be able to activate this especially when it recognizes that my phone is home. Is this new?

Sam


#1929

Hi,
I have 2 locks a Yale Deadbolt and Yale YRL220 Handle. I started programming users and had no issue. I just added 2 others last night and while it works for the deadbolt the lever says controller failed to set user code. I went into the user and clicked reset lock but, same result. Help please!


#1930

Adding a data point. After it did not work I went to the setup on the device but, the setup screen was frozen. I removed a battery and it popped back and now it loaded the next user code. Seems some signal is freezing the system.


#1931

Is there a way to change the number of seconds the lock waits before auto-locking when the auto lock is enabled?


(Kurt Sanders) #1932

I don’t think within the Lock Manager.

I use a WebCore piston to achieve the detection of the door close, motion around the door ended, and then the locking of the lock.

One can also use other custom SmartApps that have been developed to integrate with a door lock, depending on if you have a door contact, motion sensor, or just want to lock the door after X seconds of being unlocked.


(Bala Kurakula) #1933

I am having issues with this. I just did everything as mentioned in the guide. I got the Lock Manager in my ST classic app. But when I try to add “New lock” or “New User” I can see those until I hit save. For some reason its not saving. Once I come back after hitting “Save” they disappear. No changes I make are saved. How do I fix it?


(Glen King) #1934

What are you trying to accomplish?

In my configuration, the lock auto-locks within a second or two of the door being closed… but does not lock at all if the door is open. There is no sense in having the lock automatically lock if the door is open, right? And there’s no need to NOT have it lock if the door’s closed.

Of course I live in a private house, and the front door has a storm door.

If you live in an apartment building, you might indeed wish to have it closed but remain unlocked for 2 minutes while you bring your garbage to the collection room or something.

In either event, you can use Webcore to achieve your goal.


#1935

I’m completely new to SmartThings and user-developed apps. I’d like to install the lock manager, but I think the instructions I’m following might be out of date:

For example, in the “Install the Parent App” section after I click “Update from Repo”, I don’t see:

  • ethayer:Lock Manager

Instead I see these:

  • devicetypes/ethayer/zwave-lock-schlage.src/zwave-lock-schlage.groovy
  • devicetypes/ethayer/zwave-lock-yale.src/zwave-lock-yale.groovy
  • devicetypes/ethayer/zwave-lock.src/zwave-lock.groovy

Am I doing something wrong? What should I do differently/which selections should I make?


(Michael Kuzmin) #1936

I didn’t read this entire thread so I am sorry if I missed it, but is there any chance you could post a list of locks that are confirmed to be working with this script? For instance, would this lock work: Schlage BE469NXCAM619 ? Any recommendations?


(Marvin Chan) #1937

I have that lock in Satin Nickel, it works fine using Ethayer’s Lock Manager.


(Tony B.) #1938

Been having a real issue with locks lately and I’m not sure where it’s coming from.

After 4 or so hours of a new pairing, my Things tab says that both locks are unavailable.

Exclude and pair again, same. I then uninstalled lock manager and the locks were fine until I re-installed Lock Manager. Boom! Both locks "Unavailable"again after an hour.

I’ve had this installed since February, all the sudden, my locks are going crazy.

Brand new batteries.
Z-wave Lock DTH
Kwikset 910’s

Started happening about 2 months ago but I’ve been traveling and haven’t had time to fix until now. Seems like a firmware update or something but, I haven’t seen anyone having issues on this thread for the few months I looked back.

@ethayer Can you give any help with this one?


(Tony B.) #1941

Just another couple of FYI’s.

I tried to install the newest version, not sure what was done with the newest DTH but, when I try to commit it on the ide, it skips it. I’m guessing this has something to do with a faulty line in the DTH.

v1 hung both of my locks even though I only installed it on 1 lock.

I don’t understand what’s going on with this SmartApp but I think I’ll just manage codes on the lock or with another SmartApp until this is fixed for the new code that SmartThings implemented a few months ago.

I would urge anybody not to install this app until the code is updated. Something is very wrong and it WILL hang up your Kwikset locks as soon as you try to pair them with this SmartApp.


(Dan Schlimme) #1942

I have been using the lock manager for 2 years and it works great but it does NOT work with the new Smartthings app, ONLY the classic app. I noticed that if i change the lock back to a z-waze lock it works just fine. Has anyone experienced this? if so how did you fix it or is there an update to the code to allow lock manager to work on the new app?


(Chris Choi) #1943

When you “Install the Parent App” you want to be under SmartApps.

When you see:

That’s under Device Handlers. Since those populate, I don’t think you did anything wrong. Just not at the right place. It’s one tab over on the top.


#1944

Ah, yeah, you’re right, I was in the wrong tab! Now the selections are:

  • smartapps/ethayer/keypad.src/keypad.groovy
  • smartapps/ethayer/lock-manager.src/lock-manager.groovy
  • smartapps/ethayer/lock-user.src/lock-user.groovy
  • smartapps/ethayer/lock.src/lock.groovy

I assume lock-manager.groovy is the right one.
Thanks!


(Ishan Trivedi) #1945

Can anyone recommend any methods for logging to a Google Sheet? I would like to be able to log: Date/Time, User, Unlock/Lock

I know there is an IFTTT Function, however that does not incorporate User or Lock Status into it.


#1946

Do a search for Simple Event Logger. That’s a great smartapp for logging to Google. I’m on my phone at the moment otherwise I’d post a link.


(Bob Muschett) #1947

I purchased a Kwikset Model 914 for my mother. I use ethayer : Lock Manager and everything works great. I can add codes, etc and they work. No problem.

Then I purchased a “Home Connect Lock Module, Rf Z-wave Chip REV 3.8 for Kwikset Models 909, 910, 911, 912, 913, 914” and put it into my Kwikset Model 913, which originally didn’t come with a z-wave module. When I tried to add it to ST Things, it is found as a Model 910. Thought Oh well, and when I try to access through the Lock Manager program, it will not accept codes, since they don’t work to unlock the lock.

Perhaps the Chip isn’t compatible with the 913 lock? Even though the description said it was?

When I add a user, in Live Logging I see:
bcd5e48a-49ad-4034-9a45-299322c560f9 12:19:02 AM: debug No codes to set

bcd5e48a-49ad-4034-9a45-299322c560f9 12:19:02 AM: debug running load codes

bcd5e48a-49ad-4034-9a45-299322c560f9 12:18:57 AM: debug run code logic

bcd5e48a-49ad-4034-9a45-299322c560f9 12:18:30 AM: debug Received: s:1 c:12345

bcd5e48a-49ad-4034-9a45-299322c560f9 12:18:30 AM: debug 1 Bob now has access to 296 Front Door

bcd5e48a-49ad-4034-9a45-299322c560f9 12:18:29 AM: debug Received: s:1 c:12345

0599184c-971d-4275-939f-2985c721ba92 12:18:29 AM: debug "zw device: 02, command: 9881, payload: 00 63 03 01 01 31 32 33 34 35 " parsed to [[‘name’:‘codeReport’, ‘value’:1, ‘data’:[‘code’:‘12345’], ‘isStateChange’:true, ‘descriptionText’:296 Front Door code 1 is set, ‘displayed’:true, ‘linkText’:‘296 Front Door’]]

0599184c-971d-4275-939f-2985c721ba92 12:18:29 AM: debug code report parsed to [[‘name’:‘codeReport’, ‘value’:1, ‘data’:[‘code’:‘12345’], ‘isStateChange’:true, ‘descriptionText’:296 Front Door code 1 is set, ‘displayed’:true, ‘linkText’:‘296 Front Door’]]

0599184c-971d-4275-939f-2985c721ba92 12:18:29 AM: debug "zw device: 02, command: 9881, payload: 00 71 05 70 01 " parsed to [[‘name’:‘codeChanged’, ‘value’:1, ‘descriptionText’:296 Front Door code 1 changed, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘296 Front Door’], 988100630201]

0599184c-971d-4275-939f-2985c721ba92 12:18:29 AM: debug "zw device: 02, command: 9881, payload: 00 71 05 70 01 " parsed to [[‘name’:‘codeChanged’, ‘value’:1, ‘descriptionText’:296 Front Door code 1 changed, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘296 Front Door’], 988100630201]

bcd5e48a-49ad-4034-9a45-299322c560f9 12:18:27 AM: debug update: [[“code1”,“12345”]]

bcd5e48a-49ad-4034-9a45-299322c560f9 12:18:27 AM: debug null:12345 s:1

bcd5e48a-49ad-4034-9a45-299322c560f9 12:18:27 AM: debug running load codes

0599184c-971d-4275-939f-2985c721ba92 12:18:27 AM: debug setting code 1 to 12345

0599184c-971d-4275-939f-2985c721ba92 12:18:27 AM: debug code1 was , set to 12345

bcd5e48a-49ad-4034-9a45-299322c560f9 12:18:22 AM: debug run code logic

bcd5e48a-49ad-4034-9a45-299322c560f9 12:18:22 AM: debug run lock data setup

5d687bb7-acb5-417e-8190-701b56e952bb 12:18:12 AM: debug User asking for lock init

5d687bb7-acb5-417e-8190-701b56e952bb 12:18:12 AM: debug Initialize lock data for user.

5d687bb7-acb5-417e-8190-701b56e952bb 12:18:12 AM: debug Updated with settings: [userSlot:1, userEnabled:true, userCode:12345, userName:1 Bob]

5d687bb7-acb5-417e-8190-701b56e952bb 12:18:12 AM: debug Updated with settings: [userSlot:1, userEnabled:true, userCode:12345, userName:1 Bob]

5d687bb7-acb5-417e-8190-701b56e952bb 12:18:09 AM: debug Initialize lock data for user.

5d687bb7-acb5-417e-8190-701b56e952bb 12:18:06 AM: debug Initialize lock data for user.

But strangely, I can lock and unlock by using the instance of the lock that show up in My Home>Things in the ST Classic App

Also the data that shows up under Current Statesfor the two devices in IDE is vastly different.

For the 914 I see:

For my 913 I see:

Any Ideas?