Changes for page Notes for TTN
Last modified by Xiaoling on 2025/08/04 14:58
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 18 removed)
- image-20220914101543-1.png
- image-20220914103142-2.png
- image-20220914103303-3.png
- image-20220914140841-4.png
- image-20220914140918-5.png
- image-20220914141502-6.png
- image-20220914142021-7.png
- image-20221018100743-1.png
- image-20221018100947-2.png
- image-20221018101102-3.png
- image-20230221135445-1.png
- image-20230221135520-2.png
- image-20230221135810-3.png
- image-20230221140131-4.png
- image-20230221140327-5.png
- image-20230221140448-6.png
- image-20230221164647-1.png
- image-20230221164809-2.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.Xiao ye1 +XWiki.Xiaoling - Content
-
... ... @@ -48,8 +48,6 @@ 48 48 = 2. Gateway Registration for Semtech UDP = 49 49 50 50 51 -(% style="color:red" %)**Note: Steps 2 and 3 are different connection methods, the user only needs to choose one of them** 52 - 53 53 == 2.1 Primary LoRaWAN Server == 54 54 55 55 ... ... @@ -158,10 +158,8 @@ 158 158 159 159 ((( 160 160 ((( 161 -The LoRa Basics™ Station protocol simplifies themanagement of large-scale LoRaWAN networks. LoRa Basics™ Station is the preferred way of connecting Gateways to The Things Stack. [[The LoRa Basics Station doc>>url:https://www.thethingsindustries.com/docs/gateways/lora-basics-station/]]159 +The LoRa Basics™ Station protocol simplifies management of large scale LoRaWAN networks. LoRa Basics™ Station is the preferred way of connecting Gateways to The Things Stack. [[The LoRa Basics Station doc>>url:https://www.thethingsindustries.com/docs/gateways/lora-basics-station/]] 162 162 163 -(% style="color:red" %)**Note: Steps 2 and 3 are different connection methods, the user only needs to choose one of them** 164 - 165 165 166 166 ))) 167 167 ))) ... ... @@ -241,7 +241,7 @@ 241 241 Create LNS API key 242 242 243 243 244 -(% style="color:red" %)**Note: Please copy the API key.** 240 +(% style="color:red" %)**Note : Please copy the API key.** 245 245 246 246 247 247 ... ... @@ -357,7 +357,7 @@ 357 357 ))) 358 358 ))) 359 359 360 -== 4.1 Step 356 +== 4.1 Step1 == 361 361 362 362 363 363 ((( ... ... @@ -378,23 +378,14 @@ 378 378 ))) 379 379 ))) 380 380 381 -[[image:image-202 30221135445-1.png||height="356" width="777"]]377 +[[image:image-20220526140015-17.png]] 382 382 383 -First create an application and fill in the custom information in it 384 384 385 -[[image:image-20230221135520-2.png||height="52" width="974"]] 386 - 387 -[[image:image-20230221135810-3.png||height="400" width="638"]] 388 - 389 - 390 -Add a node device to the application 391 - 392 - 393 393 [[image:image-20220526140044-18.png]] 394 394 395 395 396 396 397 -== 4.2 Step 384 +== 4.2 Step2 == 398 398 399 399 400 400 ((( ... ... @@ -401,30 +401,31 @@ 401 401 ((( 402 402 There are all our nodes in the repository. Users can choose the corresponding brand, model, firmware version and frequency.The decoder and configuration information of the node are pre-configured.Users do not need to configure them. 403 403 404 - [[image:image-20230221164809-2.png||height="525"width="617"]]391 + 405 405 ))) 406 406 ))) 407 407 395 +[[image:image-20220526140132-19.png]] 408 408 409 409 410 410 411 -== 4.3 Step 399 +== 4.3 Step3 == 412 412 413 413 414 414 Add APP EUI in the application: 415 415 416 416 417 -[[image:image-202 30221140131-4.png||height="569" width="674"]]405 +[[image:image-20220526140205-20.png]] 418 418 419 419 420 420 421 -== 4.4 Step 409 +== 4.4 Step4 == 422 422 423 423 424 424 **Add APP KEY and DEV EUI:** 425 425 426 426 427 -[[image:image-202 30221140448-6.png||height="535" width="647"]]415 +[[image:image-20220526140251-21.png]] 428 428 429 429 430 430 ... ... @@ -628,7 +628,6 @@ 628 628 downlink 629 629 630 630 631 - 632 632 = 6. Route TTN data to Node-Red = 633 633 634 634 ... ... @@ -635,10 +635,9 @@ 635 635 Users can create an MQTT integration by following the steps described in "[[5.TTN V3 Integrated into MQTT Server>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20TTN/#H5.A0TTNV3integratedintoMQTTserver]]" 636 636 637 637 625 +== 6.1 Edit mqtt-broker node == 638 638 639 -== 6.1 Edit mqtt-broker node == 640 640 641 - 642 642 Users need to configure the TTN MQTT server address and port, Such as: 643 643 644 644 (% class="box infomessage" %) ... ... @@ -656,19 +656,17 @@ 656 656 [[image:image-20220829164358-188.png||height="570" width="1130"]] 657 657 658 658 645 +== 6.2 Debug == 659 659 660 -== 6.2 Debug == 661 661 662 - 663 663 Users can check logs by adding debug. 664 664 665 665 [[image:image-20220829164652-189.png||height="572" width="1134"]] 666 666 667 667 653 +== 6.3 Example: Use Local Server TTN and Node-Red in LPS8v2 == 668 668 669 -== 6.3 Example: Use Local Server TTN and Node-Red in LPS8v2 == 670 670 671 - 672 672 LPS8v2 includes a local TTN Server and Node-Red. This example shows how to configure LHT65N to use with the local Node-Red server. This example assumes users already have: 673 673 674 674 * LHT65N register on LPS8v2 Built-In TTN server already ... ... @@ -677,67 +677,25 @@ 677 677 Below are the steps to plot the sensor data on LPS8v2 Node-Red. 678 678 679 679 664 +=== 6.3.1 Link Node-Red to Local TTN === 680 680 681 -=== 6.3.1 Link Node-Red to Local TTN === 682 682 667 +Users can download the Node-Red decoder from this link and import it into the Node-Red platform: [[dragino-end-node-decoder/LHT65N.json at main · dragino/dragino-end-node-decoder (github.com)>>url:https://github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/LHT65N.json]] 683 683 684 -Users can download the Node-Red decoder from this link and import it into the Node-Red platform: **[[dragino-end-node-decoder/LHT65N.json (github.com)>>url:https://github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/LHT65N.json]]** 685 685 686 - For more information on importing Input Flow, check out this link: **[[Import Input Flow for Dragino Sensors>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0ImportInputFlowforDraginoSensors||style="background-color: rgb(255,255, 255);"]]**670 +[[image:image-20220913134247-1.png||height="445" width="425"]] 687 687 672 +[[image:image-20220913153442-2.png||height="555" width="926"]] 688 688 689 -After importing the Input Flow is complete, the user needs to edit the MQTT in the node 690 690 691 691 692 - (%style="color:blue"%)**1. Changethe Topic**676 +6.3.2 Add input flow for device. 693 693 678 +6.3.3 Check result. 694 694 695 -Topic modifies it to the following format: 696 696 697 -**v3/(% style="color:red" %)Application ID(%%)/devices/(% style="color:red" %)End device ID(%%)/up** 698 698 699 -[[image:image-20221018100743-1.png]] 700 700 701 - 702 - 703 -(% style="color:blue" %)**2. Enter the MQTT configuration information** 704 - 705 - 706 -[[image:image-20221018100947-2.png]] 707 - 708 - 709 - 710 -[[image:image-20221018101102-3.png]] 711 - 712 -(% class="wikigeneratedid" %) 713 -(% style="color:blue" %)**Finally, click "Update" and Deploy** 714 - 715 - 716 -(% class="wikigeneratedid" %) 717 -"Connected" indicates that the Link Node-red to Local TTN is normal. 718 - 719 -(% class="wikigeneratedid" %) 720 -[[image:image-20220914140918-5.png||height="602" width="1121"]] 721 - 722 - 723 - 724 -=== 6.3.2 Check result. === 725 - 726 - 727 -Users can check logs by adding debug. 728 - 729 -[[image:image-20220914140841-4.png||height="600" width="1119"]] 730 - 731 - 732 - 733 -In addition,Users can access the lps8v2 gateway's built-in as server of **Node-Red Chart UI **via the URL((% style="background-color:yellow" %)__**//http:~/~/<hostname>:1880/ui or http:~/~/<local-IPV4-address>:1880/ui//**__(%%)) in your browser. 734 - 735 - 736 - 737 -[[image:image-20220914142021-7.png||height="517" width="1346"]] 738 - 739 - 740 - 741 741 = 7. Request Remote Support = 742 742 743 743
- image-20220914101543-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -148.7 KB - Content
- image-20220914103142-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -174.7 KB - Content
- image-20220914103303-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -159.0 KB - Content
- image-20220914140841-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -283.8 KB - Content
- image-20220914140918-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -284.6 KB - Content
- image-20220914141502-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -87.7 KB - Content
- image-20220914142021-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -81.3 KB - Content
- image-20221018100743-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -98.5 KB - Content
- image-20221018100947-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -130.6 KB - Content
- image-20221018101102-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -90.5 KB - Content
- image-20230221135445-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.6 KB - Content
- image-20230221135520-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.4 KB - Content
- image-20230221135810-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -33.2 KB - Content
- image-20230221140131-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -58.0 KB - Content
- image-20230221140327-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -42.7 KB - Content
- image-20230221140448-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -42.9 KB - Content
- image-20230221164647-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.6 KB - Content
- image-20230221164809-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.9 KB - Content