AutoVera Door Lock UserCode...again...

Discussion in 'AutoApps' started by TomTcom, Feb 11, 2017.

  1. TomTcom

    TomTcom Member

    Joined:
    Mar 18, 2015
    Messages:
    118
    Likes Received:
    4
    Hey @joaomgcd
    We discussed before about getting the name of the user who last entered the PIN into the door lock. Looking at your Implementation file, you do have a variable watch on sl_UserCode.
    However, using AV Devices Info, you only have %avpincodes. There is no variable for sl_UserCode. Do you know how to add this?
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    7,225
    Likes Received:
    630
    That code is used to monitor variables. It doesn't guarantee that the variable actually exists... Maybe the variable doesn't exist in your case. The Devices Info action gets all existing variables, it's not hard coded like in the above code.
     
  3. TomTcom

    TomTcom Member

    Joined:
    Mar 18, 2015
    Messages:
    118
    Likes Received:
    4
    Hmm, not sure what to say. I do have the variable on the device. So I don't know what else could get it to show itself to AV.

    What would the AV variable be if it did show up?
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    7,225
    Likes Received:
    630
    Sorry, I don't own that device so I really don't know... :(
     

Share This Page