Add setup instructions
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
This script plays a fake dog bark through speakers to scare people away from your house.
|
This script plays a fake dog bark through speakers to scare people away from your house.
|
||||||
|
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
Set up the Pi:
|
Set up the Pi:
|
||||||
@@ -11,6 +10,14 @@ Set up the Pi:
|
|||||||
$ sudo usermod -aG audio tanner
|
$ sudo usermod -aG audio tanner
|
||||||
$ sudo apt update
|
$ sudo apt update
|
||||||
$ sudo apt install python3 python3-pip python3-virtualenv libsdl2-mixer-2.0-0 supervisor
|
$ sudo apt install python3 python3-pip python3-virtualenv libsdl2-mixer-2.0-0 supervisor
|
||||||
|
$ sudo bash -c 'echo 0 > /proc/sys/kernel/hung_task_timeout_secs'
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit /etc/pulse/daemon.conf:
|
||||||
|
|
||||||
|
```text
|
||||||
|
default-fragments = 5
|
||||||
|
default-fragment-size-msec = 2
|
||||||
```
|
```
|
||||||
|
|
||||||
Install woof:
|
Install woof:
|
||||||
@@ -56,7 +63,6 @@ $ sudo supervisorctl status
|
|||||||
$ tail -f /var/log/woof.log
|
$ tail -f /var/log/woof.log
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This program is free and open-source software licensed under the GNU Affero General Public License. Please see the `LICENSE` file for details.
|
This program is free and open-source software licensed under the GNU Affero General Public License. Please see the `LICENSE` file for details.
|
||||||
|
|||||||
Reference in New Issue
Block a user