Changes for page Node-RED_Install and Use
Last modified by Mengting Qiu on 2024/11/29 10:15
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Lu1 +XWiki.Edwin - Content
-
... ... @@ -57,12 +57,20 @@ 57 57 58 58 == 1.2 Install in Dragino Gataway == 59 59 60 -Dragino Gateway is already installed, no need for users to install it by themselves 61 61 61 +The below models from Dragino already have Node-Red installed by default. Users no need to install it by themselves. 62 62 63 - =2.UseNode-RED =63 +* [[LPS8v2 Indoor LoRaWAN Gateway. >>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] 64 64 65 +Other gateway model doesn't support built-in Node-Red server. 65 65 67 + 68 += 2. General Use of Node-RED = 69 + 70 + 71 +This section describes some basic features of Node-RED. For more info please check the [[Node-RED official document>>https://nodered.org/]]. 72 + 73 + 66 66 == 2.1 Login to Node-RED interface == 67 67 68 68 ... ... @@ -89,8 +89,10 @@ 89 89 90 90 [[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"]] 91 91 100 + 92 92 [[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 93 103 + 94 94 [[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"]] 95 95 96 96 Drag UDP into the editing area ... ... @@ -257,6 +257,7 @@ 257 257 258 258 [[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"]] 259 259 270 + 260 260 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. 261 261 262 262 ... ... @@ -270,6 +270,7 @@ 270 270 271 271 === 2.4.1 1. Generate txt document directly === 272 272 284 + 273 273 Sample JSON file:链接转到示例JSON文件 274 274 275 275 [[image:image-20220713102658-1.png||height="346" width="728"]] ... ... @@ -296,16 +296,21 @@ 296 296 ==== (% style="color:blue" %)**3. Import sample flow**(%%) ==== 297 297 298 298 311 +Refer to the import example below to import the sqlite example flow 299 299 300 - = 3. InputFlow=313 +Download sample JSON file link: 链接 301 301 302 302 303 -Directly import JSON files to generate flow 304 304 305 - DownloadtherequiredJSON filethrough thislink: 提供一个链接317 += 3. Import Input Flow for Dragino Sensors = 306 306 307 -Take LHT65 as an example (this node is already registered with TTN,MQTT protocol to connect) 308 308 320 +Dragino provides input flow examples for the sensors. 321 + 322 +User can download the required JSON file through [[Dragino Node-RED input flow template>>https://github.com/dragino/dragino-end-node-decoder]]. 323 + 324 +Take LHT65 as an example (Assume this node is already registered with TTN, MQTT protocol to connect) 325 + 309 309 [[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"]] 310 310 311 311 [[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"]] ... ... @@ -320,6 +320,8 @@ 320 320 321 321 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/Directly%20import%20JSON%20files%20to%20generate%20flow/WebHome/image-20220524184521-2.png?rev=1.1||alt="image-20220524184521-2.png" height="648" width="773"]] 322 322 340 + 341 + 323 323 Configure information consistent with your TTN 324 324 325 325 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/Directly%20import%20JSON%20files%20to%20generate%20flow/WebHome/image-20220524184722-3.png?rev=1.1||alt="image-20220524184722-3.png" height="349" width="758"]] ... ... @@ -326,10 +326,13 @@ 326 326 327 327 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/Directly%20import%20JSON%20files%20to%20generate%20flow/WebHome/image-20220524192830-4.png?rev=1.1||alt="image-20220524192830-4.png" height="376" width="758"]] 328 328 348 + 349 + 329 329 API keys generated by the password for you 330 330 331 331 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/Directly%20import%20JSON%20files%20to%20generate%20flow/WebHome/image-20220524193028-5.png?rev=1.1||alt="image-20220524193028-5.png" height="370" width="759"]] 332 332 354 + 333 333 Topic modify it to the following format 334 334 335 335 v3/(% style="color:red" %)Application ID(%%)@ttn/devices/(% style="color:red" %)End device ID(%%)/up