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.
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
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
7
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.