From: Bernhard Tittelbach Date: Mon, 19 Apr 2010 02:30:35 +0000 (+0000) Subject: neu X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=1511091e292f268794aa9bf60630fcc26d133f4c;p=svn42.git neu --- diff --git a/sensor_graph/switch.cgi b/sensor_graph/switch.cgi index 1e70cf0..765778c 100755 --- a/sensor_graph/switch.cgi +++ b/sensor_graph/switch.cgi @@ -16,7 +16,7 @@ for QUERY in `echo $QUERY_STRING | tr '&' ' '`; do done UNIXSOCK=/var/run/powersensordaemon/cmd.sock -VALIDIDS="werkzeug stereo labor schreibtisch logo idee" +VALIDIDS="werkzeug stereo labor schreibtisch logo idee deckehinten deckevorne" if [ "$POWER" == "on" -o "$POWER" == "off" ]; then for CHECKID in $VALIDIDS; do @@ -26,12 +26,14 @@ if [ "$POWER" == "on" -o "$POWER" == "off" ]; then done fi -DESC_werkzeug="Beleuchtung Werkzeug" +DESC_werkzeug="Werkzeug LEDs" DESC_stereo="Stereo Anlage" DESC_labor="Labor Licht" DESC_schreibtisch="Schreibtisch Licht" DESC_logo="Logo" DESC_idee="Idee" +DESC_deckehinten="Decke Hinten" +DESC_deckevorne="Decke Vorne" echo "Content-type: text/html" echo "" @@ -41,12 +43,18 @@ echo "Realraum rf433ctl" echo "" echo "" echo "

Realraum rf433ctl

" -echo "" -echo " " +echo "
DeviceONOFF
" for DISPID in $VALIDIDS; do NAME="$(eval echo \$DESC_$DISPID)" [ -z "$NAME" ] && NAME=$DISPID - echo " " + echo "" + echo "" +# echo " " + echo "" + echo "" done echo "
$NAMEONOFF
$NAME
$NAME
" + echo " " + echo " " + echo "
" echo ""