Changes for page Node-RED_Install and Use
Last modified by Mengting Qiu on 2024/11/29 10:15
Change comment:
Uploaded new attachment "image-20241119105123-9.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 15 added, 0 removed)
- image-20240222161937-17.png
- image-20241119095303-1.png
- image-20241119095641-2.png
- image-20241119095835-3.png
- image-20241119095932-4.png
- image-20241119100054-5.png
- image-20241119101328-1.png
- image-20241119101551-2.png
- image-20241119101952-3.png
- image-20241119102218-4.png
- image-20241119102408-5.png
- image-20241119102616-6.png
- image-20241119103312-7.png
- image-20241119104939-8.png
- image-20241119105123-9.png
Details
- Page properties
-
- Content
-
... ... @@ -84,34 +84,27 @@ 84 84 85 85 After logging into the interface click** (% style="color:red" %)"+" (%%)**to create a flow 86 86 87 -[[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="183" width="770"]]87 +[[image:image-20241119101328-1.png||height="450" width="949"]] 88 88 89 - 90 - 91 91 Rename the stream 92 92 93 -[[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="535" width="548"]] 94 94 95 95 96 -[[image: http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519134318-3.png?rev=1.1||alt="image-20220519134318-3.png"height="461" width="753"]]93 +[[image:image-20241119101551-2.png||height="455" width="958"]] 97 97 98 98 99 -[[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519134346-4.png?rev=1.1||alt="image-20220519134346-4.png"]] 100 - 101 101 Drag UDP into the editing area 102 102 98 +[[image:image-20241119101952-3.png||height="455" width="959"]] 103 103 104 -[[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"]] 105 105 106 - 107 107 The same method as above, drag and drop functions and debug into the editing area 108 108 109 -[[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"height="442" width="776"]]103 +[[image:image-20241119102218-4.png||height="456" width="961"]] 110 110 111 - 112 112 configure UDP in 113 113 114 -[[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"height="332" width="767"]]107 +[[image:image-20241119103312-7.png||height="458" width="965"]] 115 115 116 116 117 117 Write to the UDP port that the device node sends to the server ... ... @@ -183,21 +183,16 @@ 183 183 184 184 The demo uses 3 kinds. Voltage, temperature, humidity 185 185 186 - 187 187 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519154521-20.png?rev=1.1||alt="image-20220519154521-20.png" height="242" width="743"]] 188 188 189 189 190 - 191 191 double click function 192 192 193 - 194 194 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519154640-21.png?rev=1.1||alt="image-20220519154640-21.png" height="549" width="749"]] 195 195 196 196 197 - 198 198 Adjusted to 3, because we need to display 3 charts 199 199 200 - 201 201 [[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"]] 202 202 203 203 ... ... @@ -225,10 +225,8 @@ 225 225 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519161650-32.png?rev=1.1||alt="image-20220519161650-32.png" height="722" width="726"]] 226 226 227 227 228 - 229 229 After the display interface is defined for the first time, subsequent charts can directly select the display interface 230 230 231 - 232 232 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519162039-34.png?rev=1.1||alt="image-20220519162039-34.png" height="644" width="724"]] 233 233 234 234 ... ... @@ -236,12 +236,10 @@ 236 236 [[image:image-20220525190106-3.png||height="575" width="724"]] 237 237 238 238 239 - 240 240 Connect graph nodes to functions with lines 241 241 242 242 Click to deploy 243 243 244 - 245 245 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519162412-36.png?rev=1.1||alt="image-20220519162412-36.png" height="256" width="726"]] 246 246 247 247 Enter the server public IP + port 1880/ui ... ... @@ -249,7 +249,6 @@ 249 249 example:[[http:~~/~~/xxx.xx.xx.xx:1880/ui>>url:http://119.91.62.30:1880/ui/#!/18?socketid=WY1MCE0RFEKHey8KAADj]] 250 250 251 251 252 - 253 253 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519163141-37.png?rev=1.1||alt="image-20220519163141-37.png" height="203" width="735"]] 254 254 255 255 ... ... @@ -419,4 +419,76 @@ 419 419 420 420 == 5.1 How to use Node-Red to schedule downlink to ChirpStack LoRaWAN Server? == 421 421 422 - 405 +=== 5.1.1 Install node-red-node-base64 === 406 + 407 + 408 +[[image:image-20240222154204-1.png||height="456" width="983"]] 409 + 410 +[[image:image-20240222154819-3.png||height="469" width="990"]] 411 + 412 + 413 +=== 5.1.2 Import Example Flow === 414 + 415 + 416 +The Json file for the example flow can be downloaded at this link:[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/chirpstack-MQTT-down.json.>>https://github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/chirpstack-MQTT-down.json]] 417 + 418 +[[image:image-20240222155121-4.png||height="495" width="1017"]] 419 + 420 +[[image:image-20240222155239-5.png||height="497" width="1020"]] 421 + 422 + 423 +=== 5.1.3 Establish connection === 424 + 425 + 426 +Setting up the server: 427 + 428 +[[image:image-20240222160019-7.png||height="413" width="955"]] 429 + 430 +[[image:image-20240222160223-8.png||height="416" width="956"]] 431 + 432 +[[image:image-20240222160347-9.png||height="426" width="963"]] 433 + 434 +Change the theme to Application lD and DevEUl for ChirpStack: 435 + 436 +[[image:image-20240222160712-10.png||height="429" width="988"]] 437 + 438 +[[image:image-20240222160735-11.png||height="417" width="984"]] 439 + 440 +[[image:image-20240222160842-12.png||height="387" width="992"]] 441 + 442 +And then, 443 + 444 +[[image:image-20240222161010-13.png||height="454" width="997"]] 445 + 446 +[[image:image-20240222161147-14.png||height="478" width="1002"]] 447 + 448 +Connection established successfully: 449 + 450 +[[image:image-20240222161252-15.png||height="412" width="1001"]] 451 + 452 + 453 +=== 5.1.4 Input downlink command === 454 + 455 + 456 +[[image:image-20240222161614-16.png||height="465" width="997"]] 457 + 458 +[[image:image-20240222161937-17.png||height="472" width="997"]] 459 + 460 + 461 +Example action video:[[https:~~/~~/youtu.be/Lqm-k5nQ5eU>>https://youtu.be/Lqm-k5nQ5eU]] 462 + 463 + 464 +== 5.2 How to use Node-Red to schedule downlink to TTN-V3 LoRaWAN Server? == 465 + 466 +=== 5.2.1 Reference 5.1.1 Installing base64 nodes === 467 + 468 +=== 5.2.2 Import Example Flow === 469 + 470 + 471 +Reference 5.1.2 472 + 473 +Taking LT-222222-L as an example 474 + 475 +The Json file for the example flow can be downloaded at this link:[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/TTN-V3-MQTT-down.json>>https://github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/TTN-V3-MQTT-down.json]] 476 + 477 +Please refer to this video for specific operation steps: [[https:~~/~~/youtu.be/kms679e4m_Y>>https://youtu.be/kms679e4m_Y]]
- image-20240222161937-17.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +188.1 KB - Content
- image-20241119095303-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +98.7 KB - Content
- image-20241119095641-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +112.0 KB - Content
- image-20241119095835-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +143.2 KB - Content
- image-20241119095932-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +97.3 KB - Content
- image-20241119100054-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +90.3 KB - Content
- image-20241119101328-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +98.0 KB - Content
- image-20241119101551-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +118.6 KB - Content
- image-20241119101952-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +108.9 KB - Content
- image-20241119102218-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +115.0 KB - Content
- image-20241119102408-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +118.1 KB - Content
- image-20241119102616-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +125.7 KB - Content
- image-20241119103312-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +137.3 KB - Content
- image-20241119104939-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +123.0 KB - Content
- image-20241119105123-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +113.5 KB - Content