Building Arduino Projects for the Internet of Things

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

■ Note The Node-RED server URL in logs http://127.0.0.1:1880 is the IP of your


local computer and cannot be accessed by Arduino. You will need to replace the local IP


127.0.0.1 with the network IP of your machine. The IP of the Node-RED server used in this


book was 10.0.0.6 , so the URL you will see is http://10.0.0.6:1880.


Enter the Node-RED server URL in a browser to access the designer. The designer
opens up with an empty flow tab called Flow 1. Figure  4-7 shows the default view of the
Node-RED designer.


Figure 4-7. Default view of the Node-RED designer


On the left side of designer, as shown in Figure  4-7 , is a palette with all available
nodes. Nodes are grouped into various categories, such as input, output, function, etc.
Figure  4-8 shows the list of input nodes that comes with default installation of Node-RED,
and Figure  4-9 shows the list of output nodes in the default installation.

Free download pdf