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. Edwin1 +XWiki.Lu - Content
-
... ... @@ -57,20 +57,12 @@ 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 60 60 61 -The below models from Dragino already have Node-Red installed by default. Users no need to install it by themselves. 62 62 63 - *[[LPS8v2Indoor LoRaWAN Gateway.>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]]63 += 2. Use Node-RED = 64 64 65 -Other gateway model doesn't support built-in Node-Red server. 66 66 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 - 74 74 == 2.1 Login to Node-RED interface == 75 75 76 76 ... ... @@ -97,10 +97,8 @@ 97 97 98 98 [[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"]] 99 99 100 - 101 101 [[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"]] 102 102 103 - 104 104 [[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"]] 105 105 106 106 Drag UDP into the editing area ... ... @@ -267,7 +267,6 @@ 267 267 268 268 [[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"]] 269 269 270 - 271 271 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. 272 272 273 273 ... ... @@ -281,7 +281,6 @@ 281 281 282 282 === 2.4.1 1. Generate txt document directly === 283 283 284 - 285 285 Sample JSON file:链接转到示例JSON文件 286 286 287 287 [[image:image-20220713102658-1.png||height="346" width="728"]] ... ... @@ -308,21 +308,16 @@ 308 308 ==== (% style="color:blue" %)**3. Import sample flow**(%%) ==== 309 309 310 310 311 -Refer to the import example below to import the sqlite example flow 312 312 313 - DownloadsampleJSON filelink: 链接300 += 3. Input Flow = 314 314 315 315 303 +Directly import JSON files to generate flow 316 316 317 - = 3. Import Input FlowforDraginoSensors=305 +Download the required JSON file through this link: 提供一个链接 318 318 307 +Take LHT65 as an example (this node is already registered with TTN,MQTT protocol to connect) 319 319 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 - 326 326 [[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"]] 327 327 328 328 [[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"]] ... ... @@ -337,8 +337,6 @@ 337 337 338 338 [[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"]] 339 339 340 - 341 - 342 342 Configure information consistent with your TTN 343 343 344 344 [[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"]] ... ... @@ -345,13 +345,10 @@ 345 345 346 346 [[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"]] 347 347 348 - 349 - 350 350 API keys generated by the password for you 351 351 352 352 [[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"]] 353 353 354 - 355 355 Topic modify it to the following format 356 356 357 357 v3/(% style="color:red" %)Application ID(%%)@ttn/devices/(% style="color:red" %)End device ID(%%)/up