Operation Manual

Seite 34 Seite 35
XML Fernsteuerung
Version: 2.51 Stand: 2012-10-23
Aktor schalten
Eingabe:
http://192.168.0.100/xml/?mode=actor&type=switch&id=116&action=1
Ausgabe:
(Aktor wird EINgeschaltet, aus Zustand AUS)
<actor>
<id>116</id>
<name>Anschluß040</name>
<state>0</state>
Zustand des Aktors vor dem Befehl
<action>1</action> Auszuführende Aktion
<result>1</result>
Ergebnis der Aktion [0=Aus,1=Ein,2=Fehler,3=Keine Aktion erforderlich]
<result_text>switchon</result_text>
Ergebnis als Text
</actor>
Eingabe:
http://192.168.0.100/xml/?mode=actor&type=switch&id=116&action=1
Ausgabe:
(Aktor wird EINgeschaltet, aus Zustand EIN)
<actor>
<id>116</id>
<name>Anschluß040</name>
<state>1</state>
<action>1</action>
<result>3</result>
<result_text>nothingtodo</result_text>
</actor>
Eingabe:
http://192.168.0.100/xml/?mode=actor&type=switch&id=116&action=0
Ausgabe:
(Aktor wird AUSgeschaltet, aus Zustand EIN)
<actor>
<id>116</id>
<name>Anschluß040</name>
<state>1</state>
<action>0</action>
<result>0</result>
<result_text>switchoff</result_text>
</actor>
XML Fernsteuerung
Version: 2.5 Stand: 2012-10-22
Alle Aktoren auflisten
Eingabe:
http://192.168.0.100/xml/?mode=actor&type=list
Ausgabe:
<actors>
<actor>
<id>2</id>
Aktoren ID
<name>GeräteLED</name>
Aktor Name (vom Benutzer vergeben)
<state>0</state>
Zustand des Aktors [0=Aus, 1=Ein]
</actor>
<actor>
<id>116</id>
<name>Anschluß040</name>
<state>0</state>
</actor>
<actor>
<id>117</id>
<name>Anschluß041</name>
<state>0</state>
</actor>
.
.
.
</actors>
Nur einen Aktor anzeigen
Eingabe:
http://192.168.0.100/xml/?mode=actor&type=list&id=116
Ausgabe:
<actor>
<id>116</id>
<name>Anschluß040</name>
<state>0</state>
</actor>