Changes for page Node-RED_Install and Use
Last modified by Mengting Qiu on 2024/11/29 10:15
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -27,27 +27,25 @@ 27 27 28 28 [[image:image-20220526161040-1.png]] 29 29 30 +**Verify if the installation was successful** 30 30 31 - (% style="color:blue"%)**Verifyiftheinstallationwas successful**32 +Type in the command line interface node-red 32 32 33 -Type in the command line interface ** (% style="color:red" %)node-red(%%)**(% style="color:red" %) 34 - 35 35 The following information appears to prove that the installation has been successful 36 36 37 37 [[image:image-20220526161103-2.png]] 38 38 39 39 40 - 41 41 === 1.1.2 If you want to start Node-RED as a background process === 42 42 43 43 44 -Type in the command line interface (% style="color:red" %)**nohup node-red &**42 +Type in the command line interface nohup node-red & 45 45 46 46 It will prompt after startup 47 47 48 48 [[image:image-20220519104601-5.png]] 49 49 50 -After seeing the above information, press **enter**48 +After seeing the above information, press enter 51 51 52 52 Type in the command line exit 53 53 ... ... @@ -78,12 +78,10 @@ 78 78 79 79 Take NBSN95 mod1 UDP protocol as an example 80 80 81 -After logging into the interface click **(% style="color:red" %)"+"(%%)**to create a flow79 +After logging into the interface click '+' to create a flow 82 82 83 83 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519133634-1.png?rev=1.1||alt="image-20220519133634-1.png" height="231" width="972"]] 84 84 85 - 86 - 87 87 Rename the stream 88 88 89 89 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519134042-2.png?rev=1.1||alt="image-20220519134042-2.png" height="552" width="565"]] ... ... @@ -94,46 +94,33 @@ 94 94 95 95 Drag UDP into the editing area 96 96 97 - 98 - 99 99 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519134533-5.png?rev=1.1||alt="image-20220519134533-5.png"]] 100 100 101 - 102 102 The same method as above, drag and drop functions and debug into the editing area 103 103 104 104 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519134850-6.png?rev=1.1||alt="image-20220519134850-6.png"]] 105 105 106 - 107 - 108 108 configure UDP in 109 109 110 110 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519135402-7.png?rev=1.1||alt="image-20220519135402-7.png"]] 111 111 112 - 113 113 Write to the UDP port that the device node sends to the server 114 114 115 115 Example My UDP device node sends to server port 8585 116 116 just write 8585 117 117 108 +Note that the port that is already in use cannot be used. If the receiving fails, you need to check whether the port of the server is occupied. The sending port of the device node should not use the default port used by the server, such as a common port such as 8080. 118 118 119 -(% style="color:red" %)**Note: that the port that is already in use cannot be used. If the receiving fails, you need to check whether the port of the server is occupied. The sending port of the device node should not use the default port used by the server, such as a common port such as 8080.** 120 - 121 - 122 122 In order to avoid data confusion, different types of nodes do not use the same UDP port, because different nodes have different data formats and different functions. 123 123 124 124 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519135915-8.png?rev=1.1||alt="image-20220519135915-8.png"]] 125 125 126 - 127 127 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519144651-14.png?rev=1.1||alt="image-20220519144651-14.png"]] 128 128 129 - 130 130 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519141355-11.png?rev=1.1||alt="image-20220519141355-11.png"]] 131 131 132 - 133 133 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519141704-12.png?rev=1.1||alt="image-20220519141704-12.png"]] 134 134 135 - 136 - 137 137 When the node successfully sends data, the effect shown in the following figure will appear 138 138 139 139 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519150455-15.png?rev=1.1||alt="image-20220519150455-15.png"]]