ESP32SR88
User Manual v1.7
HTML Commands.
There are a set of HTML commands that can be used to control the module.
?Rly3=1This will turn on relay 3
?Rly3=0This will turn off relay 3
?Rly3=2This will toggle relay 3 to the opposite state.
You can enter the commands into a browser immediately after the IP address.
This will turn on relay 3.
In response the module will return an XML file, which your browser will display.
<?xml version="1.0" encoding="UTF-8"?>
<ESP32SR88DATA>
<RELAYS>
<RLY1>off</RLY1>
<RLY2>off</RLY2>
<RLY3>on</RLY3>
<RLY4>off</RLY4>
<RLY5>off</RLY5>
<RLY6>off</RLY6>
<RLY7>off</RLY7>
<RLY8>off</RLY8>
</RELAYS>
<INPUTS>
<INP1>1</INP1>
<INP2>1</INP2>
<INP3>1</INP3>
<INP4>1</INP4>
<INP5>1</INP5>
<INP6>0</INP6>
<INP7>1</INP7>
<INP8>1</INP8>
</INPUTS>
</ESP32SR88DATA>
The XML file is generated after the command has executed, therefore will reflect the new status of the
relays.
Copyright
© 2021,
Devantech Ltd.
All rights reserved.
12