Skip to content
This repository

Code for the door access control system

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
Duncan Thomas Funcan authored March 15, 2014
Octocat-spinner-32 access Add change password button January 19, 2014
Octocat-spinner-32 .gitignore Add user db to git ignore, and remove some crap January 17, 2014
Octocat-spinner-32 README.md Include setup in README January 23, 2014
Octocat-spinner-32 adduser.py Add flask interface January 19, 2014
Octocat-spinner-32 config.py Add flask interface January 19, 2014
Octocat-spinner-32 daemon.py Add basic logging March 15, 2014
Octocat-spinner-32 db_create.py Add flask interface January 19, 2014
Octocat-spinner-32 ds1307_autoconfigure.py PEP8 and code cleanup March 04, 2013
Octocat-spinner-32 removeuser.py Add flask interface January 19, 2014
Octocat-spinner-32 requirements.txt Add flask interface January 19, 2014
Octocat-spinner-32 run_flask.py Add flask interface January 19, 2014
Octocat-spinner-32 userlist.py Add flask interface January 19, 2014
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.