Mqtt; Device Configuration - Waveshare RS485 TO ETH Manual

Hide thumbs Also See for RS485 TO ETH:
Table of Contents

Advertisement

485 TO ETH (B) User Manual
Click "Next" to add another delivery conversion, otherwise click "Save all and exit".
After returning to the main interface, click "Save JSON Settings", and then click "Return".
Then pay attention to click "Download" on the download interface. This completes the
configuration.
If {power:"12345"} is sent now, the power value 12345 needs to be set to station
address 2 and register 3. The settings are as follows:
Note that the keyword here only needs to enter power:", and you do not need to enter
the following 12345, because this value is changed, but you need to enter a colon. If the
quotation marks are in the issued data, you also need to enter quotation marks.

5. MQTT

MQTT can be used alone or in conjunction with the JSON function. When used alone,
the MQTT function transparently transmits serial port data to the MQTT server. That is, the
data received by the serial port is used as the load of MQTT. At the same time, the payload
of MQTT will be output from the serial port in a transparent way. Realize serial port to
MQTT.

5.1. DEVICE CONFIGURATION

First search for the device, then click Edit Device:
Figure 30 JSON setting register
28 / 36
www.waveshare.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents