ESP32LR42
User Manual v1.02
HTML Commands.
There are a set of HTML commands that can be used to control the module.
?Rly3=1
This will turn on relay 3
?Rly3=0
This will turn off relay 3
?Rly3=2
This 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.
<ESP32LR42DATA>
<RELAYS>
<RLY1>off</RLY1>
<RLY2>on</RLY2>
<RLY3>on</RLY3>
<RLY4>on</RLY4>
</RELAYS>
<INPUTS>
<INP1>1</INP1>
<INP2>0</INP2>
</INPUTS>
</ESP32LR42DATA>
The XML file is generated after the command has executed, therefore will reflect the new status of
the relays.
Copyright
© 2018,
Devantech Ltd.
All rights reserved.
10