Building Arduino Projects for the Internet of Things

(Steven Felgate) #1
CHAPTER 4 ■ COMPLEX FLOWS: NODE-RED

On the right side of the designer, as shown in Figure  4-7 , are the Info and Debug
tabs. The Info tab displays documentation about the currently selected node in the Node
palette or Flow tab. The Debug tab displays log messages and errors generated from the
flow during execution.
Finally, the Deploy button on the top-right of the designer, as shown in Figure  4-7 ,
lets you deploy and activate your flow changes to the server.
Now let’s start creating the flow. If this is your first flow in Node-RED, you can use
Flow 1 to create your flow. If you have already created some flows and want to create a
new one, click on the plus ( +) button on top-right side to add a new flow. Double-click
the flow tab name to open the properties dialog box shown in Figure  4-10. Call the new
flow Light Sensor Tweet Flow and then click OK to save your changes.


Figure 4-9. Output nodes in the default installation of Node-RED

Free download pdf