8 Syntaxe / Commandes possibles
8.1 Commandes pour recevoir toutes les
données/états/valeurs au format XML
Commande:
http://IP of device/current_state.xml?pw=admin
Réponse de l'appareil à cette commande :
<CurrentState>
<Relay1>
<Name>RELAY1</Name>
<State>0</State>
</Relay1>
<Relay2>
<Name>RELAY2</Name>
<State>0</State>
</Relay2>
<Relay3>
<Name>RELAY3</Name>
<State>0</State>
</Relay3>
<Relay4>
<Name>RELAY4</Name>
<State>0</State>
</Relay4>
<Bank1>
<BankStatus>disabled</BankStatus>
<BankDir>stop</BankDir>
</Bank1>
<Bank2>
<BankStatus>disabled</BankStatus>
<BankDir>stop</BankDir>
</Bank2>
<MAC>xx:xx:xx:xx:xx:xx</MAC>
</CurrentState>
www.satelco.ch
11