Changes for page Node-RED_Install and Use
Last modified by Mengting Qiu on 2024/11/29 10:15
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Lu1 +XWiki.Xiaoling - Content
-
... ... @@ -3,13 +3,13 @@ 3 3 4 4 {{toc/}} 5 5 6 -= Installation = 6 += 1. Installation = 7 7 8 8 Check installation instruction for different OS from this link: [[https:~~/~~/nodered.org/docs/getting-started/>>https://nodered.org/docs/getting-started/]] 9 9 10 -== Install Example for CENTOS == 10 +== 1.1 Install Example for CENTOS == 11 11 12 -=== Installation === 12 +=== 1.1.1 Installation === 13 13 14 14 (% class="box infomessage" %) 15 15 ((( ... ... @@ -17,7 +17,7 @@ 17 17 Run below commands and wait for installation complete. 18 18 ))) 19 19 20 -[[image:image-2022051 9102228-2.png]]20 +[[image:image-20220526161040-1.png]] 21 21 22 22 **Verify if the installation was successful** 23 23 ... ... @@ -25,10 +25,10 @@ 25 25 26 26 The following information appears to prove that the installation has been successful 27 27 28 -[[image:image-2022051 9103318-3.png]]28 +[[image:image-20220526161103-2.png]] 29 29 30 30 31 -=== If you want to start Node-RED as a background process === 31 +=== 1.1.2 If you want to start Node-RED as a background process === 32 32 33 33 Type in the command line interface nohup node-red & 34 34 ... ... @@ -195,6 +195,8 @@ 195 195 196 196 Download the required JSON file through this link: 提供一个链接 197 197 198 +Take LHT65 as an example (this node is already registered with TTN,MQTT protocol to connect) 199 + 198 198 [[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"]] 199 199 200 200 [[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"]] ... ... @@ -203,6 +203,30 @@ 203 203 204 204 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/Directly%20import%20JSON%20files%20to%20generate%20flow/WebHome/image-20220524175935-6.png?rev=1.1||alt="image-20220524175935-6.png"]] 205 205 208 +After the import is successful, change the MQTT in node to your TTN information 209 + 210 +[[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/Directly%20import%20JSON%20files%20to%20generate%20flow/WebHome/image-20220524184449-1.png?rev=1.1||alt="image-20220524184449-1.png"]] 211 + 212 +[[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"]] 213 + 214 +Configure information consistent with your TTN 215 + 216 +[[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"]] 217 + 218 +[[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"]] 219 + 220 +API keys generated by the password for you 221 + 222 +[[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"]] 223 + 224 +Topic modify it to the following format 225 + 226 +v3/(% style="color:red" %)Application ID(%%)@ttn/devices/(% style="color:red" %)End device ID(%%)/up 227 + 228 +[[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/Directly%20import%20JSON%20files%20to%20generate%20flow/WebHome/image-20220524193258-6.png?rev=1.1||alt="image-20220524193258-6.png"]] 229 + 230 +After the modification is completed, click Deploy 231 + 206 206 == MQTT == 207 207 208 208 == UDP ==
- image-20220526161040-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +30.1 KB - Content
- image-20220526161103-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +53.1 KB - Content