Please sign in to comment.
mct's giant patch
Major changes: - Only checks for a valid code when the user hits "#", which is much more sane. "*" clears the input buffer without checking it for a valid code. If the keypad is idle for 10 seconds, the input buffer is also cleared. - No longer uses of threads. Yay. - Checks the mtime of the codes file to determine when it should be re-read
- Loading branch information...
Showing with 205 additions and 261 deletions.
|@@ -1,12 +1,13 @@|
|# baron - baron.py job file|
|+# Sample configuration file for use with upstart (http://upstart.ubuntu.com/)|
|description "monitor door keypad"|
|start on runlevel |
|stop on runlevel |
|# Start the process|
|exec python /usr/local/share/baron/noisebridge-baron/baron.py --codefile /usr/local/share/baron/codes.txt --port /dev/ttyS5 --logfile /usr/local/share/baron/baron.log|
Oops, something went wrong.