[RELEASE] Lock Manager

I’m having a very weird problem with lock manager. I upgraded from the old User Lock Manager, which was unreliable for me with my Schlage Connect lock. I copied all of the old user codes by hand into LM, but didn’t delete ULM, wanting to make suer that LM worked properly first. So far, so good - all the users codes worked fine. Now, though, I can’t create any new codes. When I make a new user, it tells me that the user has been added and is now automating. I try the lock and the new code works. After a while, though (not sure how long, but <30 minutes) the code goes away. When I look at the lock within the LM app, the slot in question looks fine after being set, but later its status changes to “Controller failed to set user code”. The “entries” code shows 1, not 0, so I know that it actually worked when I tried it. If I go into the user and push the “reset user”, it tells me “user re-enabled, lock has been reset”, and it works fine. I check the app and, sure enough, the entry count has incremented. but, again, a few minutes later it doesn’t work again.

The codes that were also used in ULM - those I put into LM initially - are stable, and continue to work. It’s just that I can’t make any new ones. And, no, I haven’t exceeded the number of available slots.

The “recently” tab on the lock has a bunch of “Lock: Front Door Lock- Sent Undatecodes Command to Front Door Lock” messages. These are happening more often than I am adding users, more than 1 message per code addition.

The lock is of type “Z-Wave Schlage Touchscreen Lock”. The apps installed are ethayer:Keypad, ethayer:Lock, ethayer:Lock User (all unpublished) and ethayer:Lock manager (published). I also have rboy:Lock multiuser code management… installed, but haven’t opened or used it. I had User Lock Manager installed, but it is now deleted and the problem persists

What should I try? What’s going on? Thanks, in advance, for any help with this.

Here is a debug log of the problem. I reset the user at 4:13. That’s the only thing I did. As you can see, there’s lots of activity for the next 8 minutes or so. Then, at 4:20.32, it logs a msg that Mary Pat (the user who I reset) no longer has access.

Any ideas?

0f0c56f7-9735-45a4-aa3d-3115d4a9928f  4:21:04 PM: debug No codes to set

