RBoy
(www.rboyapps.com - Making SmartThings Easy!)
1657
No such capability in ST. I think you’re trying to capture the code used when locking/unlocking from the DTH to use in a custom app. That’s a DTH feature, this SmartApp is a consumer of that information.
We’ve published more details on how to capture the usedCode reported by the DTH to ST for use with custom apps here: