Änderungen

ShellScript:FritzBox

330 Byte entfernt, 15:15, 3. Feb. 2015
/* ein-/ausschalten mit Statusanzeige */
<span style="text-decoration: underline"><span style="font-weight: bold"u>Geräteparameter einstellen:</span></spanu><br/>PARAM1 [sh /usr/local/addons/cuxd/user/FritzBox.sh]<span style="color:#FF0000">-> ruft das Script auf</span><br/>PARAM2 [x 192.168.125.1 CCU HomeMatic]<span style="color:#FF0000">-> der Login</span>
[[File:FritzBox geraete-parameter.jpg|RTENOTITLE]]
<span style="font-weight: bold"><span style="text-decoration: underline"u>Scriptaufruf und Login via Parameter:</span></spanu><br/>SWITCH|CMD_SHORT [$_P1$ $_P2$ WLAN 0]<span style="color: #BF0000">-> ausschalten</span><br/>SWITCH|CMD_LONG [$_P1$ $_P2$ WLAN 1] <span style="color: #BF0000">-> einschalten</span><br/>SWITCH|CMD_TIMER [$_P1$ $_P2$ WLAN state $CHANNEL$] <span style="color: #BF0000">-> Status-Abfrage für diesen Kanal</span>
[[File:FritzBox wlan.jpg|RTENOTITLE]]
<span style="font-weight: bold"><span style="text-decoration: underline"u>Scriptaufruf via Parameter, Login über die Config im Script:</span></spanu><br/>SWITCH|CMD_SHORT [$_P1$ WLAN5 0]<span style="color: #BF0000">-> ausschalten</span><br/>SWITCH|CMD_LONG [$_P1$ WLAN5 1] <span style="color: #BF0000">-> einschalten</span><br/>SWITCH|CMD_TIMER [$_P1$ WLAN5 state $CHANNEL$] <span style="color: #BF0000">-> Status-Abfrage für diesen Kanal</span>
[[File:FritzBox wlan5.jpg|RTENOTITLE]]
<br/><span style="text-decoration: underline"><span style="font-weight: bold"u>Verwendung eines Kanalparamters mit einem DECT200.</span></span><br/>Eintrag in den Geräteparametern:</u><br/>PARAM1 [sh /usr/local/addons/cuxd/user]<br/><br/>SWITCH|CMD_SHORT [$_P1$/FritzBox.sh FB-AHA $_C1$ 0]<br/>SWITCH|CMD_LONG [$_P1$/FritzBox.sh FB-AHA $_C1$ 1]<br/>SWITCH|CMD_TIMER [$_P1$/FritzBox.sh FB-AHA $_C1$ state1 $CHANNEL$]
[[File:FritzBox dect200.jpg|RTENOTITLE]]<br/><br/>Mit Hilfe von Kanalparametern können für mehrere DECT200 die Befehle immer gleich bleiben.<br/>Es ist nur die AIN-Nummer einzutragen.
95
Bearbeitungen