[OBSOLETE] Lock Manager

Eric, should I remove the current instance and re-install a fresh copy? I noticed even after updating the repositories and saving them off, the text on the application screen doesn’t match the source code (I was avoiding deleting the entire app and not having to re-add everything).

Thanks again for the quick responses you’ve been providing

Yeah but @nbraunstein added ‘Touchscreen’ which the B1L isn’t… So I am a bit confused.

Prices very WILDLY depending on what link you press to get to the product. Looks like a YRD240 should be ~$190 but the cost can be up to $240 if you get a bad listing. I’d say the YRD240 is superior to the BL1, but the BL1 is way more accessibility friendly, with a tactile keypad.

Looks like the B1L retails for 160 and there is a radio-less option for 120.

https://www.amazon.com/dp/B00PM6V1XW

@nbraunstein, here’s what I’d do… Since @chevyman142000’s YRD240’s are working, I’d REMOVE your B1L from SmartThings, and then re-add it to SmartThings. Ensure that it completes a secure inclusion. You can tell that this process worked because you won’t get a ‘secure inclusion failed’ message. If you DO get this message, the Lock Manager app will not work and you’ll have to try again. If it doesn’t work after a couple of tries, it means that your zwave network is weak.

If secure inclusion does not work, you’ll have to do some extra steps, like adding a Zwave powered device between the hub and your lock… or remove the lock from the door, pair it near your hub and then put the lock back into the door after secure inclusion was completed.

If the secure inclusion process fails, some functionality will be disabled, including sending and receiving lock codes.

The name’s Erik :wink: You shouldn’t need to delete things. Just update the install on your IDE…

From the IDE, just click ‘Update From GitHub’ and check all the apps in the ‘Obsolete (updated in GitHub)’ section… then click ‘Execute Update’.

If that does not work, then yeah something is probably wonky and deleting the code and start again by installing using GitHub integrations.

1 Like

Erik, sorry about the spelling, although in my defense, my brother is named Eric :grin:

1 Like

That’s the exact lock I have, thank you. Definitely not working as it should.

I paid about 160, z wave without Bluetooth.

How do I do a secure inclusion add?

It happens automatically unless it doesn’t, in which then you’ll get a message saying so.

Remove the lock, Add it again as you would do normally. If you don’t get the message on your mobile, you’re set.

Removed Yale lock via device exclusion on samsung app, pushed #7 key, then #3, yada yada. Lock confirmed removed off my z-wave network. I then opened my laptop and removed the updated Z-Wave Lock Reporting DTH that was just updated via @ethayer github repo, then removed the app itself from the iOS installed list, and finally removing it via the smartthings website and all the child apps as well. (keep in mind, the physical lock hasn’t been reset, as you have to take it apart to access a special button, so User #1 and User #2, as well as my master code are still set)

I then put the lock in inclusion mode and added a new thing to my smartthings app via the iOS app, this time it defauled to Z-Wave Lock as the name, instead of Z-Wave Lock With Reporting, as I have already removed the custom DTH installed from your repo earlier today. I then added the DTH again, and selected my lock after publishing it. Next, I re-added all the Lock Master apps and child apps as I normally would and returned to my iOS device to install it.

My question is do I need to add the users again? Which would be myself for User 1 and my wife for User 2, keep in mind our codes are currently still stored in the lock as I programmed them in before I discovered this app about a week later after my purchase, I added the “users” in the lock manager app to mirror what I basically did on the lock when setting up the master code and users (total of 2).

As it stands now, it says App is learning codes. They will appear here when received. Lock may require special DTH to work properly and that’s it. If I leave it all night long, it will most likely still say this (I also have the overwrite ON to delete codes not in the users list)

If I add myself as User #1 and use the code programmed in the lock I know to be true, and the same for my wife for User #2 in the Lock Manager app, they will show up as User 1 and User 2, I will receive a notification for myself and my wife that we are now users in the lock, and have been assigned codes. However, the unlock count will always remain 0, and the only functionality this app and DTH seem to have is well, a ton of manual lock and unlock notifications on my device, as I do not receive the code based ones I have turned on for myself and my wife, I do not receive the incorrect code after 1 wrong entry message, I do not receive basically anything besides manual lock and unlock.

