Kati is access system developed for club Buben of CTU Student Union.
Authentication and authorization is performed by these steps:
- user attaches identification card to reader located near the door
- reader parses identification of the card
- authorization request is send to IS to perform authorization and authentication
- access to the door is granted or denied according to reply from IS server
RaspberryPi is used as remote controller located near the door.
Assuming you have working SSH key-based login to hosts:
cd deploy
vim hosts # edit according to your needs
ansible-playbook deploy.yml
SSH to a testing Raspberry and run:
cd ~/kati
python3 start.py
You can also try only specific components:
python3 -m kati.reader
python3 -m kati.lock
Or run tests (which are heavily WIP):
python3 -m nose