added CD (the little white asus laptop) to the amp's inputs

master
Level2 Pidor 2016-09-05 20:08:40 +02:00
parent a836013eab
commit 14d6ef789a
3 changed files with 8 additions and 1 deletions

View File

@ -85,6 +85,10 @@ function receivertuner() {
echo "Switching receiver to tuner"
ssh pi@doorbuzz '/usr/bin/irsend SEND_ONCE pioneer "KEY_TUNER"'
}
function receivercd() {
echo "Switching receiver to cd"
ssh pi@doorbuzz '/usr/bin/irsend SEND_ONCE pioneer "KEY_CD"'
}
function receivervolumeup() {
echo "Turning reciever volume up"
ssh pi@doorbuzz '/usr/bin/irsend SEND_ONCE pioneer "KEY_VOLUMEUP"'
@ -145,6 +149,8 @@ case $1 in
;;
tuner) receivertuner
;;
cd) receivercd
;;
"vol+") receivervolumeup
;;
"vol-") receivervolumedown

View File

@ -3,7 +3,7 @@ if [ "$1" = "" ]
then
echo "usage: $0 {main|chill|status|labsocket|alarm|screen} {on|off}"
echo "usage: $0 {projector} {on|hdmi1|hdmi2|dvi|vga1|off}"
echo "usage; $0 {receiver} {on|off|hdmi|jack1|jack2|optical|vol-|vol+}"
echo "usage; $0 {receiver} {on|off|hdmi|jack1|jack2|optical|tuner|cd|vol-|vol+}"
# echo "usage: $0 {maindoor} {open}"
exit 1
fi

View File

@ -89,6 +89,7 @@
<p><a class="btn btn-success btn-lg btn-block" data-area="receiver" data-status="jack2" >Jack 2</a></p>
<p><a class="btn btn-success btn-lg btn-block" data-area="receiver" data-status="hdmi" >HDMI (projector) 2.0</a></p>
<p><a class="btn btn-success btn-lg btn-block" data-area="receiver" data-status="optical" >Optical (BluRay) 5.1</a></p>
<p><a class="btn btn-success btn-lg btn-block" data-area="receiver" data-status="cd" >CD (white laptop)r</a></p>
<p><a class="btn btn-success btn-lg btn-block" data-area="receiver" data-status="tuner" >Tuner</a></p>
<p><a class="btn btn-success btn-lg btn-block" data-area="receiver" data-status="vol-" >Vol-</a></p>
<p><a class="btn btn-success btn-lg btn-block" data-area="receiver" data-status="vol+" >Vol+</a></p>