Building Arduino Projects for the Internet of Things

(Steven Felgate) #1
CHAPTER 10 ■ IOT PATTERNS: MACHINE TO HUMAN

This completes configuration of your process.

Node-RED Flow


The final component of your IoT application is a Node-RED flow that will subscribe to
an MQTT topic that Arduino is publishing messages to and then kick off the process in
Effektif.
Start the Node-RED server and designer, as explained in Chapter 4. As shown in
Figure  10-23 , click on the + to create a new flow.

Figure 10-22. Process versions

Figure 10-23. Create a new Node-RED flow


Double-click the flow tab name to open the properties dialog box. As shown in
Figure  10-24 , rename the flow Waste Management System and click OK to save your
changes.
Free download pdf