Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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 Add change password button
.gitignore Add user db to git ignore, and remove some crap
README.md Include setup in README
adduser.py Add flask interface
config.py
daemon.py Add basic logging
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 Add flask interface

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.