A set of tools to manage a door lock system.
- the target hardware is the couple Raspberry Py 3 + Pyface
- ID Card Reader USB 125K HZ (make sure it's one emulating keyboard but most do)
- Raspian
- the following Debian packages
sudo apt-get install python3 python3-pip python3-setuptools python3-mysql.connector python3-evdev monit mariadb-server
- the following Python3 packages
sudo pip3 install pifacedigitalio pifacecommon
cd /usr/local
sudo git clone https://github.com/atelierdesmedias/door.git
cd /etc/init.d/
ln -s /usr/local/door/usr/local/door/etc_init.d
sudo update-rc.d door defaults
cd /etc/monit/conf.d/
ln -s /usr/local/door/monit door
sudo monit reload
sudo python3 /usr/local/door/open.py
sudo python3 /usr/local/door/close.py