SmartApps to leverage Schlage lock "unlocked with code" event

I am looking to create a SmartApp the will leverage the “unlocked with code x” event on my Schlage Camelot lock so I can associate a name with the code and send me a notification to inform me that “name x” unlocked the door.

But first I wanted to check if somebody was successful at developing something similar before I reinvent the wheel. I saw a couple of discussion around that, but I can’t find any “working” code in the discussions…

Let me know…

This app works great and I use it on my Schlage Camelot

In my GitHub account:

Thanks a lot guys for the quick response. I will look at the code and “inspire myself” from it to build my app :wink:

Thanks for your help. Really appreciated.