Datasheet
Table Of Contents
- Overview
- Control Protocols
- WiFi
- Configuration
- USB Configuration Commands
- ST Status. Return the system status
- RB ReBoot.
- IP Sets the modules IP address.
- SB Sets the SuBnet mask.
- GW Sets the GateWay address.
- PD Sets the Primary DNS.
- SD Sets the Secondary DNS.
- SS This sets the SSID.
- PW Sets your networks WIFI password.
- PA Sets the TCP/IP port number for the ASCII commands.
- MS Sets the MQTT broker address
- MD Sets the MQTT ID for this module
- MP Sets the MQTT broker’s port.
- R1-R4 Sets the MQTT topic this relay is subscribed to.
- N1-N2 Sets the MQTT topic this Input will publish to.
- TCP/IP Commands.
- HTML Commands.
- Webpage
- Schematics
- PCB dimensions
- Notes
ESP32LR42 User Manual v1.02
GR Get Relay.
Will return the state of the relay.
To get the status of relay 3:
GR 3
1
GR 3
0
GR 9
fail < relay 9 does not exist.
GI Get Input.
Will return the status of an input.
GI 2
0 Input 2 is low (Green Led is on)
GI 2 Input 2 is high (Green Led is off)
1
GI 9
fail Only 2 inputs available
AL Get All 2 inputs.
AL
10 Here, Input 2 is low, all others are high.
Inputs are numbered from left to right, 1 to 2.
Copyright © 2018, Devantech Ltd.
All rights reserved.
www.robot-electronics.co.uk
9