|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
# Airlock |
|
|
|
|
|
|
|
|
|
Door controller for scanning Protospace member cards on the front and back doors. |
|
|
|
|
Door controller for scanning Fuse33 member cards on the front and back doors. |
|
|
|
|
|
|
|
|
|
## Setup |
|
|
|
|
|
|
|
|
@ -34,6 +34,13 @@ KERNEL=="watchdog", MODE="0666" |
|
|
|
|
|
|
|
|
|
Also ensure `/boot/cmdline.txt` doesn't contain `console=serial0,115200`. |
|
|
|
|
|
|
|
|
|
On Raspberry Pi 4, you may need to add this to the end of '/boot/config.txt`, after `[all]`: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
enable_uart=1 |
|
|
|
|
dtoverlay=disable-bt |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
Then reboot: |
|
|
|
|
|
|
|
|
|
```text |
|
|
|
@ -90,6 +97,8 @@ stdout_logfile=/var/log/airlock.log |
|
|
|
|
stdout_logfile_maxbytes=10MB |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
Run `sudo supervisorctl reread; sudo supervisorctl update` to deploy. |
|
|
|
|
|
|
|
|
|
Script logs to /var/log/airlock.log. Remove `-u` from the above command when you're done testing. |
|
|
|
|
|
|
|
|
|
## License |
|
|
|
|