# Door Lock User Codes

**URL:** <https://community.smartthings.com/t/door-lock-user-codes/133590>\
**Category:** SmartApps & Automations\
**Created:** [August 13, 2018, 3:42pm UTC](https://community.smartthings.com/t/door-lock-user-codes/133590 "2018-08-13T15:42:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lorensonmd](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@lorensonmd](https://community.smartthings.com/u/lorensonmd)\
**Post date:** [August 13, 2018, 3:42pm UTC](https://community.smartthings.com/t/door-lock-user-codes/133590/1 "2018-08-13T15:42:29Z")

</div>

I have a schlage door lock. What I want to do is to identify who unlocked the door by the incoming code. When I look at the event list, I see Unlocked by code 1 (or the name of code 1). I want to take that data and submit it via a notification. BUT I can’t seam to find how to parse that information out. I Don’t know where to find all the possible event properties like evt.displayName. I am sure it is there but I am new and I do not know where to look to find the event properties.

Thanks  
Dave L

---

<div class="post-metadata">

**Author:** ![Gopack2](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/gopack2/32/80987_2.png) [@Gopack2](https://community.smartthings.com/u/Gopack2)\
**Post date:** [August 13, 2018, 4:02pm UTC](https://community.smartthings.com/t/door-lock-user-codes/133590/2 "2018-08-13T16:02:43Z")

</div>

Are you using rboy app by any chance. ?

I am, this may work with other handlers. Not sure.

 ![image](https://global.discourse-cdn.com/smartthings/original/3X/7/3/737042e14569754256a12cdbdea38d9f46a7d828.jpg)

---

<div class="post-metadata">

**Author:** ![kahilzinger](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/kahilzinger/32/72184_2.png) [@kahilzinger](https://community.smartthings.com/u/kahilzinger)\
**Post date:** [August 13, 2018, 5:49pm UTC](https://community.smartthings.com/t/door-lock-user-codes/133590/3 "2018-08-13T17:49:18Z")

</div>

RBoy’s app does doe it. You can even be texted on your phone. That app has a lot of useful bells and whistles.

---

<div class="post-metadata">

**Author:** ![tgauchat](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/tgauchat/32/49516_2.png) [@tgauchat](https://community.smartthings.com/u/tgauchat)\
**Post date:** [August 13, 2018, 6:46pm UTC](https://community.smartthings.com/t/door-lock-user-codes/133590/4 "2018-08-13T18:46:29Z")

</div>

@RBoy… Definitely the most value in a Lock Handler.

---

<div class="post-metadata">

**Author:** ![mejifair](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/mejifair/32/96799_2.png) [@mejifair](https://community.smartthings.com/u/mejifair)\
**Post date:** [August 13, 2018, 9:41pm UTC](https://community.smartthings.com/t/door-lock-user-codes/133590/5 "2018-08-13T21:41:21Z")

</div>

Another vote for @RBoy does everything you want and some that you didn’t even know you wanted.

---

<div class="post-metadata">

**Author:** ![lorensonmd](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@lorensonmd](https://community.smartthings.com/u/lorensonmd)\
**Post date:** [August 14, 2018, 3:46pm UTC](https://community.smartthings.com/t/door-lock-user-codes/133590/6 "2018-08-14T15:46:56Z")

</div>

I think I have it. I really want to figure this out so that is why I started with an easy one. However, I guess my main question is that you have an object (Schlage lock), how can you figure out all of the information that you can pull. How do you know you can use $evt.displayName or Description? Where do you find that information.

Thanks  
Dave L

---

<div class="post-metadata">

**Author:** ![RBoy](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/rboy/32/62677_2.png) [@RBoy](https://community.smartthings.com/u/RBoy)\
**Post date:** [August 15, 2018, 6:57pm UTC](https://community.smartthings.com/t/door-lock-user-codes/133590/7 "2018-08-15T18:57:45Z")

</div>

In short there is no standard answer. The values depend on the underlying device handler and they are constantly updated from time to time as new locks are introduced, standards change, new features are added, firmware bugs are fixed and so on.

This is an example of a DTH that has evolved over the years and is the most comprehensive DTH for locks and reporting events. [[RELEASE] Universal Enhanced Z-Wave Lock, Schlage, Yale, Kwikset, IDLock, DanaLock, August Pro, Samsung, Locstar, KeyWe Locks and Popp Z-Wave Keypad Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features](https://community.smartthings.com/t/release-universal-enhanced-z-wave-lock-schlage-yale-kwikset-idlock-danalock-august-pro-samsung-locstar-keywe-locks-and-popp-z-wave-keypad-device-handler-with-alarm-control-notification-rfid-door-sensor-and-advanced-features/6241/1190)

And this is the flip side, an app that has evolved over the years to handle all those different types of events from various different handlers (from the stock to custom ones) and creating a meaning way for the user to program codes and react based on the events posted by the lock. [[RELEASE] Door lock code/lock user management (create, delete and schedule codes) with automatic lock/unlock, custom user actions and SHM/ADT integration](https://community.smartthings.com/t/release-door-lock-code-lock-user-management-create-delete-and-schedule-codes-with-automatic-lock-unlock-custom-user-actions-and-shm-adt-integration/7043/1705)

---

<div class="post-metadata">

**Author:** ![paulinholebrao](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/paulinholebrao/32/212078_2.png) [@paulinholebrao](https://community.smartthings.com/u/paulinholebrao)\
**Post date:** [March 10, 2025, 3:13am UTC](https://community.smartthings.com/t/door-lock-user-codes/133590/8 "2025-03-10T03:13:01Z")

</div>

@RBoy your drive can control a Yale YMF 40a Zigbee? I already have a control, but i want to identify the fingerprint users is possible?  
I living in Brazil, and the Smart Lock is not available here…. Let me know if you drive helpme then i subscribe it!

Tks
