PACEdge User Manual
Section 6
GFK-3178B
Nov 2020
PACEdge Usage Examples
18
Figure 12: New Flow within Node-RED
6.3.4
Example Walk Through
1.
The example consists of four flows, two for internal MQTT communication, and two for
external MQTT communication. You can check the setup by opening MQTT-broker node
and clicking on the pen next to the server:
a.
Internal MQTT Broker:
i.
Server: mqtt-internal-IPC
ii.
Port: 1883
b.
External MQTT Broker:
i.
Server: mqtt
ii.
Port: 1883
Note: the internal MQTT communication is designed to be used internally between
PACEdge components, while external MQTT Broker can be accessed from other devices via
Ethernet
2.
Once flows are deployed they will start publishing messages to both internal and external
MQTT brokers and the specified Topic once a second. Receiving flows are configured to
listen to specified Topics and once a new message is published, it will send the message to
the debug node. By default, debug nodes are switched off, so nothing will be seen in the
debug window. Click on the debug node activation button to turn it on and you will either
see a timestamp or a HELLO message being received once a second.