X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=raspberrypi_gpio_relay_licht%2Fswitch.cgi;fp=raspberrypi_gpio_relay_licht%2Fswitch.cgi;h=167c64bd28fb43ef3183bfbacb72ed5d216a09b1;hb=b4df3762b0b4df60afdc0e83305ec221d42e4ca7;hp=d6f152e83a664ae881388c06e2e55aaac561cbbf;hpb=578f95427de956ca287fcebcefdee5437e033522;p=svn42.git diff --git a/raspberrypi_gpio_relay_licht/switch.cgi b/raspberrypi_gpio_relay_licht/switch.cgi index d6f152e..167c64b 100755 --- a/raspberrypi_gpio_relay_licht/switch.cgi +++ b/raspberrypi_gpio_relay_licht/switch.cgi @@ -22,7 +22,7 @@ done GPIOPATH=/sys/class/gpio/gpio -VALID_ONOFF_IDS="4 17 18 21 22 23" +VALID_ONOFF_IDS="4 23 18 17 22 21" VALID_SEND_IDS="" print_gpio_state() { @@ -56,12 +56,12 @@ if [ "$POWER" = "1" -o "$POWER" = "0" ]; then done fi -DESC_23="Decke Links Leinwand" -DESC_4="Decke Rechts Leinwand" -DESC_18="Decke Eingang Mitte" -DESC_17="Decke Durchgang Mitte" -DESC_22="Decke Links Couch" -DESC_21="Decke Rechts Couch" +DESC_23="Decke Leinwand (S)" +DESC_4="Decke E-Labor (SSW)" +DESC_18="Decke Eingang (W)" +DESC_17="Decke Durchgang (O)" +DESC_22="Decke Auslage (N)" +DESC_21="Decke Küche (NNO)" echo "Content-type: text/html" echo "" @@ -205,6 +205,7 @@ for DISPID in $VALID_ONOFF_IDS; do fi done +#Alle echo "
" echo "" echo -n " " echo "" echo -n "
Alle
" echo "
" + +if [ "$NOFLOAT" = "1" ]; then + echo "
" +fi + +#Pattern1 +echo "
" +echo -n " " +echo -n " " +echo -n " " +echo -n " " +echo -n " " +echo -n " " +echo "
" + if [ "$NOFLOAT" = "1" ]; then echo "
" fi