Author Topic: Get Lock Pin User  (Read 8724 times)

Offline mlawell

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Get Lock Pin User
« Reply #30 on: November 26, 2014, 09:40:32 pm »
This is nice, except when we unlock through the interface. It only alerts with the last user to unlock... how do we filter out or return the user logged into the interface?

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9990
  • Karma: +755/-141
    • RTS Services Plugins
Re: Get Lock Pin User
« Reply #31 on: November 26, 2014, 09:51:42 pm »
You would need to add some code to clear the last lock user from the device ...

Offline tdubbs

  • Sr. Newbie
  • *
  • Posts: 31
  • Karma: +0/-1
Re: Get Lock Pin User
« Reply #32 on: November 15, 2017, 10:41:18 pm »
Bringing up an old topic...

Attempting to set up Vera Alerts to send the name for the specific pin entered as others have worked on previously.

I'm running a new Vera Plus with the latest 1.7 firmware to date.

I've uploaded veraTemplateString.lua as directed.

Selected the door lock, pin entered, *, advanced editor, added vera alerts, Send Alert, with a message {Device([13].Lock.sl_UserCode) | String.LockUserName()} entered Basement Door. (ID 13 is the door lock)

Saved the scene, rebooted for good sake, and when I run the scene I get "Code 4 Entered Basement Door" (Code #4 being the code I entered)

Where am I going wrong? What can I test?

thanks!