Has anyone found a way to get the last used pin on a door lock (Specifically, in my case, i’m using a Schlage BE469)?
Vera reports this as sl_UserCode service ID. For instance:
<state id=“80” service=“urn:micasaverde-com:serviceId:DoorLock1” variable=“sl_UserCode” value=“UserID=“1” UserName=“John””/>
Using the item file generator out of the box, the sl_UserCode is set as a number by default, which is the wrong datatype in my case. Updating the item to string is the first step. However, after taking this first step, some transformation still needs to be done since the default output is not really usable. With the preceding example, the item value would look like this:
UserID=“1” UserName=“John”
Any suggestions on capturing either just the UserID or Username?
Thanks!