I’m pretty much at a complete standstill after a couple weeks of tinkering with this new lock, I don’t see it having much functionality without these features in this app working for me…should I return it? I don’t understand what I’m doing wrong, I did everything as you said. Any ideas? Physically take the lock apart and reset it?

I have now completely removed the lock from my network, deleted EVERYTHING,
and took the look apart and reset it to factory settings, I programmed my
master code and added it back to the network. I then added the DTH that was
just updaded (Z-Wave Lock Reporting) and selected my Yale lock. I then
installed the Lock Manager app back with all the child apps, and added User
#1 and User #2 as myself and my wife, and assigned codes (nothing
programmed yet into the lock), then I added the lock itself and my contact
sensor and pushed update. If im lucky, it’ll grab Code #30 as not set, and
do nothing else except say pending refresh from #1-29, but it will at least
show my name under User #1 and User #2, although it wont even program the
codes to the lock this time so I’m either going to have to give up for the
night or do it as you would from the lock itself. Why would one spend $200
on a lock that its sole functionality is to push lock/unlock from a stupid
iOS app? This lock does me absolutely no good without these functions, I am
not sure why sometimes half of it works, sometimes none of it
works…this time I am completely stumped. I also have overwrite codes
not on user list OFF, if that matters. You want my logs perhaps? Where
would I even locate them?

