Also raise projection screen if the beamer is completely off
parent
5b949e9d82
commit
5adb89133f
|
@ -4,7 +4,7 @@ then
|
||||||
(
|
(
|
||||||
projip=$(arp -an|awk -F'[()]' '/00:50:41:79:d1:34/{print $2}')
|
projip=$(arp -an|awk -F'[()]' '/00:50:41:79:d1:34/{print $2}')
|
||||||
signalsource="$(wget -qO - 'http://'"$projip"'/tgi/return.tgi?query=info' |awk -F'[<>]' '/<info>/{print substr($3,33,2)}')"
|
signalsource="$(wget -qO - 'http://'"$projip"'/tgi/return.tgi?query=info' |awk -F'[<>]' '/<info>/{print substr($3,33,2)}')"
|
||||||
if [ "$signalsource" = "00" ] || [ "$signalsource" = "15" ]
|
if [ "$signalsource" = "00" ] || [ "$signalsource" = "15" ] || [ "$signalsource" = "" ]
|
||||||
then
|
then
|
||||||
ssh pi@doorbuzz 'doorbuzz/projectionscreen.sh up'
|
ssh pi@doorbuzz 'doorbuzz/projectionscreen.sh up'
|
||||||
echo "wget http://$projip/tgi/return.tgi?command=2a3102fd0660"
|
echo "wget http://$projip/tgi/return.tgi?command=2a3102fd0660"
|
||||||
|
|
Loading…
Reference in New Issue