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,17 +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 -Dragino Gateway is already installed, no need for users to install it by themselves. 62 62 63 += 2. Use Node-RED = 63 63 64 64 65 -= 2. General Use of Node-RED = 66 - 67 - 68 -This section describes some basic features of Node-RED. For more info please check the [[Node-RED official document>>https://nodered.org/]]. 69 - 70 - 71 71 == 2.1 Login to Node-RED interface == 72 72 73 73 ... ... @@ -94,10 +94,8 @@ 94 94 95 95 [[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"]] 96 96 97 - 98 98 [[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"]] 99 99 100 - 101 101 [[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"]] 102 102 103 103 Drag UDP into the editing area ... ... @@ -264,7 +264,6 @@ 264 264 265 265 [[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"]] 266 266 267 - 268 268 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. 269 269 270 270 ... ... @@ -278,7 +278,6 @@ 278 278 279 279 === 2.4.1 1. Generate txt document directly === 280 280 281 - 282 282 Sample JSON file:链接转到示例JSON文件 283 283 284 284 [[image:image-20220713102658-1.png||height="346" width="728"]] ... ... @@ -305,21 +305,16 @@ 305 305 ==== (% style="color:blue" %)**3. Import sample flow**(%%) ==== 306 306 307 307 308 -Refer to the import example below to import the sqlite example flow 309 309 310 - DownloadsampleJSON filelink: 链接300 += 3. Input Flow = 311 311 312 312 303 +Directly import JSON files to generate flow 313 313 314 - = 3. Import Input FlowforDraginoSensors=305 +Download the required JSON file through this link: 提供一个链接 315 315 307 +Take LHT65 as an example (this node is already registered with TTN,MQTT protocol to connect) 316 316 317 -Dragino provides input flow examples for the sensors. 318 - 319 -User can download the required JSON file through [[Dragino Node-RED input flow template>>https://github.com/dragino/dragino-end-node-decoder]]. 320 - 321 -Take LHT65 as an example (Assume this node is already registered with TTN, MQTT protocol to connect) 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-20220524175748-3.png?rev=1.1||alt="image-20220524175748-3.png"]] 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-20220524175814-4.png?rev=1.1||alt="image-20220524175814-4.png"]] ... ... @@ -334,8 +334,6 @@ 334 334 335 335 [[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"]] 336 336 337 - 338 - 339 339 Configure information consistent with your TTN 340 340 341 341 [[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"]] ... ... @@ -342,13 +342,10 @@ 342 342 343 343 [[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"]] 344 344 345 - 346 - 347 347 API keys generated by the password for you 348 348 349 349 [[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"]] 350 350 351 - 352 352 Topic modify it to the following format 353 353 354 354 v3/(% style="color:red" %)Application ID(%%)@ttn/devices/(% style="color:red" %)End device ID(%%)/up