Deploy to RPi 4
This commit is contained in:
parent
743ac56d3a
commit
acc38ad17f
11
README.md
11
README.md
|
@ -1,6 +1,6 @@
|
||||||
# Airlock
|
# 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
|
## Setup
|
||||||
|
|
||||||
|
@ -34,6 +34,13 @@ KERNEL=="watchdog", MODE="0666"
|
||||||
|
|
||||||
Also ensure `/boot/cmdline.txt` doesn't contain `console=serial0,115200`.
|
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:
|
Then reboot:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
|
@ -90,6 +97,8 @@ stdout_logfile=/var/log/airlock.log
|
||||||
stdout_logfile_maxbytes=10MB
|
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.
|
Script logs to /var/log/airlock.log. Remove `-u` from the above command when you're done testing.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
Loading…
Reference in New Issue
Block a user