From: Bernhard Tittelbach Date: Mon, 25 Mar 2013 16:31:57 +0000 (+0000) Subject: switch.cgi X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=5b27603745c1d8de0ab480d3893a9abf5142ce47;p=svn42.git switch.cgi --- diff --git a/powersensordaemon/switch.cgi b/powersensordaemon/switch.cgi index 4d99acf..3777b22 100755 --- a/powersensordaemon/switch.cgi +++ b/powersensordaemon/switch.cgi @@ -26,8 +26,8 @@ done UNIXSOCK=/var/run/powersensordaemon/cmd.sock VALID_ONOFF_IDS="decke ambientlights lichter all werkzeug labor dart logo spots1 deckehinten deckevorne boiler whiteboard pcblueleds bikewcblue" VALID_SEND_IDS="ymhpoweron ymhpoweroff ymhpower ymhvolup ymhvoldown ymhcd ymhwdtv ymhtuner ymhaux ymhsattv ymhvolmute ymhmenu ymhplus ymhminus ymhtest ymhtimelevel ymheffect ymhprgup ymhprgdown ymhtunplus ymhtunminus ymhtunabcde ymhtape ymhvcr ymhextdec ymhsleep ymhp5 panicled blueled moviemode" -VALID_BANSHEE_IDS="playPause next prev" -VALID_CAM_MOTOR_IDS="c C w W" +#VALID_BANSHEE_IDS="playPause next prev" +#VALID_CAM_MOTOR_IDS="c C w W" [ "$POWER" == "send" ] && POWER=on if [ "$POWER" == "on" -o "$POWER" == "off" ]; then @@ -97,7 +97,7 @@ DESC_ymhpower="Receiver On/Off" DESC_ymhvolup="VolumeUp" DESC_ymhvoldown="VolumeDown" DESC_ymhcd="Input CD" -DESC_ymhwdtv="Input WDlxTV" +DESC_ymhwdtv="Input S/PDIF Wuerfel" DESC_ymhtuner="Input Tuner" DESC_ymhvolmute="Mute" DESC_ymhmenu="Menu" @@ -139,6 +139,57 @@ echo ' req.setRequestHeader("googlechromefix","");' echo ' req.send(null);' echo '}' echo '' +echo '' echo "" echo "" #echo "

Realraum rf433ctl

" @@ -150,23 +201,21 @@ for DISPID in $VALID_ONOFF_IDS; do echo "
" echo "" - echo "
" - echo "
$NAME
" - echo "" - echo " " - echo " " + echo "
$NAME
" + echo " " + echo " " echo "" echo "
" echo "" else - echo "
" - echo "" - echo " " - echo " " + echo "
" + echo "" + echo " " + echo " " echo "" - echo "
$NAME
" + echo "
$NAME
" echo "
" fi @@ -185,17 +234,17 @@ for DISPID in $VALID_SEND_IDS; do echo "
" echo "" echo "
$NAME
" - echo " " + echo " " echo "
" echo "
" else - echo "
" - echo "" - echo " " + echo "
" + echo "" + echo " " echo "" - echo "
$NAME
" + echo "
$NAME
" echo "
" fi @@ -210,17 +259,17 @@ for DISPID in $VALID_BANSHEE_IDS $VALID_CAM_MOTOR_IDS; do echo "
" echo "" echo "
$NAME
" - echo " " + echo " " echo "
" echo "
" else - echo "
" - echo "" - echo " " + echo "
" + echo "" + echo " " echo "" - echo "
$NAME
" + echo "
$NAME
" echo "
" fi