ESP32LR42
User Manual v1.02
MS Sets the MQTT broker address
MS “192.168.0.121”
OK. Saved MQTT Server: 192.168.0.121
MD Sets the MQTT ID for this module
MS “UniqueModuleName”
OK. Saved MQTT ID: UniqueModuleName
MP Sets the MQTT broker’s port.
Normally, this should be set to 1883.
mp 1883
OK. Saved MQTT port number: 1883
If you are not using MQTT, set the port to 0. This will turn off MQTT, otherwise it will continuously
try to connect if there is no MQTT broker.
R1-R4
Sets the MQTT topic this relay is subscribed to.
R3 "Workshop/Heater"
OK. Saved Relay 3 Topic: Workshop/Heater
In use, the payload for relay topics should be a string with the first character set to ‘0’ or ‘1’
(ASCII characters 0x31/0x30).
N1-N2
Sets the MQTT topic this Input will publish to.
N2 "Workshop/Heater"
OK. Saved Input 2 Topic: Workshop/Heater
The payload generated for input topics is a string with the first character set to ‘1’ if the input is
open or unconnected, and ‘0’ if the input pins are shorted. (ASCII characters 0x31/0x30).
Copyright
© 2018,
Devantech Ltd.
All rights reserved.
7