hilscher NIOT-E-TPI51-EN-RE User Manual page 139

Netiot edge gateway
Hide thumbs Also See for NIOT-E-TPI51-EN-RE:
Table of Contents

Advertisement

Examples for Node-RED
8. Deploy:
Edge Gateway | NIOT-E-TPI51-EN-RE (Connect)
DOC170502UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø Click Deploy to transmit the nodes, that have so far existed in the editor
only, to the device and activate them.
ð The flow is activated in the Edge Gateway.
ð As soon as the topic Timestamp1 changes, the Debug output will
display the new value.
The section MQTT input node [} page 109] describes the parameters of the
MQTT input node.
The example for copying
[{"id":"4a22a8ea.115788","type":"mqtt
in","z":"6b03759e.b5eb4c","name":"MySubscribingNode","topic":"Timest
amp1","qos":"1","broker":"55ba4653.6e07b8","x":211,"y":512,"wires":
[["2785278d.2d5bc8"]]},
{"id":"2785278d.2d5bc8","type":"debug","z":"6b03759e.b5eb4c","name":
"","active":true,"console":"false","complete":"false","x":402,"y":51
2,"wires":[]},{"id":"55ba4653.6e07b8","type":"mqtt-
broker","z":"6b03759e.b5eb4c","broker":"localhost","port":"1883","cl
ientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleans
ession":true,"willTopic":"","willQos":"0","willPayload":"","birthTop
ic":"","birthQos":"0","birthPayload":""}]
Testing the flow and displaying messages
Ø Click the tab Debugin the sidebar.
Ø Use a device that is externally connected to the Edge Gateway to
execute a publish with MQTT on topic Timestamp1.
- or -
Copy and use the example MQTT output node (see section Example 3:
MQTT output node [} page 140]).
ð The Debug node displays messages of the MQTT input node as soon
as the topic Timestamp1 changes.
139/294
© Hilscher 2017 – 2019

Advertisement

Table of Contents
loading

Table of Contents