Changes for page Notes for TTN

Last modified by Xiaoling on 2025/08/04 14:58

From version 195.1
edited by Bei Jinggeng
on 2023/02/21 14:05
Change comment: There is no comment for this version
To version 173.2
edited by Xiaoling
on 2022/09/14 09:39
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Xiaoling
Content
... ... @@ -353,7 +353,7 @@
353 353  )))
354 354  )))
355 355  
356 -== 4.1  Step 1 ==
356 +== 4.1  Step1 ==
357 357  
358 358  
359 359  (((
... ... @@ -374,23 +374,14 @@
374 374  )))
375 375  )))
376 376  
377 -[[image:image-20230221135445-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 2 ==
384 +== 4.2  Step2 ==
394 394  
395 395  
396 396  (((
... ... @@ -405,23 +405,23 @@
405 405  
406 406  
407 407  
408 -== 4.3  Step 3 ==
399 +== 4.3  Step3 ==
409 409  
410 410  
411 411  Add APP EUI in the application:
412 412  
413 413  
414 -[[image:image-20230221140131-4.png||height="569" width="674"]]
405 +[[image:image-20220526140205-20.png]]
415 415  
416 416  
417 417  
418 -== 4.4  Step 4 ==
409 +== 4.4  Step4 ==
419 419  
420 420  
421 421  **Add APP KEY and DEV EUI:**
422 422  
423 423  
424 -[[image:image-20230221140448-6.png||height="535" width="647"]]
415 +[[image:image-20220526140251-21.png]]
425 425  
426 426  
427 427  
... ... @@ -625,7 +625,6 @@
625 625  downlink
626 626  
627 627  
628 -
629 629  = 6.  Route TTN data to Node-Red =
630 630  
631 631  
... ... @@ -632,10 +632,9 @@
632 632  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]]"
633 633  
634 634  
625 +== 6.1 Edit mqtt-broker node ==
635 635  
636 -== 6.1  Edit mqtt-broker node ==
637 637  
638 -
639 639  Users need to configure the TTN MQTT server address and port, Such as:
640 640  
641 641  (% class="box infomessage" %)
... ... @@ -653,19 +653,17 @@
653 653  [[image:image-20220829164358-188.png||height="570" width="1130"]]
654 654  
655 655  
645 +== 6.2 Debug ==
656 656  
657 -== 6.2  Debug ==
658 658  
659 -
660 660  Users can check logs by adding debug.
661 661  
662 662  [[image:image-20220829164652-189.png||height="572" width="1134"]]
663 663  
664 664  
653 +== 6.3 Example: Use Local Server TTN and Node-Red in LPS8v2 ==
665 665  
666 -== 6.3  Example: Use Local Server TTN and Node-Red in LPS8v2 ==
667 667  
668 -
669 669  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:
670 670  
671 671  * LHT65N register on LPS8v2 Built-In TTN server already
... ... @@ -674,67 +674,25 @@
674 674  Below are the steps to plot the sensor data on LPS8v2 Node-Red.
675 675  
676 676  
664 +=== 6.3.1 Link Node-Red to Local TTN ===
677 677  
678 -=== 6.3.1  Link Node-Red to Local TTN ===
679 679  
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]]
680 680  
681 -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]]**
682 682  
683 -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"]]
684 684  
672 +[[image:image-20220913153442-2.png||height="555" width="926"]]
685 685  
686 -After importing the Input Flow is complete, the user needs to edit the MQTT in the node
687 687  
688 688  
689 -(% style="color:blue" %)**1. Change the Topic**
676 +6.3.2 Add input flow for device.
690 690  
678 +6.3.3 Check result.
691 691  
692 -Topic modifies it to the following format:
693 693  
694 -**v3/(% style="color:red" %)Application ID(%%)/devices/(% style="color:red" %)End device ID(%%)/up**
695 695  
696 -[[image:image-20221018100743-1.png]]
697 697  
698 -
699 -
700 -(% style="color:blue" %)**2. Enter the MQTT configuration information**
701 -
702 -
703 -[[image:image-20221018100947-2.png]]
704 -
705 -
706 -
707 -[[image:image-20221018101102-3.png]]
708 -
709 -(% class="wikigeneratedid" %)
710 -(% style="color:blue" %)**Finally, click "Update" and Deploy**
711 -
712 -
713 -(% class="wikigeneratedid" %)
714 -"Connected" indicates that the Link Node-red to Local TTN is normal.
715 -
716 -(% class="wikigeneratedid" %)
717 -[[image:image-20220914140918-5.png||height="602" width="1121"]]
718 -
719 -
720 -
721 -=== 6.3.2 Check result. ===
722 -
723 -
724 -Users can check logs by adding debug.
725 -
726 -[[image:image-20220914140841-4.png||height="600" width="1119"]]
727 -
728 -
729 -
730 -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.
731 -
732 -
733 -
734 -[[image:image-20220914142021-7.png||height="517" width="1346"]]
735 -
736 -
737 -
738 738  = 7.  Request Remote Support =
739 739  
740 740  
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