
ESP32LR20
User Manual v1.02
HTML Commands.
There are a set of HTML commands that can be used to control the module.
?Rly2=1
This will turn on relay 2
?Rly2=0
This will turn off relay 2
?Rly2=2
This will toggle relay 2 to the opposite state.
You can enter the commands into a browser immediately after the IP address.
This will turn on relay 2.
In response the module will return an XML file, which your browser will display.
<ESP32LR20DATA>
<RELAYS>
<RLY1>off</RLY1>
<RLY2>on</RLY2>
</RELAYS>
</ESP32LR20DATA>
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.
9