Merge pull request 'Set Door audio volume to 70%' (#370) from platon-door-audio into master

Reviewed-on: Netz39_Admin/netz39-infra-ansible#370
Reviewed-by: dkdent <dkdent@netz39.de>
This commit is contained in:
Stefan Haun 2024-05-01 13:16:47 +02:00
commit faab6f46db

View file

@ -1,11 +1,13 @@
#!/bin/sh
PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games'
echo 'set PCM volume'
sudo amixer set "PCM" "70%"
echo 'start i2c-foo'
sudo modprobe i2c_dev
sudo modprobe i2c_bcm2708
echo 'starting log'
tmux new-session -s status -d 'sudo less /var/log/shuttercontrol.log'
cd /home/pi/netz39_rollladensteuerung/raspberry/shuttercontrol
cd /home/pi/netz39_rollladensteuerung/raspberry/shuttercontrol
echo 'switch-on.sh'
../switch-on.sh
cd /home/pi