From: Bernhard Tittelbach Date: Thu, 21 Oct 2010 12:19:26 +0000 (+0000) Subject: movie mode via webinterface X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=116dd2b7ad50221b59df6b657e23bad5d1da56f1;p=svn42.git movie mode via webinterface --- diff --git a/powersensordaemon/powerids.txt b/powersensordaemon/powerids.txt index 09d6fae..d636119 100644 --- a/powersensordaemon/powerids.txt +++ b/powersensordaemon/powerids.txt @@ -40,3 +40,4 @@ ymhprgdown $ ymhprgup % ymhsleep ( ymhp5 ) +moviemode :acd.fgh54 diff --git a/powersensordaemon/switch.cgi b/powersensordaemon/switch.cgi index 8e4f4b5..346a788 100755 --- a/powersensordaemon/switch.cgi +++ b/powersensordaemon/switch.cgi @@ -21,7 +21,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 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" +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" [ "$POWER" == "send" ] && POWER=on @@ -79,6 +79,7 @@ DESC_ymhextdec="ExtDec Toggle" DESC_seep="Sleep Modus" DESC_panicled="HAL9000 says hi" DESC_blueled="Blue Led" +DESC_moviemode="Movie Mode" echo "Content-type: text/html" echo "" echo ""