kinos an/aus

This commit is contained in:
2017-11-12 11:23:18 +01:00
parent 6665cb40a2
commit 8ff7321a17
3 changed files with 34 additions and 0 deletions

16
kino/kino_aus.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
ME=$(readlink -f "$0")
MP=$(dirname "$ME")
. ${MP}/kino.conf
sudo ~/433Utils/RPi_utils/codesend 7594946#Leini Up
irsend -d /var/run/lirc/lircd-lirc0 SEND_ONCE ${LIRC_BEAMER_AUS}
sispmctl -f ${PWR_TRUHE}
sleep 360 #Wait for Leini and Beamer cooldown
echo sispmctl -f ${PWR_BEAMER} #Beamer
echo sispmctl -f ${PWR_LEINI} #Leini