Node-RED - The wiring editor
98/258
If you select
Add new mqtt-broker
in the list
Server
and click Edit
thereafter, the dialog box
Add new mqtt-broker config node
will be
displayed. In this dialog box you can configure the parameters for a
connection to an MQTT broker.
Figure 68: Dialog box MQTT broker config node – tab Connection
Tab
Connection
In the tab
Connection
you can configure the connection to the server.
Parameter Type
Description
Server
Input field
Here you indicate with which MQTT broker the Node-RED
MQTT input node shall communicate.
For the communication with an external MQTT broker
specify the IP address of this broker here or specify
localhost
(denoting the locally defined host computer).for
addressing the integrated MQTT broker of the Edge
Gateway
Port
Input field
Here you enter the port via which Node-RED communicates
with MQTT. Port 1883 (for standard MQTT) or 8883 (for
MQTT with TLS encryption) is usually used here.
Client ID
Input field
If the box
Use clean session
is not checked, you have to
enter the client ID here to identify the client.
If the box
Use clean session
is checked, no entry is
required because in this case the client ID will be produced
automatically.
Keep alive
time
Input field
Here you enter the lifetime of the connection.
Use clean
session
Checkbox
By checking this box you can activate a clean session
during which the client ID is produced automatically.
Use legacy
MQTT 3.1
support
Checkbox
By checking this box you can activate MQTT 3.1 support.
Table 36: Parameters in the tab Connection
Edge Gateway | NIOT-E-TPI51-EN-RE (Connect)
DOC170502UM04EN | Revision 4 | English | 2018-08 | Released | Public
© Hilscher 2017 – 2018