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
-
... ... @@ -12,10 +12,8 @@ 12 12 Check installation instruction for different OS from this link: [[https:~~/~~/nodered.org/docs/getting-started/>>https://nodered.org/docs/getting-started/]] 13 13 14 14 15 - 16 16 == 1.1 Install Example for CENTOS == 17 17 18 - 19 19 === 1.1.1 Installation === 20 20 21 21 ... ... @@ -37,7 +37,6 @@ 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 ... ... @@ -47,24 +47,29 @@ 47 47 48 48 [[image:image-20220519104601-5.png]] 49 49 50 -After seeing the above information, press **enter** 47 +After seeing the above information, press **enter.** 51 51 52 -Type in the command line exit 49 +Type in the command line exit. 53 53 54 -The above is the installation and startup process of nodered. If you don't understand anything, you can go to the nodered official website. There are installation instructions for various systems. The address has a link at the top 51 +The above is the installation and startup process of nodered. If you don't understand anything, you can go to the nodered official website. There are installation instructions for various systems. The address has a link at the top. 55 55 56 56 57 - 58 58 == 1.2 Install in Dragino Gataway == 59 59 60 60 61 -Dragino Gatewayisalreadyinstalled,noneedorusers to install it by themselves57 +The below models from Dragino already have Node-Red installed by default. Users no need to install it by themselves. 62 62 59 +* [[LPS8v2 Indoor LoRaWAN Gateway. >>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] 63 63 61 +Other gateway model doesn't support built-in Node-Red server. 64 64 65 -= 2. Use Node-RED = 66 66 64 += 2. General Use of Node-RED = 67 67 66 + 67 +This section describes some basic features of Node-RED. For more info please check the [[Node-RED official document>>https://nodered.org/]]. 68 + 69 + 68 68 == 2.1 Login to Node-RED interface == 69 69 70 70 ... ... @@ -75,7 +75,6 @@ 75 75 [[image:image-20220519104115-4.png||height="280" width="768"]] 76 76 77 77 78 - 79 79 == 2.2 Add flow == 80 80 81 81 ... ... @@ -144,7 +144,6 @@ 144 144 [[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" height="403" width="799"]] 145 145 146 146 147 - 148 148 === 2.2.1 About function === 149 149 150 150 ... ... @@ -155,7 +155,6 @@ 155 155 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519141833-13.png?rev=1.1||alt="image-20220519141833-13.png" height="478" width="789"]] 156 156 157 157 158 - 159 159 == 2.3 Plot Chart for sensors == 160 160 161 161 ... ... @@ -166,12 +166,14 @@ 166 166 167 167 168 168 169 -(% style="color:blue" %)**1. Click Install 170 -2. Search the dashboard 171 -3. Click Install** 168 +(% style="color:blue" %)**1. Click Install** 172 172 170 +(% style="color:blue" %)**2. Search the dashboard** 173 173 172 +(% style="color:blue" %)**3. Click Install** 174 174 174 + 175 + 175 175 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519152956-17.png?rev=1.1||alt="image-20220519152956-17.png" height="763" width="835"]] 176 176 177 177 ... ... @@ -181,7 +181,6 @@ 181 181 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519153335-19.png?rev=1.1||alt="image-20220519153335-19.png"]] 182 182 183 183 184 - 185 185 === 2.3.1 the line chart as an example === 186 186 187 187 ... ... @@ -209,7 +209,6 @@ 209 209 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519154812-22.png?rev=1.1||alt="image-20220519154812-22.png" height="418" width="755"]] 210 210 211 211 212 - 213 213 === 2.3.2 the chart settings === 214 214 215 215 ... ... @@ -265,7 +265,6 @@ 265 265 At this point, the basic demonstration of nodered is completed. If you need to beautify the chart and various visualizations, you can go to the official documentation of nodered for further understanding. 266 266 267 267 268 - 269 269 == 2.4 Store Value == 270 270 271 271 ... ... @@ -272,16 +272,14 @@ 272 272 Regarding storage, we recommend two ways. 273 273 274 274 275 - 276 276 === 2.4.1 1. Generate txt document directly === 277 277 278 278 279 -Sample JSON file: 链接转到示例JSON文件276 +Sample JSON file: [[https:~~/~~/www.dropbox.com/sh/mduw85jcuwsua22/AAAvwPhg9z6dLjJhmZjqBf_ma?dl=0>>https://www.dropbox.com/sh/mduw85jcuwsua22/AAAvwPhg9z6dLjJhmZjqBf_ma?dl=0]] 280 280 281 281 [[image:image-20220713102658-1.png||height="346" width="728"]] 282 282 283 283 284 - 285 285 === 2.4.2 2. Use sqlite database === 286 286 287 287 ... ... @@ -304,19 +304,18 @@ 304 304 305 305 Refer to the import example below to import the sqlite example flow 306 306 307 -Download sample JSON file link: 链接303 +Download sample JSON file link: [[https:~~/~~/www.dropbox.com/sh/mduw85jcuwsua22/AAAvwPhg9z6dLjJhmZjqBf_ma?dl=0>>https://www.dropbox.com/sh/mduw85jcuwsua22/AAAvwPhg9z6dLjJhmZjqBf_ma?dl=0]] 308 308 309 309 306 += 3. Import Input Flow for Dragino Sensors = 310 310 311 -= 3. Input Flow = 312 312 309 +Dragino provides input flow examples for the sensors. 313 313 314 - DirectlyimportJSON filesto generateflow311 +User can download the required JSON file through [[Dragino Node-RED input flow template>>https://github.com/dragino/dragino-end-node-decoder]]. 315 315 316 - DownloadtherequiredJSON file throughthislink: 提供一个链接313 +Take LHT65 as an example (Assume this node is already registered with TTN, MQTT protocol to connect) 317 317 318 -Take LHT65 as an example (this node is already registered with TTN,MQTT protocol to connect) 319 - 320 320 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/Directly%20import%20JSON%20files%20to%20generate%20flow/WebHome/image-20220524175748-3.png?rev=1.1||alt="image-20220524175748-3.png"]] 321 321 322 322 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/Directly%20import%20JSON%20files%20to%20generate%20flow/WebHome/image-20220524175814-4.png?rev=1.1||alt="image-20220524175814-4.png"]]