2017-03-22 10:35:19.704 PM PDT
5 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/80b07180-0f8a-11e7-bd09-0a0b6166972a?all=true&source=&max=25
COMMAND poll poll command was sent to Front Door true
2017-03-22 10:35:19.699 PM PDT
5 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/80afae31-0f8a-11e7-bd09-0a0b6166972a?all=true&source=&max=25
DEVICE
physical reportAllCodes false
2017-03-22 10:35:19.693 PM PDT
5 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/80aec3d0-0f8a-11e7-bd09-0a0b6166972a?all=true&source=&max=25
DEVICE skipping poll true
2017-03-22 10:30:26.208 PM PDT
10 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/d1c08200-0f89-11e7-9464-12dc5143e3ce?all=true&source=&max=25
COMMAND poll poll command was sent to Front Door true
2017-03-22 10:30:26.203 PM PDT
10 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/d1bfbeb0-0f89-11e7-9464-12dc5143e3ce?all=true&source=&max=25
DEVICE
physical reportAllCodes false
2017-03-22 10:30:26.193 PM PDT
10 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/d1be3810-0f89-11e7-9464-12dc5143e3ce?all=true&source=&max=25
DEVICE skipping poll true
2017-03-22 10:30:26.110 PM PDT
10 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/d1b18de0-0f89-11e7-9464-12dc5143e3ce?all=true&source=&max=25
APP_COMMAND poll true
2017-03-22 10:30:14.744 PM PDT
10 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/caeb6490-0f89-11e7-a5f3-06207fb11f3e?all=true&source=&max=25
DEVICE ENTITY_UPDATE DeviceUpdated Device ‘{{ deviceName }}’ updated false
2017-03-22 10:30:06.578 PM PDT
10 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/c60d3520-0f89-11e7-9e14-0ae64f7ff1e6?all=true&source=&max=25
COMMAND poll poll command was sent to Front Door true
2017-03-22 10:30:06.572 PM PDT
10 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/c60c71d0-0f89-11e7-9e14-0ae64f7ff1e6?all=true&source=&max=25
DEVICE
physical reportAllCodes false
2017-03-22 10:30:06.567 PM PDT
10 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/c60b8770-0f89-11e7-9e14-0ae64f7ff1e6?all=true&source=&max=25
DEVICE skipping poll true
2017-03-22 10:30:06.541 PM PDT
10 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/c607b6e0-0f89-11e7-9e14-0ae64f7ff1e6?all=true&source=&max=25
APP_COMMAND poll true
2017-03-22 10:29:59.664 PM PDT
10 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/c1ee5e10-0f89-11e7-b38d-121ff1e673d0?all=true&source=&max=25
DEVICE ENTITY_UPDATE DeviceUpdated Device ‘{{ deviceName }}’ updated false
2017-03-22 10:29:11.085 PM PDT
11 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/a4f9a5d0-0f89-11e7-a5f3-06207fb11f3e?all=true&source=&max=25
COMMAND poll poll command was sent to Front Door true
2017-03-22 10:29:11.078 PM PDT
11 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/a4f89460-0f89-11e7-a5f3-06207fb11f3e?all=true&source=&max=25
DEVICE
physical reportAllCodes false
2017-03-22 10:29:11.072 PM PDT
11 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/a4f7aa00-0f89-11e7-a5f3-06207fb11f3e?all=true&source=&max=25
DEVICE skipping poll true
2017-03-22 10:29:11.054 PM PDT
11 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/a4f511f0-0f89-11e7-a5f3-06207fb11f3e?all=true&source=&max=25
APP_COMMAND poll true
2017-03-22 10:26:36.610 PM PDT
14 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/48e6a220-0f89-11e7-94cf-0a0962e85558?all=true&source=&max=25
COMMAND poll poll command was sent to Front Door true
2017-03-22 10:26:36.601 PM PDT
14 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/48e54290-0f89-11e7-94cf-0a0962e85558?all=true&source=&max=25
DEVICE
physical reportAllCodes false
2017-03-22 10:26:36.486 PM PDT
14 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/48d3b660-0f89-11e7-94cf-0a0962e85558?all=true&source=&max=25
APP_COMMAND poll true
2017-03-22 10:26:34.224 PM PDT
14 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/4840c530-0f89-11e7-b9a2-12de56424760?all=true&source=&max=25
DEVICE codeReport 30 Front Door code 30 is not set true
2017-03-22 10:26:32.174 PM PDT
14 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/4641c0e0-0f89-11e7-b38d-121ff1e673d0?all=true&source=&max=25
COMMAND requestCode requestCode(30) command was sent to Front Door true
2017-03-22 10:26:32.159 PM PDT
14 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/463f9e00-0f89-11e7-b38d-121ff1e673d0?all=true&source=&max=25
APP_COMMAND requestCode true
2017-03-22 10:25:26.635 PM PDT
15 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/1f314bb0-0f89-11e7-b38d-121ff1e673d0?all=true&source=&max=25
COMMAND poll poll command was sent to Front Door true
2017-03-22 10:25:26.628 PM PDT
15 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/1f303a40-0f89-11e7-b38d-121ff1e673d0?all=true&source=&max=25
DEVICE
physical reportAllCodes false
2017-03-22 10:25:26.599 PM PDT
15 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/1f2bf480-0f89-11e7-b38d-121ff1e673d0?all=true&source=&max=25
APP_COMMAND poll true
2017-03-22 10:25:26.004 PM PDT
15 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/1ed10340-0f89-11e7-92cf-061e1ed18d1e?all=true&source=&max=25
COMMAND poll poll command was sent to Front Door true
2017-03-22 10:25:25.996 PM PDT
15 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/1ecfcac0-0f89-11e7-92cf-061e1ed18d1e?all=true&source=&max=25
DEVICE
physical reportAllCodes false
2017-03-22 10:25:25.968 PM PDT
15 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/1ecbac10-0f89-11e7-92cf-061e1ed18d1e?all=true&source=&max=25
APP_COMMAND poll true
2017-03-22 10:21:41.169 PM PDT
19 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/98ce1120-0f88-11e7-a5f3-06207fb11f3e?all=true&source=&max=25
DEVICE ENTITY_UPDATE DeviceUpdated Device ‘{{ deviceName }}’ updated false
2017-03-22 10:20:28.661 PM PDT
20 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/6d9db370-0f88-11e7-9420-24fd5b0166af?all=true&source=&max=25
DEVICE lock locked Front Door lock is locked true
2017-03-22 10:20:24.850 PM PDT
20 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/6b508f20-0f88-11e7-9464-12dc5143e3ce?all=true&source=&max=25
COMMAND lock lock command was sent to Front Door true
2017-03-22 10:20:18.054 PM PDT
20 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/6743b970-0f88-11e7-a5f3-06207fb11f3e?all=true&source=&max=25
DEVICE ENTITY_UPDATE DeviceUpdated Device ‘{{ deviceName }}’ updated false
2017-03-22 10:20:14.724 PM PDT
20 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/65479b50-0f88-11e7-84f5-0a6a23dfcff0?all=true&source=&max=25
DEVICE ENTITY_UPDATE DeviceUpdated Device ‘{{ deviceName }}’ updated false
2017-03-22 10:20:07.481 PM PDT
20 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/61000690-0f88-11e7-9420-24fd5b0166af?all=true&source=&max=25
DEVICE lock unlocked Z-Wave Lock was manually unlocked true
2017-03-22 10:20:06.964 PM PDT
20 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/60af0060-0f88-11e7-9420-24fd5b0166af?all=true&source=&max=25
DEVICE lock locked Z-Wave Lock was manually locked true
2017-03-22 10:20:04.302 PM PDT
21 minutes ago
https://graph-na02-useast1.api.smartthings.com/device/d548478f-bba0-4962-a73f-9ab0872c5de8/event/5f1155f0-0f88-11e7-a4a3-061b3d5d99b4?all=true&source=&max=25
DEVICE ENTITY_UPDATE DeviceCreated Device ‘{{ deviceName }}’ created false

