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"]] ... ... @@ -295,19 +295,22 @@ 295 295 296 296 ==== (% style="color:blue" %)**3. Import sample flow**(%%) ==== 297 297 310 + 298 298 Refer to the import example below to import the sqlite example flow 299 299 300 300 Download sample JSON file link: 链接 301 301 302 -= 3. Input Flow = 303 303 304 304 305 - DirectlyimportJSONfilesto generateflow317 += 3. Import Input Flow for Dragino Sensors = 306 306 307 -Download the required JSON file through this link: 提供一个链接 308 308 309 - TakeLHT65 asan example(thisnode is alreadyregisteredwith TTN,MQTT protocol to connect)320 +Dragino provides input flow examples for the sensors. 310 310 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 + 311 311 [[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"]] 312 312 313 313 [[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"]] ... ... @@ -322,6 +322,8 @@ 322 322 323 323 [[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"]] 324 324 340 + 341 + 325 325 Configure information consistent with your TTN 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-20220524184722-3.png?rev=1.1||alt="image-20220524184722-3.png" height="349" width="758"]] ... ... @@ -328,10 +328,13 @@ 328 328 329 329 [[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"]] 330 330 348 + 349 + 331 331 API keys generated by the password for you 332 332 333 333 [[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"]] 334 334 354 + 335 335 Topic modify it to the following format 336 336 337 337 v3/(% style="color:red" %)Application ID(%%)@ttn/devices/(% style="color:red" %)End device ID(%%)/up