From: Bernhard Tittelbach Date: Thu, 29 Jul 2010 22:40:47 +0000 (+0000) Subject: ir remote image map X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=80032eb297f006d43491a29f96bc4a003ca45fce;p=svn42.git ir remote image map --- diff --git a/powersensordaemon/rx-v396-remote.png b/powersensordaemon/rx-v396-remote.png new file mode 100644 index 0000000..d117511 Binary files /dev/null and b/powersensordaemon/rx-v396-remote.png differ diff --git a/powersensordaemon/switch.cgi b/powersensordaemon/switch.cgi index ffa428e..1565c53 100755 --- a/powersensordaemon/switch.cgi +++ b/powersensordaemon/switch.cgi @@ -17,7 +17,7 @@ done UNIXSOCK=/var/run/powersensordaemon/cmd.sock VALID_ONOFF_IDS="decke ambientlights lichter all werkzeug labor dart logo idee deckehinten deckevorne" -VALID_SEND_IDS="ymhpoweron ymhpoweroff ymhvolup ymhvoldown ymhcd ymhwdtv ymhtuner ymhvolmute ymhmenu ymhplus ymhminus ymhtest ymhtimelevel ymheffect ymhprgup ymhprgdown ymhtunplus ymhtunabcde ymhtape ymhvcr ymhextdec" +VALID_SEND_IDS="ymhpoweron ymhpoweroff ymhpower ymhvolup ymhvoldown ymhcd ymhwdtv ymhtuner ymhvolmute ymhmenu ymhplus ymhminus ymhtest ymhtimelevel ymheffect ymhprgup ymhprgdown ymhtunplus ymhtunabcde ymhtape ymhvcr ymhextdec" [ "$POWER" == "send" ] && POWER=on @@ -51,6 +51,7 @@ DESC_lichter="Alle Lichter" DESC_all="Alles" DESC_ymhpoweron="Reciever On" DESC_ymhpoweroff="Reciever Off" +DESC_ymhpower="Reciever On/Off" DESC_ymhvolup="VolumeUp" DESC_ymhvoldown="VolumeDown" DESC_ymhcd="Input CD" @@ -78,6 +79,7 @@ echo "Realraum rf433ctl" echo "" echo "" #echo "

Realraum rf433ctl

" +echo "
" for DISPID in $VALID_ONOFF_IDS; do NAME="$(eval echo \$DESC_$DISPID)" [ -z "$NAME" ] && NAME=$DISPID @@ -89,6 +91,8 @@ for DISPID in $VALID_ONOFF_IDS; do echo "
" echo "" done +echo "" +echo "
" for DISPID in $VALID_SEND_IDS; do NAME="$(eval echo \$DESC_$DISPID)" [ -z "$NAME" ] && NAME=$DISPID @@ -99,5 +103,6 @@ for DISPID in $VALID_SEND_IDS; do echo "
" echo "" done +echo "" echo "" echo "" diff --git a/powersensordaemon/ymhremote.html b/powersensordaemon/ymhremote.html new file mode 100755 index 0000000..954025a --- /dev/null +++ b/powersensordaemon/ymhremote.html @@ -0,0 +1,99 @@ + + +Realraum Yamaha Remote + + + + + + + + + +ymhcd +ymhtuner +ymhtape +ymhwdtv + +ymhvcr + +ymhaux +ymhextdec +ymhtest +ymhtunabcde +ymheffect + + + +ymhvolup +ymhvoldown +ymhmute + +ymhsleep + + + + + +ymhprgup +ymhprgdown +ymhminus +ymhplus + +ymhtimelevel +ymhmenu + + + + \ No newline at end of file