klebel Posted February 15, 2017 Posted February 15, 2017 Hi All, I have 3 BE469 Schlage locks. I am trying to build a new program that will send me a text notification which would include which door code was used while I am not home. Geofencing and everything else I can do just fine. Any ideas around how I can capture that door code information from the lock? I'm not sure how to capture it and transfer it into a notification. Any pointers would be great. Sidenote: I saw this thread. http://forum.universal-devices.com/topic/14677-schlage-be469/page-2 I am trying to avoid creating a separate program though for every single door code I program in. I would like to just capture the door code number direct from the event. Thanks, Kerry
MikeD Posted February 16, 2017 Posted February 16, 2017 http://forum.universal-devices.com/topic/14677-schlage-be469/?p=123297 In v4.x I believe that is the only way. You may be able to accomplish this a simpler way running v5.x, however that is still in alpha. The lock passes the user number, not the access code used. Then I have a resource for each user that notifies me by name. I receive a push notification this way, not a text message. You do need the Network Module (or ISY Portal that includes the Network Module) to receive notifications this way.
KeviNH Posted February 16, 2017 Posted February 16, 2017 I wouldn't think you'd want to send the actual unlock code as part of a cleartext notification or SMS? Not good OpSec! I put this string in my notification: Door ${sys.node.ZW009_1.ST}, last user ${sys.node.ZW009_1.USRNUM}, Battery at ${sys.node.ZW009_1.BATLVL}
klebel Posted February 21, 2017 Author Posted February 21, 2017 Thanks guys. You are correct, I do not want to send the actual unlock code. I just want the user code returned. I have 4 users so it should be users 1-4. I know who each of them are so Im don't feel the need to over complicate it. So I created a new notification that generates an email but this is what is returned every single time. It doesn't capture the door code from any of the variables I pull in. Door Entry Alert : Deadbolt-Front Door Status - Alert Door Entry Alert 'Deadbolt-Front Door' Status set to Unlocked at 2017/02/20 7:32:43 PM. ---------------------------------------- At: 2017/02/20 7:32:43 PM Program: Door Entry Alert Device: Deadbolt-Front Door (ZW021_1) Action: Status Value: Unlocked True At: 2017/02/20 7:32:43 PM Program: Door Entry Alert Device: Deadbolt-Front Door (ZW021_1) Action: Status Value: Unlocked 'Deadbolt-Front Door' Status set to Unlocked Unlocked Status Here is the body of the notification I created to send the email. ${alert.body} ${sys.program.#.status} ${alert.details} ${alert.event} ${alert.category} ${alert.type} ${alert.action} ${alert.control}
MikeD Posted February 21, 2017 Posted February 21, 2017 You have to put this in the body of the custom notification. ${sys.node.ZW###_1.USRNUM} Where ZW### is the node name of the Z-Wave lock.
AnthemAVM Posted February 23, 2017 Posted February 23, 2017 I had to write seprate programs and get a notifcation on who's code was used. It would be great to get it down to one program for each door.
MikeD Posted February 23, 2017 Posted February 23, 2017 See KeviNH answer in post #3 above. You only need one program for each door if the user number is all you need. You would get "last user 5" using this method. If you want to spell out the user you would need a separate program for each. Then you could get something like "last user John" since the text is in the body verbatim.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.