Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Code for the door access control system
Python
Branch: master

Add basic logging

Trying to find why the daemon crashes periodically, so added basic
logging, and put the main loop inside a logging try/except/raise
block
latest commit 586da788ed
@Funcan Funcan authored
Failed to load latest commit information.
access
.gitignore
README.md
adduser.py Add flask interface
config.py
daemon.py
db_create.py Add flask interface
ds1307_autoconfigure.py PEP8 and code cleanup
removeuser.py Add flask interface
requirements.txt Add flask interface
run_flask.py Add flask interface
userlist.py

README.md

access-control

Code for the door access control system

auto-start

The following should be placed in /etc/rc.local to start the door control daemon and the flask interface.

screen -d -m -S access-control sudo python /home/pi/access-control/daemon.py
screen -S access-control -X title daemon
screen -S access-control -X screen -t flask python /home/pi/access-control/run_flask.py
Something went wrong with that request. Please try again.