Changes for page Notes for TTN
Last modified by Mengting Qiu on 2024/08/20 17:29
From version 230.1
edited by Kilight Cao
on 2023/11/21 09:27
on 2023/11/21 09:27
Change comment:
There is no comment for this version
To version 219.1
edited by Kilight Cao
on 2023/07/28 15:05
on 2023/07/28 15:05
Change comment:
Uploaded new attachment "image-20230728150521-2.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 8 removed)
Details
- Page properties
-
- Content
-
... ... @@ -49,19 +49,19 @@ 49 49 == 2.1 Primary LoRaWAN Server == 50 50 51 51 52 -[[image:image-20220526134633-2.png|| _mstalt="430196"height="616" width="1323"]]52 +[[image:image-20220526134633-2.png||height="616" width="1323"]] 53 53 54 54 Register Gateway 55 55 56 56 57 -[[image:image-20231121092510-1.png||height="617" width="1157"]] 58 58 58 +[[image:image-20220526134826-4.png]] 59 59 60 60 Put Gateway ID 61 61 62 62 63 -[[image:image-20231121092543-2.png||height="613" width="1159"]] 64 64 64 +[[image:image-20220526134759-3.png]] 65 65 66 66 Choose Frequency Band 67 67 ... ... @@ -82,12 +82,11 @@ 82 82 AS923-4 (917.3-918.7) ~-~-~-~-~-~-~-~-~-~-~-~-~-~-- Asia 917-920 Mhz (AS923 Group 4)with only default channels 83 83 84 84 85 -[[image:image-20220726134642-1.png|| _mstalt="430287"height="344" width="660"]][[image:image-20220726135827-3.png||_mstalt="432978"height="214" width="394"]][[image:image-20220726135759-2.png||_mstalt="433953"height="218" width="554"]]85 +[[image:image-20220726134642-1.png||height="344" width="660"]][[image:image-20220726135827-3.png||height="214" width="394"]][[image:image-20220726135759-2.png||height="218" width="554"]] 86 86 87 -[[image:image-20231121092627-3.png||height="617" width="1174"]] 88 88 89 89 90 -[[image:image-20220526134919-5.png ||_mstalt="433602"]]89 +[[image:image-20220526134919-5.png]] 91 91 92 92 Show Status 93 93 ... ... @@ -124,7 +124,7 @@ 124 124 The users is needing to download and install the helium gateway-rs then click the button of (% style="color:blue" %)**Save&Apply.** 125 125 126 126 127 -[[image:image-20220526135049-6.png ||_mstalt="432432"]]126 +[[image:image-20220526135049-6.png]] 128 128 129 129 Download and Install gateway-rs 130 130 ... ... @@ -135,7 +135,7 @@ 135 135 Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply.** 136 136 137 137 138 -[[image:image-20220526135125-7.png ||_mstalt="431106"]]137 +[[image:image-20220526135125-7.png]] 139 139 140 140 Configuration of helium 141 141 ... ... @@ -196,11 +196,11 @@ 196 196 ((( 197 197 Click the 'Register Gateway' button will get this page to register the gateway from The Thing Network Console gateway page. 198 198 199 -[[image:image-20230728144218-7.png|| _mstalt="433290"height="128" width="836"]]198 +[[image:image-20230728144218-7.png||height="128" width="836"]] 200 200 ))) 201 201 ))) 202 202 203 -[[image:image-20230728143449-2.png ||_mstalt="433108"]]202 +[[image:image-20230728143449-2.png]] 204 204 205 205 Register Gateway 206 206 ... ... @@ -213,33 +213,27 @@ 213 213 214 214 215 215 216 -**or generate by TTN by checking the check box when registering the gateway** ~-~-->[[image:image-20230728143505-3.png ||_mstalt="431132"]]215 +**or generate by TTN by checking the check box when registering the gateway** ~-~-->[[image:image-20230728143505-3.png]] 217 217 218 218 219 219 === **1.) Generated by TTH** === 220 220 220 +=== === 221 221 222 - Usersneedtodownload these two key files and fill them into the gateway's TTN Basics Station configuration,222 +=== === 223 223 224 -[[image:image-20230728150521-2.png||height="664" width="1019"]] 225 - 226 - 227 -(% style="color:red" %)**Note:**(%%) The "**Authorization: Bearer** " field should not be entered in the TTN Basics Station configuration of the gateway 228 - 229 -[[image:image-20230728151807-3.png||height="599" width="1450"]] 230 - 231 231 === **2.) Manually create API KEY: ** === 232 232 233 233 234 234 ==== CUPS API KEY ==== 235 235 236 -[[image:image-20220526135349-9.png ||_mstalt="434460"]]229 +[[image:image-20220526135349-9.png]] 237 237 238 238 239 239 240 240 ==== LNS API KEY ==== 241 241 242 -[[image:image-20220526135428-10.png ||_mstalt="453791"]]235 +[[image:image-20220526135428-10.png]] 243 243 244 244 245 245 (% style="color:red" %)**Note: If your API is generated by yourself you have to update the key to the gateway setting.** ... ... @@ -251,7 +251,7 @@ 251 251 In the LoRa Basics Station LNS Authentication Key field, paste the API key you generated in the previous step. 252 252 253 253 254 -[[image:image-20220526135528-11.png ||_mstalt="454480"]]247 +[[image:image-20220526135528-11.png]] 255 255 256 256 paste the API key 257 257 ... ... @@ -262,7 +262,7 @@ 262 262 User need to update the API key and install the Certificate 263 263 264 264 265 -[[image:image-20220526135601-12.png ||_mstalt="452153"]]258 +[[image:image-20220526135601-12.png]] 266 266 267 267 Access the gateway GUI 268 268 ... ... @@ -277,13 +277,13 @@ 277 277 278 278 (% class="box" %) 279 279 ((( 280 - CUPS Server URI ~-~-> Server Ad dress, Example: https:~/~/eu1.cloud.thethings.network:443273 + CUPS Server URI ~-~-> Server Adress 281 281 CUPS Authorization Key ~-~-> Server CUPS API Key 282 282 LNS Authorization Key ~-~-> Server LNS API Key 283 283 CUPS certificate ~-~-> Server CA(user can use the button to install the certificate by default) 284 284 ))) 285 285 286 -[[image:image-20220526135654-13.png ||_mstalt="455169"]]279 +[[image:image-20220526135654-13.png]] 287 287 288 288 Congfigure Station 289 289 ... ... @@ -303,7 +303,7 @@ 303 303 If user completes the above steps,which will see live date in the TTN. 304 304 305 305 306 -[[image:image-20220526135734-14.png ||_mstalt="455208"]]299 +[[image:image-20220526135734-14.png]] 307 307 308 308 Station live date 309 309 ... ... @@ -314,7 +314,7 @@ 314 314 User can check the station log in the** (% style="color:blue" %)LogRead ~-~-> System Log (%%)**page. 315 315 316 316 317 -[[image:image-20220526135845-15.png ||_mstalt="456560"]]310 +[[image:image-20220526135845-15.png]] 318 318 319 319 Station Log 320 320 ... ... @@ -322,7 +322,7 @@ 322 322 323 323 and recode the station log in the** (% style="color:blue" %)LogRead ~-~-> Recode Log(%%)** page. 324 324 325 -[[image:image-20220526135940-16.png ||_mstalt="455559"]]318 +[[image:image-20220526135940-16.png]] 326 326 327 327 Recore Log 328 328 ... ... @@ -371,19 +371,19 @@ 371 371 ))) 372 372 ))) 373 373 374 -[[image:image-20230221135445-1.png|| _mstalt="428714"height="356" width="777"]]367 +[[image:image-20230221135445-1.png||height="356" width="777"]] 375 375 376 376 First create an application and fill in the custom information in it 377 377 378 -[[image:image-20230221135520-2.png|| _mstalt="427050"height="52" width="974"]]371 +[[image:image-20230221135520-2.png||height="52" width="974"]] 379 379 380 -[[image:image-20230221135810-3.png|| _mstalt="428025"height="400" width="638"]]373 +[[image:image-20230221135810-3.png||height="400" width="638"]] 381 381 382 382 383 383 Add a node device to the application 384 384 385 385 386 -[[image:image-20220526140044-18.png ||_mstalt="453648"]]379 +[[image:image-20220526140044-18.png]] 387 387 388 388 389 389 == 4.2 Step 2 == ... ... @@ -393,7 +393,7 @@ 393 393 ((( 394 394 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. 395 395 396 -[[image:image-20230221164809-2.png|| _mstalt="430937"height="525" width="617"]]389 +[[image:image-20230221164809-2.png||height="525" width="617"]] 397 397 ))) 398 398 ))) 399 399 ... ... @@ -404,7 +404,7 @@ 404 404 Add APP EUI in the application: 405 405 406 406 407 -[[image:image-20230221140131-4.png|| _mstalt="425984"height="569" width="674"]]400 +[[image:image-20230221140131-4.png||height="569" width="674"]] 408 408 409 409 410 410 == 4.4 Step 4 == ... ... @@ -413,7 +413,7 @@ 413 413 **Add APP KEY and DEV EUI:** 414 414 415 415 416 -[[image:image-20230221140448-6.png|| _mstalt="430339"height="535" width="647"]]409 +[[image:image-20230221140448-6.png||height="535" width="647"]] 417 417 418 418 419 419 = 5. TTN V3 integrated into MQTT server = ... ... @@ -452,13 +452,13 @@ 452 452 ))) 453 453 ))) 454 454 455 -[[image:image-20220526140347-22.png ||_mstalt="453700"]]448 +[[image:image-20220526140347-22.png]] 456 456 457 457 Fill in the username and password into MQTT. 458 458 459 459 460 460 461 -[[image:image-20220526140420-23.png ||_mstalt="451373"]]454 +[[image:image-20220526140420-23.png]] 462 462 463 463 464 464 The Application Server publishes uplink traffic on the following topics: ... ... @@ -486,7 +486,7 @@ 486 486 ))) 487 487 ))) 488 488 489 -[[image:image-20220526140452-24.png ||_mstalt="453401"]]482 +[[image:image-20220526140452-24.png]] 490 490 491 491 492 492 ((( ... ... @@ -495,7 +495,7 @@ 495 495 ))) 496 496 ))) 497 497 498 -[[image:image-20220526140708-25.png ||_mstalt="455117"]]491 +[[image:image-20220526140708-25.png]] 499 499 500 500 ((( 501 501 ((( ... ... @@ -519,7 +519,7 @@ 519 519 ))) 520 520 ))) 521 521 522 -[[image:image-20220526140856-26.png ||_mstalt="456755"]]515 +[[image:image-20220526140856-26.png]] 523 523 524 524 ((( 525 525 To send an unconfirmed downlink message to the device dev1 in application app1 in tenant tenant1 with the hexadecimal payload BE EF on FPort 15 with normal priority, use the topic v3/app1@tenant1/devices/dev1/down/push with the following contents: ... ... @@ -533,7 +533,7 @@ 533 533 534 534 ))) 535 535 536 -[[image:image-20220526140936-27.png ||_mstalt="456794"]]529 +[[image:image-20220526140936-27.png]] 537 537 538 538 539 539 == 5.3 Send Downlink message == ... ... @@ -553,7 +553,7 @@ 553 553 554 554 ))) 555 555 556 -[[image:image-20220526141021-28.png ||_mstalt="452647"]]549 +[[image:image-20220526141021-28.png]] 557 557 558 558 downlink 559 559 ... ... @@ -561,7 +561,7 @@ 561 561 562 562 After sending, you can view it in live data. 563 563 564 -[[image:image-20220526141052-29.png ||_mstalt="454337"]]557 +[[image:image-20220526141052-29.png]] 565 565 566 566 downlink 567 567 ... ... @@ -577,7 +577,7 @@ 577 577 578 578 ))) 579 579 580 -[[image:image-20220526141116-30.png ||_mstalt="451672"]]573 +[[image:image-20220526141116-30.png]] 581 581 582 582 downlink 583 583 ... ... @@ -608,7 +608,7 @@ 608 608 ))) 609 609 ))) 610 610 611 -[[image:image-20220526141149-31.png ||_mstalt="454038"]]604 +[[image:image-20220526141149-31.png]] 612 612 613 613 downlink 614 614 ... ... @@ -616,7 +616,7 @@ 616 616 = 6. Route TTN data to Node-Red = 617 617 618 618 619 -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 ||_mstmutation="1"]]"612 +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]]" 620 620 621 621 622 622 == 6.1 Edit mqtt-broker node == ... ... @@ -631,12 +631,12 @@ 631 631 **Port :** 1883 632 632 ))) 633 633 634 -[[image:image-20220829160224-187.jpeg|| _mstalt="526292"height="569" width="1128"]]627 +[[image:image-20220829160224-187.jpeg||height="569" width="1128"]] 635 635 636 636 637 637 **Enter Username and Password** 638 638 639 -[[image:image-20220829164358-188.png|| _mstalt="486174"height="570" width="1130"]]632 +[[image:image-20220829164358-188.png||height="570" width="1130"]] 640 640 641 641 642 642 == 6.2 Debug == ... ... @@ -644,7 +644,7 @@ 644 644 645 645 Users can check logs by adding debug. 646 646 647 -[[image:image-20220829164652-189.png|| _mstalt="485472"height="572" width="1134"]]640 +[[image:image-20220829164652-189.png||height="572" width="1134"]] 648 648 649 649 650 650 == 6.3 Example: Use Local Server TTN and Node-Red in LPS8v2 == ... ... @@ -676,7 +676,7 @@ 676 676 677 677 **v3/(% style="color:red" %)Application ID(%%)/devices/(% style="color:red" %)End device ID(%%)/up** 678 678 679 -[[image:image-20221018100743-1.png ||_mstalt="427739"]]672 +[[image:image-20221018100743-1.png]] 680 680 681 681 682 682 ... ... @@ -683,11 +683,11 @@ 683 683 (% style="color:blue" %)**2. Enter the MQTT configuration information** 684 684 685 685 686 -[[image:image-20221018100947-2.png ||_mstalt="430079"]]679 +[[image:image-20221018100947-2.png]] 687 687 688 688 689 689 690 -[[image:image-20221018101102-3.png ||_mstalt="425256"]]683 +[[image:image-20221018101102-3.png]] 691 691 692 692 (% class="wikigeneratedid" %) 693 693 (% style="color:blue" %)**Finally, click "Update" and Deploy** ... ... @@ -697,7 +697,7 @@ 697 697 "Connected" indicates that the Link Node-red to Local TTN is normal. 698 698 699 699 (% class="wikigeneratedid" %) 700 -[[image:image-20220914140918-5.png|| _mstalt="432523"height="602" width="1121"]]693 +[[image:image-20220914140918-5.png||height="602" width="1121"]] 701 701 702 702 703 703 === 6.3.2 Check result. === ... ... @@ -705,13 +705,13 @@ 705 705 706 706 Users can check logs by adding debug. 707 707 708 -[[image:image-20220914140841-4.png|| _mstalt="430456"height="600" width="1119"]]701 +[[image:image-20220914140841-4.png||height="600" width="1119"]] 709 709 710 710 711 711 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. 712 712 713 713 714 -[[image:image-20220914142021-7.png|| _mstalt="429000"height="517" width="1346"]]707 +[[image:image-20220914142021-7.png||height="517" width="1346"]] 715 715 716 716 717 717 = 7. Request Remote Support = ... ... @@ -738,7 +738,7 @@ 738 738 739 739 * What frequency the device is sending? 740 740 741 -[[image:image-20220526141308-33.png ||_mstalt="453778"]]734 +[[image:image-20220526141308-33.png]] 742 742 743 743 Console Output from End device to see the transmit frequency 744 744 ... ... @@ -747,7 +747,7 @@ 747 747 748 748 * Is the device in OTAA mode or ABP mode? (% style="color:red" %)**AT+NJM=1** (%%)(OTAA mode), (% style="color:red" %)**AT+NJM=0**(%%) (ABP mode) 749 749 750 -[[image:image-20220526141612-36.png ||_mstalt="454142"]]743 +[[image:image-20220526141612-36.png]] 751 751 752 752 753 753 Console Output from End device to see the transmit frequency ... ... @@ -766,7 +766,7 @@ 766 766 767 767 ))) 768 768 769 -[[image:image-20220526141739-37.png ||_mstalt="457847"]]762 +[[image:image-20220526141739-37.png]] 770 770 771 771 Console Output from Gateway to see packets between end node and server. 772 772 ... ... @@ -787,13 +787,13 @@ 787 787 788 788 ))) 789 789 790 -[[image:image-20220526141823-38.png|| _mstalt="456183"height="501" width="1144"]]783 +[[image:image-20220526141823-38.png||height="501" width="1144"]] 791 791 792 792 The Traffic for the End node in the server, use TTNv3 as example 793 793 794 794 795 795 796 -[[image:image-20220526141917-39.png ||_mstalt="457899"]]789 +[[image:image-20220526141917-39.png]] 797 797 798 798 The Traffic for the End node in the server, use TTNv3 as example 799 799 ... ... @@ -807,7 +807,7 @@ 807 807 If this data page shows the Join Request message from the end node? If not, most properly you have wrong settings in the keys. Keys in the server doesn't match the keys in End Node. 808 808 809 809 810 -[[image:image-20220526141956-40.png ||_mstalt="455832"]]803 +[[image:image-20220526141956-40.png]] 811 811 ))) 812 812 ))) 813 813 ))) ... ... @@ -816,7 +816,7 @@ 816 816 817 817 818 818 819 -[[image:image-20220526142033-41.png ||_mstalt="452036"]]812 +[[image:image-20220526142033-41.png]] 820 820 821 821 Check if OTAA Keys match the keys in device 822 822 ... ... @@ -830,7 +830,7 @@ 830 830 831 831 Open your application and click the button **Import end devices** 832 832 833 -[[image:image-20230423154012-1.png|| _mstalt="426738"height="472" width="755"]]826 +[[image:image-20230423154012-1.png||height="472" width="755"]] 834 834 835 835 836 836 Select the **File format** and upload the file (e.g. or ).devices/jsondevices.csv ... ... @@ -841,17 +841,17 @@ 841 841 842 842 Start the import by clicking the **Import end devices** button. 843 843 844 -[[image:image-20230423154040-2.png|| _mstalt="427401"height="470" width="749"]]837 +[[image:image-20230423154040-2.png||height="470" width="749"]] 845 845 846 846 847 847 Wait for the end devices to be successfully imported. In case any device fails, you will see a relevant error message in the console. 848 848 849 -[[image:image-20230423154105-3.png|| _mstalt="428467"height="478" width="763"]]842 +[[image:image-20230423154105-3.png||height="478" width="763"]] 850 850 851 851 852 852 If the import was successful, your devices are added to the list of end devices in your application. 853 853 854 -[[image:image-20230423154125-4.png|| _mstalt="429481"height="480" width="766"]]847 +[[image:image-20230423154125-4.png||height="480" width="766"]] 855 855 856 856 Devices are now registered on The Things Stack. 857 857 ... ... @@ -962,30 +962,5 @@ 962 962 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H9.WhydoIseea22MICMismatch22errormessagefromtheserver3F>>url:http://wiki.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H9.WhydoIseea22MICMismatch22errormessagefromtheserver3F]] 963 963 964 964 965 -== 9.2 How to get the log information of the node? == 966 966 967 -1.Get information about a single node 968 - 969 -Download this file in the node's live data interface 970 - 971 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20of%20Dragino%20LoRaWAN%20Packet%20Analyze%20Tool/WebHome/image-20230928163751-2.png?width=1278&height=506&rev=1.1||alt="image-20230928163751-2.png" height="506" width="1278"]] 972 - 973 -2.Get information about the entire Application 974 - 975 -Click the "See all activity" button on the main interface of the application 976 - 977 -[[image:image-20231019113039-1.png||height="678" width="1312"]] 978 - 979 - 980 -Download this file in application live data interface 981 - 982 -[[image:image-20231019113212-4.png||height="567" width="1277"]] 983 - 984 - 985 -After the data collection is completed, you can send this file directly to our technical support personnel for analysis. 986 - 987 - 988 -You can also use the packet analysis tool developed by our company to check it yourself. Please refer to the following [[link>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20of%20Dragino%20LoRaWAN%20Packet%20Analyze%20Tool/#H3.ThethingsNetwork]] to use this tool. 989 - 990 - 991 991
- image-20230728151807-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -149.0 KB - Content
- image-20231019113039-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -71.3 KB - Content
- image-20231019113131-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -207.7 KB - Content
- image-20231019113137-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -207.7 KB - Content
- image-20231019113212-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -168.8 KB - Content
- image-20231121092510-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -126.5 KB - Content
- image-20231121092543-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -121.0 KB - Content
- image-20231121092627-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -125.3 KB - Content