truhe an/aus

This commit is contained in:
2018-06-12 20:50:47 +02:00
parent 2e3361343f
commit 95f7f61cdc
3 changed files with 15 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ MP=$(dirname "$ME")
sispmctl -o ${PWR_LEINI} #Leini
sispmctl -o ${PWR_BEAMER} #Beamer
sleep 5
./truhe_an.sh
sispmctl -o ${PWR_TRUHE} #Truhe
sudo /home/osmc/433Utils/RPi_utils/codesend 7594948#Leini Down
irsend -d /var/run/lirc/lircd-lirc0 SEND_ONCE ${LIRC_BEAMER_AN}

7
kino/truhe_an.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
ME=$(readlink -f "$0")
MP=$(dirname "$ME")
. ${MP}/kino.conf
sispmctl -o ${PWR_TRUHE} #Truhe

7
kino/truhe_aus.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
ME=$(readlink -f "$0")
MP=$(dirname "$ME")
. ${MP}/kino.conf
sispmctl -f ${PWR_TRUHE} #Truhe