Changes for page Notes for TTN
Last modified by Xiaoling on 2025/08/04 14:58
From version 198.1
edited by Bei Jinggeng
on 2023/02/21 16:48
on 2023/02/21 16:48
Change comment:
There is no comment for this version
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. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -353,7 +353,7 @@ 353 353 ))) 354 354 ))) 355 355 356 -== 4.1 Step 356 +== 4.1 Step1 == 357 357 358 358 359 359 ((( ... ... @@ -374,23 +374,14 @@ 374 374 ))) 375 375 ))) 376 376 377 -[[image:image-202 30221135445-1.png||height="356" width="777"]]377 +[[image:image-20220526140015-17.png]] 378 378 379 -First create an application and fill in the custom information in it 380 380 381 -[[image:image-20230221135520-2.png||height="52" width="974"]] 382 - 383 -[[image:image-20230221135810-3.png||height="400" width="638"]] 384 - 385 - 386 -Add a node device to the application 387 - 388 - 389 389 [[image:image-20220526140044-18.png]] 390 390 391 391 392 392 393 -== 4.2 Step 384 +== 4.2 Step2 == 394 394 395 395 396 396 ((( ... ... @@ -397,30 +397,31 @@ 397 397 ((( 398 398 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. 399 399 400 - [[image:image-20230221164809-2.png||height="525"width="617"]]391 + 401 401 ))) 402 402 ))) 403 403 395 +[[image:image-20220526140132-19.png]] 404 404 405 405 406 406 407 -== 4.3 Step 399 +== 4.3 Step3 == 408 408 409 409 410 410 Add APP EUI in the application: 411 411 412 412 413 -[[image:image-202 30221140131-4.png||height="569" width="674"]]405 +[[image:image-20220526140205-20.png]] 414 414 415 415 416 416 417 -== 4.4 Step 409 +== 4.4 Step4 == 418 418 419 419 420 420 **Add APP KEY and DEV EUI:** 421 421 422 422 423 -[[image:image-202 30221140448-6.png||height="535" width="647"]]415 +[[image:image-20220526140251-21.png]] 424 424 425 425 426 426 ... ... @@ -624,7 +624,6 @@ 624 624 downlink 625 625 626 626 627 - 628 628 = 6. Route TTN data to Node-Red = 629 629 630 630 ... ... @@ -631,10 +631,9 @@ 631 631 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]]" 632 632 633 633 625 +== 6.1 Edit mqtt-broker node == 634 634 635 -== 6.1 Edit mqtt-broker node == 636 636 637 - 638 638 Users need to configure the TTN MQTT server address and port, Such as: 639 639 640 640 (% class="box infomessage" %) ... ... @@ -652,19 +652,17 @@ 652 652 [[image:image-20220829164358-188.png||height="570" width="1130"]] 653 653 654 654 645 +== 6.2 Debug == 655 655 656 -== 6.2 Debug == 657 657 658 - 659 659 Users can check logs by adding debug. 660 660 661 661 [[image:image-20220829164652-189.png||height="572" width="1134"]] 662 662 663 663 653 +== 6.3 Example: Use Local Server TTN and Node-Red in LPS8v2 == 664 664 665 -== 6.3 Example: Use Local Server TTN and Node-Red in LPS8v2 == 666 666 667 - 668 668 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: 669 669 670 670 * LHT65N register on LPS8v2 Built-In TTN server already ... ... @@ -673,67 +673,25 @@ 673 673 Below are the steps to plot the sensor data on LPS8v2 Node-Red. 674 674 675 675 664 +=== 6.3.1 Link Node-Red to Local TTN === 676 676 677 -=== 6.3.1 Link Node-Red to Local TTN === 678 678 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]] 679 679 680 -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]]** 681 681 682 - 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"]] 683 683 672 +[[image:image-20220913153442-2.png||height="555" width="926"]] 684 684 685 -After importing the Input Flow is complete, the user needs to edit the MQTT in the node 686 686 687 687 688 - (%style="color:blue"%)**1. Changethe Topic**676 +6.3.2 Add input flow for device. 689 689 678 +6.3.3 Check result. 690 690 691 -Topic modifies it to the following format: 692 692 693 -**v3/(% style="color:red" %)Application ID(%%)/devices/(% style="color:red" %)End device ID(%%)/up** 694 694 695 -[[image:image-20221018100743-1.png]] 696 696 697 - 698 - 699 -(% style="color:blue" %)**2. Enter the MQTT configuration information** 700 - 701 - 702 -[[image:image-20221018100947-2.png]] 703 - 704 - 705 - 706 -[[image:image-20221018101102-3.png]] 707 - 708 -(% class="wikigeneratedid" %) 709 -(% style="color:blue" %)**Finally, click "Update" and Deploy** 710 - 711 - 712 -(% class="wikigeneratedid" %) 713 -"Connected" indicates that the Link Node-red to Local TTN is normal. 714 - 715 -(% class="wikigeneratedid" %) 716 -[[image:image-20220914140918-5.png||height="602" width="1121"]] 717 - 718 - 719 - 720 -=== 6.3.2 Check result. === 721 - 722 - 723 -Users can check logs by adding debug. 724 - 725 -[[image:image-20220914140841-4.png||height="600" width="1119"]] 726 - 727 - 728 - 729 -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. 730 - 731 - 732 - 733 -[[image:image-20220914142021-7.png||height="517" width="1346"]] 734 - 735 - 736 - 737 737 = 7. Request Remote Support = 738 738 739 739
- 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