howto:member_access_card
Table of Contents
Enrolling a member access card
This guide is for giving a Hackeriet member door access using a member RFID card registered in Hula.
For temporary non-member cards, see Lending out temporary cards.
Prerequisites
- Hula admin access
- the member already exists in Hula
- physical access to the safe and the door reader
- an RFID card from the safe
- a way to read the card number, either:
- a phone with an RFID/NFC reader app
- SSH access to
bac-door1.hackeriet.nowith permission to runsudo journalctl -u doord -f
Register the card
- Open the member in the Hula Django admin.
- Get an RFID card from the safe.
- Read the card number. A phone with an RFID/NFC reader app can read at least some of the cards directly. Hula expects the value as lowercase hexadecimal with a
0xprefix and no separators. For example, if the app showsF6:A8:15:39, enter0xf6a81539in Hula. - The card number can also be read from the door daemon log while presenting the card to the door reader:
ssh bac-door1.hackeriet.no "sudo journalctl -u doord -f"
- Present the unregistered card to the door lock.
- Look for the
unregistered cardlog line and copy the card number from that line. - Put the card number into the Hula Django field named
RFID access card number. (new):. - Save the user/member record.
Verify
Test the card on the door after saving the member record in Hula.
Related documentation
/srv/hackeriet-wiki/dokuwiki/data/pages/howto/member_access_card.txt · Last modified: by atluxity_idp.hackeriet.no