DUMLOGO

SISPMCTL 



Das sispmctl ist ein Wekzeug um die Steckdosen einer Gembird Silver Shield PMS per USB zu steuern. Auf http://sispmctl.sourceforge.net  sind  alle Informationen zu finden. Das Webinterface ist ohne Zugangsbeschränkung und sollte nicht verwendet werden. Als erstes schalten wir mal alle 4 Steckdosen ein. Auf der RudiShell geben wir.
sispmctl -o all
ein und klicken auf den Knopf Skript ausführen

sp001

Das sispmctl antwortet uns, dass es auf device 006  outlet 1 bis 4 eingeschaltet hat. 

sp003



Steckdose 1 ausschalten 

sp004


Das wars und hier noch die Optionen
-h    Print usage information
-s     Scan all universal serial buses for devices with the ID 04B4:FD11.
-l     stay listening on network port for http protocol.
-p     IP network port (default: 2638) for listener. There is no authentication implemented yet.
-u     give the directory path where pages lay, that are served (default: /usr/local/httpd/pmctl ).  The     Web path component is completely ignored for security reasons.
-b     switch the buzzer on and off (I was not able to test it, mine does not hat it)
-o     switch the named outlet to "ON"
-f     switch the named outlet to "OFF"
-g     show the status of the named outlet
-d     Choose not the first but the named one in the sequence of detected devices (see scan option)
-n     do not print "ON" and "OFF", but "1" and "0" instead
-q     do neither print explanations nor disclaimers except it is requested
-v     print version & copyright 

wir brauchen ersteinmal nur die -o und die -f Option.
Beispiel: 

sispmctl -o all    Schaltet alle ein
sispmctl -f 3    Schaltet 3 aus