0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:21:04 PM: debug running load codes
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:59 PM: debug run code logic
458b104d-fb5a-46ee-b763-00ca33e00106 4:20:44 PM: debug Not parsing XML message:
<s:Envelope xmlns:s=“ht tp://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=“ht tp://schemas.xmlsoap.org/soap/encoding/”>
<s:Body>
<u:GetVolumeResponse xmlns:u=“urn:schemas-upnp-org:service:RenderingControl:1”>
<CurrentVolume>
54
</CurrentVolume>
</u:GetVolumeResponse>
</s:Body>
</s:Envelope>
458b104d-fb5a-46ee-b763-00ca33e00106 4:20:44 PM: trace Extracting current volume
458b104d-fb5a-46ee-b763-00ca33e00106 4:20:44 PM: trace sonosAction(GetVolume, RenderingControl, /MediaRenderer/RenderingControl/Control, [InstanceID:0, Channel:Master])
458b104d-fb5a-46ee-b763-00ca33e00106 4:20:44 PM: trace getVolume()
458b104d-fb5a-46ee-b763-00ca33e00106 4:20:44 PM: trace doPoll
bde3378b-7953-4fec-935a-7fc7943942aa 4:20:33 PM: debug “zw device: 02, command: 9881, payload: 00 63 03 0A 00 " parsed to [[‘name’:‘codeReport’, ‘value’:10, ‘data’:[‘code’:’’], ‘descriptionText’:Front Door Lock code 10 is not set, ‘displayed’:true, ‘isStateChange’:false, ‘linkText’:‘Front Door Lock’]]
bde3378b-7953-4fec-935a-7fc7943942aa 4:20:33 PM: debug code report parsed to [[‘name’:‘codeReport’, ‘value’:10, ‘data’:[‘code’:’’], ‘descriptionText’:Front Door Lock code 10 is not set, ‘displayed’:true, ‘isStateChange’:false, ‘linkText’:‘Front Door Lock’]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:32 PM: debug Mary Pat no longer has access to Front Door Lock
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:32 PM: debug Received: s:10 c:null
bde3378b-7953-4fec-935a-7fc7943942aa 4:20:31 PM: debug “zw device: 02, command: 9881, payload: 00 63 03 0A 00 " parsed to [[‘name’:‘codeReport’, ‘value’:10, ‘data’:[‘code’:’’], ‘descriptionText’:Front Door Lock code 10 was deleted, ‘displayed’:true, ‘isStateChange’:true, ‘linkText’:‘Front Door Lock’]]
bde3378b-7953-4fec-935a-7fc7943942aa 4:20:31 PM: debug code report parsed to [[‘name’:‘codeReport’, ‘value’:10, ‘data’:[‘code’:’’], ‘descriptionText’:Front Door Lock code 10 was deleted, ‘displayed’:true, ‘isStateChange’:true, ‘linkText’:‘Front Door Lock’]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:29 PM: debug update: [[“code10”,””]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:29 PM: debug 1410:null s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:29 PM: debug running load codes
bde3378b-7953-4fec-935a-7fc7943942aa 4:20:29 PM: debug deleting code 10
bde3378b-7953-4fec-935a-7fc7943942aa 4:20:29 PM: debug code10 was 1410, set to deleted
bde3378b-7953-4fec-935a-7fc7943942aa 4:20:29 PM: debug updateCodes called with: '[[“code10”,""]]'
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:24 PM: debug run code logic
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:24 PM: debug Received: [code22:, code21:, code24:, code23:, fw:113.22, code20:, ver:7.1, lastbatt:1507294061813, code29:, blankcodes:true, code25:, code26:, code27:, MSR:003B-6341-5044, enc:1, lastPoll:1507329633278, code28:, code13:, code12:, code11:, assoc:1, code10:1410, init:true, code9:, code6:2807, code5:4286, code8:4030, code7:9041, code2:1767, code1:6475, pinLength:null, codes:30, code18:, code4:5194, code30:, code19:, code3:0460, code16:, code17:, code14:, code15:]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:24 PM: debug Lock has 30 code slots.
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:24 PM: debug Lock has 30 code slots.
bde3378b-7953-4fec-935a-7fc7943942aa 4:20:24 PM: debug poll is sending []
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:20:08 PM: debug Lock has 30 code slots.
bda207fc-1b6c-4639-b53f-810d8e364139 4:20:08 PM: debug Parse returned {{ linkText }} has arrived
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:19:55 PM: debug No codes to set
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:19:55 PM: debug null:1410 s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:19:55 PM: debug running load codes
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:19:50 PM: debug run code logic
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:19:20 PM: debug update: [[“code10”,“1410”]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:19:20 PM: debug null:1410 s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:19:20 PM: debug running load codes
bde3378b-7953-4fec-935a-7fc7943942aa 4:19:20 PM: debug code10 remains unchanged.
bde3378b-7953-4fec-935a-7fc7943942aa 4:19:20 PM: debug updateCodes called with: '[[“code10”,“1410”]]'
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:19:15 PM: debug run code logic
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:18:45 PM: debug update: [[“code10”,“1410”]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:18:45 PM: debug null:1410 s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:18:45 PM: debug running load codes
bde3378b-7953-4fec-935a-7fc7943942aa 4:18:45 PM: debug code10 remains unchanged.
bde3378b-7953-4fec-935a-7fc7943942aa 4:18:45 PM: debug updateCodes called with: '[[“code10”,“1410”]]'
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:18:41 PM: debug Lock has 30 code slots.
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:18:40 PM: debug run code logic
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:18:10 PM: debug update: [[“code10”,“1410”]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:18:10 PM: debug null:1410 s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:18:10 PM: debug running load codes
bde3378b-7953-4fec-935a-7fc7943942aa 4:18:10 PM: debug code10 remains unchanged.
bde3378b-7953-4fec-935a-7fc7943942aa 4:18:10 PM: debug updateCodes called with: '[[“code10”,“1410”]]'
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:18:04 PM: debug run code logic
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:17:34 PM: debug update: [[“code10”,“1410”]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:17:34 PM: debug null:1410 s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:17:34 PM: debug running load codes
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:17:28 PM: debug run code logic
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:16:58 PM: debug update: [[“code10”,“1410”]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:16:58 PM: debug null:1410 s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:16:58 PM: debug running load codes
bde3378b-7953-4fec-935a-7fc7943942aa 4:16:58 PM: debug code10 remains unchanged.
bde3378b-7953-4fec-935a-7fc7943942aa 4:16:58 PM: debug updateCodes called with: '[[“code10”,“1410”]]'
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:16:53 PM: debug run code logic
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:16:23 PM: debug update: [[“code10”,“1410”]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:16:23 PM: debug null:1410 s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:16:23 PM: debug running load codes
bde3378b-7953-4fec-935a-7fc7943942aa 4:16:23 PM: debug code10 remains unchanged.
bde3378b-7953-4fec-935a-7fc7943942aa 4:16:23 PM: debug updateCodes called with: '[[“code10”,“1410”]]'
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:16:18 PM: debug run code logic
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:15:48 PM: debug update: [[“code10”,“1410”]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:15:48 PM: debug null:1410 s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:15:48 PM: debug running load codes
bde3378b-7953-4fec-935a-7fc7943942aa 4:15:48 PM: debug code10 remains unchanged.
bde3378b-7953-4fec-935a-7fc7943942aa 4:15:48 PM: debug updateCodes called with: '[[“code10”,“1410”]]'
458b104d-fb5a-46ee-b763-00ca33e00106 4:15:44 PM: debug Not parsing XML message:
<s:Envelope xmlns:s=“ht tp://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=“ht tp://schemas.xmlsoap.org/soap/encoding/”>
<s:Body>
<u:GetVolumeResponse xmlns:u=“urn:schemas-upnp-org:service:RenderingControl:1”>
<CurrentVolume>
54
</CurrentVolume>
</u:GetVolumeResponse>
</s:Body>
</s:Envelope>
458b104d-fb5a-46ee-b763-00ca33e00106 4:15:44 PM: trace Extracting current volume
458b104d-fb5a-46ee-b763-00ca33e00106 4:15:44 PM: trace sonosAction(GetVolume, RenderingControl, /MediaRenderer/RenderingControl/Control, [InstanceID:0, Channel:Master])
458b104d-fb5a-46ee-b763-00ca33e00106 4:15:44 PM: trace getVolume()
458b104d-fb5a-46ee-b763-00ca33e00106 4:15:44 PM: trace doPoll
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:15:43 PM: debug run code logic
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:15:13 PM: debug update: [[“code10”,“1410”]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:15:13 PM: debug null:1410 s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:15:13 PM: debug running load codes
bde3378b-7953-4fec-935a-7fc7943942aa 4:15:13 PM: debug code10 remains unchanged.
bde3378b-7953-4fec-935a-7fc7943942aa 4:15:13 PM: debug updateCodes called with: '[[“code10”,“1410”]]'
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:15:07 PM: debug run code logic
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:14:37 PM: debug update: [[“code10”,“1410”]]
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:14:37 PM: debug null:1410 s:10
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:14:37 PM: debug running load codes
0f0c56f7-9735-45a4-aa3d-3115d4a9928f 4:14:32 PM: debug run code logic
4:14:17 PM: info Waiting on events…
4:14:17 PM: info For past logs for individual things go to the My Devices section, find the device and click on the Events link on the device information page.
4:14:17 PM: info This console provides live logging of your SmartThings.

Can I use this with both Schlage Locks and a Yale Lock together in this app?
assuming I have the code length set to the same value!

Reason why is I have 3 Schlage Lock’s but I cannot mount these on one my doors, because it is too wide (3") I can only mount a 2 3/4 inch lock max.
So I was looking at adding a Yale lock (its specs at only 2 3/4")
or any other suggestions?

Hi Ethayer,
I finished all the steps on Page 12 of the manual. Found all four apps under my smart apps. But I couldn’t find any apps from my apps under marketplace. Could you give me some help?
Henf
Thanks

I have two Schlages and one Kwickset, so using a Yale should not be an issue.

1 Like

It sounds like you may have installed the apps on the wrong shard (server) in the IDE which is easily done.

See here:

Hi, Thanks for the quick response.

Actually, I solved the previous problem. I published all the 4 apps I installed under my smartapps, then they showed up on my phone.

But new issue coming, I created new lock( which is my front door lock) and one new User( “cooking Lady”) and they both showed on my phone and with the green check mark on the top go my screen says Lock manager is now installed and automating. But after I click the “done” on the upper right corner, the page when back to Smartapps under the marketplace. when I click my apps and lock manager, all the" front door" and cooking Lady are gone. nothing left there. What happened? Can anybody help me? Appreciated !

picpic

Use the Lock Manager that is located in Automation: SmartApps not the one in MarketPlace: Smartapps: My Apps (which your image is showing that is where you are). Hope this helps :slight_smile:

where is the Automation? on the phone?

the icon to the left of the MarketPlace icon (the one highlighted in your image above)

Found it! will try! great thanks!

Thank you! jkp! Now they are stay.

pic

I set up a new code and it doesn’t work. Do I still need to use the programming code to set up on the lock?

Also, there is another screen shot shows this:


Is there something wrong and what does the require another special DTH mean?
Thanks

Did you assign the correct DTH to the lock which is in the install guide? They can be found here:

Sorry, I am very new. is the DTH stands for Devices Handlers? Now Under my devices handler, shows nothing, like this


should I add one from those two?

Which lock do you have?

schlage connect carmlot touchscreen

Use the garyd9/zwave-schlage-touchscreen-lock.src dth

go to page 6 on the install guide.

1 Like

OK! I will try it now! Really Appreciated! man

Still something Wrong. on my phone shows like this:

and ON my laptop, the smartapps and devices handlers everything shows as green, is that right?!


what should I do? frustrated

you did forget to install one of the child apps.