I got it to update and add codes via the Z-Wave Lock DTH, not the Z-Wave Lock w/ Codes or Z-Wave Lock Reporting but I do not receive any notifications. I know its possible with this lock, as they do report it and I am able to add codes via your app using the Z-Wave Lock DTH and it does actually refresh all 30 of them, I can follow them in the log. Back to squane one though, received notications that I have access to the lock, as well as my wife. However, no further notifications except manual unlock and lock, both users say unlocked with code 99 on all 3 DTH I have tried. Lock with codes, Z-Wave lock and z-wave lock reporting.

Is there any way to have lock manager retrieve existing codes if it’s added to a lock with codes in it already?

Unfortunately many lock vendors do not return existing codes when queried. What type of lock are you using?

Erik, really need some help. Every time I try to add a keypad, I get the same error “Please fill out all required fields”, no matter what options I select. I’ve re-installed multiple times, rebooted, etc, and the same issue each time. Not sure what else to try.

I have a kwikset 916 and 910 that I can get to run routines when I manually or keypad lock/unlock. Everything else seems to be working just fine.

I’m having the same issue when trying to add a Keypad :frowning:

10:56:12 PM: trace getPhrases(), state.welcomeIssue = null
10:55:01 PM: debug "zw device: 0B, command: 9881, payload: 00 71 05 13 01 " parsed to [‘name’:‘lock’, ‘value’:‘unlocked’, ‘descriptionText’:Lock (Back Door) was unlocked with code 1, ‘data’:[‘usedCode’:1], ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lock (Back Door)’]

I’m new to ST but it almost appears that there may be an issue in the getPhrases function. I’m assuming that the state.welcomeIssue being null may be what is causing my issue. I haven’t starting looking through the code yet to see exactly what is happening.

Now that I’m using the lastest version with the custom DTH, i can manage the codes. Fantastic work on the app btw!
But when the lock is unlocked with a pin, no notifications or routines are executed. Lock device activity is reporting code 99 was used. In live logging, it looked like the payload includes the “slot” number that was used…but not the actual pin code for that slot…is the “code 99” supposed to represent the slot or the pin?

I’m using a yale yrd446 with the zwave module.

1 Like

@jhamstead Kwikset 916. I wish I’d done a bit more research before I got it. Seems the Schlage Connect would have been a better choice since it has an app for user management.

I know some Kwikset locks do return codes but I’m not sure about the 916. Have you tried any of the other DTHs and manually refreshed your lock?

I know the two DTHs included by ethayer do not request codes from the lock but instead store known ones in state variables. My DTH does the same due to locks not returning codes. I would try SmartThings default DTH ‘Z-Wave Lock with Codes’. Otherwise I don’t think that capability is possible with existing DTHs.

Obviously you can just enter the codes in the SmartApp to overwrite existing slots. With some locks however certain slots are only configurable from the lock itself (usually master codes).

There are apps on the ST community, this and others which allow you to very effectively manage the users on locks and have additional benefits of actions and rules behind those users unlocking and locking with their codes. I.e. You’re in compete control of your lock and users. You don’t always have to use custom DH’s but some of them given you additional features, but the end result is the same.

Given all these benefits and ability to manage codes through ST why would you want to manage the codes directly on the lock?

3 Likes