Hey all, I have Yale locks and they work fab but can’t seem to find an ap or anything where I could remotely change the codes for them. I have them on a vacation rental and would love to add codes for guests remotely. Anyone seen anything like this?
I would also like to know this. I have the yale lifestyle lock. It does not get installed as a z-wave lock with code abilities.
I’ve been using the following device type for my yale locks:
This device type supports code change with the following smartapp:
P.S. I had some timeout issues with my yale locks (status was not in sync with ST) and I had to tweak the code above to solve them.
If you have any timeout issues, please refer to my own version at
Can you reach out to me regarding this configuration? firstname.lastname@example.org.
Just wanted to let you all know that the code provided by yveracine works. Thank you for that!
The UI is a little simple but it does work. Wish there was a way to get a log of the used Id’s or assign a name to a code. i.e User code 1 code 1111 User ID Sally. And then to be able to get a log of the user codes in use so you don’t forget or have to take them down on paper.
Appreciate the post - it has been helpful!
Wonder if you get this error when creating the SmartApp with the smartapp.change-lock-code? Am I doing something wrong?
Error: “Metadata definition not found”
@Badicoot, just use the following:
The metadata section is included. The first link is the original code that I modified to tweak
the lock’s timeout and to include the metadata section.
@yvesracine, thank you much.
Silly question, but the link gives me a 404 error and a search on github does not return the Timeout7
Appreciate the help. Cheers.
@Bandicoot, sorry, a wrong copy and paste, the link has been corrected:
@yvesracine… Thx - appreciated.
Guess I am still having the meta data error with the smartapp that you have mentioned above
Sorry to be a bother but any assist when you do have a moment would be great.
@NeKash, just use my code instead:
Till we get an official release of the official lock code management by ST, here is a smartapp that you can use for multi-user setup:
The smartapps will help you setup up to 10 user codes based on my Custom Lock Device that I created for
my Yale locks (corrected some timeout issues).
I cannot guarantee that the code will work for all types of locks out there, but give it a try.
It works well in my environment.
Credit to bigpunk6 for the Custom Lock device that I modified for my own usage.
Merry Christmas to all!
If you like the smartapp(s), please support the developer.
Thank you for the information about the smartapp to handle controlling PINs for a Yale lock. Does anyone know when ST will natively support this functionality for the Yale locks?
I currently have a Revolv that performs this function for me, but with Revolv going away, I’m looking for a good alternative and I was hoping ST would be it. I can’t make the switch, however, until
this function is implemented, since I use the Revolv + Yale lock for managing access to a rental property.
It would also be very beneficial to have begin/end dates for codes, since in almost every case when I want to create a code, it is temporary for a service person or for rental use.
I may be able to use this smartapp temporarily as a work-around, but would prefer official support since I need to rely on it for rentals. Where is the best way or place to submit development requests and/or check on the status of a development initiative? Thanks all
Refer to this thread for the official release which does not seem to be imminent.
As far as being able to set up temporary codes for rentals, you could use the smartapp change-lock-code (see my github)
to delete a specific user after a while.
But, if you’re willing to pay for more advanced lock code management, you’ll find more lock management capabilities within
the following thread (at the end). Some specific smartapps were developed by a fellow developer.
Bye for now.
So I’m trying to use your code and think I have it all set, except I don’t seem to be able to get the SmartApp to install within my ST app.
I’m sure this is some terrible noob mistake but if you felt like taking pity on me I’d be grateful.
Do you see my smartapp under https://graph.api.smartthings.com/ide/apps?
If not, you’d need to create a smartapp and copy and paste the code from github using the “from code” tab.
If you see it in the IDE, you should be able to click “+” under the smartMenu on your smartphone or your tablet (main dashboard at the bottom). Then, you’d need to scroll right till the last screen (my Apps) and it should appear in this screen.
You’d need to click on it in order to configure the smartapp according to your own input parameters.
So my apologies. I was being a serious noob. I found how to add it from the app.
I’m playing with some changes in the code now. Ultimately I’m planning to control locks, thermostat and some other things via API. I’m mostly seeing the way forward but not entirely.
Let me know if you have time/interest in any consulting work on this?
wrosner at mac dot com
@Wesley_Rosner, Sorry about the late response, I got your message and responded via email.
I’m doing some focused customization of a device type for my Yale touchscreen lock, along with a SmartApp to go with it. It’s primarily a learning exercise, but since I’ll be using it myself, I’m adding as much functionality as possible.
I’m not completely satisfied with how the stock Z-Wave lock device type is implemented, including the data provided in the codeReport attribute and (maybe) the deletion process. The interface is established, so adding basic commands isn’t the route I plan to follow, but since the type of codeReport attribute is not defined, I’ve got room to maneuver there.
i am new to smartThings Hub v2 and have successfully installed it and have a yale lock 210. I have read your post(s) relating to remotely change codes/set codes.
- How does one set up the app to do that, that you have made?
- can you do a step by step process? and how to add it to smartThings app?
- does this app enable one to set a code to deactivate after a specific time has elapsed…ex. (code 1234 can be used between 10am-11am)?