Changes for page LPS8v2 -- LoRaWAN Indoor Gateway User Manual
Last modified by Kilight Cao on 2024/12/31 16:31
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.Xiao ye1 +XWiki.Xiaoling - Content
-
... ... @@ -8,7 +8,7 @@ 8 8 9 9 ))) 10 10 11 -**Table of Contents :**11 +**Table of Contents:** 12 12 13 13 {{toc/}} 14 14 ... ... @@ -545,33 +545,53 @@ 545 545 546 546 547 547 548 -== ** 2). Troubleshooting:** ==548 +== **3). Troubleshooting:** == 549 549 550 550 551 -**~1. If the URL does not jump properly.** 551 +* ((( 552 +=== ** If the URL does not jump properly.** === 553 +))) 552 552 553 553 For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 554 554 555 555 For the Node-Red, you can use the local IP address and the port is **1880** to access it. 556 556 557 -**2. How to install InfluxDB, Garfana.** 558 558 559 - The LPS8V2 is not pre-installed InfluxDB and Garfana, the users can install them, see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]] 560 +* ((( 561 +=== ** How to install InfluxDB, Garfana.** === 562 +))) 560 560 561 - **3.Howtoupgade thegatewaynode.js tothe latest**564 + The LPS8V2 is not pre-installed with InfluxDB and Garfana, the users can install them, see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]] 562 562 563 - The user can upgrade nodejs, see [[Upgarde Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 564 564 565 -**4. How bath register device on the built-in Chirpstack network server** 567 +* ((( 568 +=== ** How to upgrade the gateway node.js to the latest version.** === 569 +))) 566 566 567 - The user can re gister devicesinhonhegateway Web UI,see571 + The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 568 568 569 -(% class="wikigeneratedid" id="H4.3A0Howtodisablethebuilt-inserver" %) 570 -**5. How to disable the built-in server** 571 571 574 +* ((( 575 +=== ** How to batch register device on the built-in Chirpstack network server** === 576 +))) 577 + 578 + The user can register devices in batch on the gateway Web UI, see [[Batch Register>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H11.A0HowtouseChirpstackAPItobatchregisterSensorNode2FGatewayinChistapstackServer]] 579 + 580 + 581 +* ((( 582 +=== ** Why my gateway is not Chirpstack?** === 583 +))) 584 + 585 + After June '23, the default factory LPS8V2 pre-installed Chirpstack-V4 instead of The Things Stack, the users can migrate to Chistack-V4, see **[[Change TTN Stack v3 to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]** 586 + 587 + 588 +* ((( 589 +=== ** How to disable the built-in server** === 590 +))) 591 + 572 572 (% class="box infomessage" %) 573 573 ((( 574 -Use the following commands to start and stop the TTNv3 service:** 594 +Use the following commands to start and stop the TTNv3 service:** ** 575 575 576 576 **# start** 577 577 systemctl start ttnstack ... ... @@ -604,21 +604,14 @@ 604 604 ))) 605 605 606 606 607 -(% class="wikigeneratedid" id="H4.4A0WhymygatewayisnotChirpstack3F" %) 608 -6. Why my gateway is not Chirpstack? 627 +* ((( 628 +=== ** How to choose the Chirpstack server frequency SubBand** === 629 +))) 609 609 610 - AfterJune'23,thedefaultfactoryLPS8V2pre-installedChirpstack-V2insteadofTheThingsStack,the userscanmigrate toChistack-V4bythe belowinstruction631 +**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923. 611 611 612 - **[[ChangeTTNStackv3toChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**633 + Note: Since the subbands of the Chirpstack are counted from 0, us915_1 of the Chirpstack is equal to US915 FSB2, so if your LoRa Rdio is using the US915 FSB2 you have to choose the us915_1 as the Chirpstack FSB. 613 613 614 - 615 -=== 4.4.1 How do users choose the chirpstack server frequency SubBand === 616 - 617 - 618 -On the **Server ~-~-> Network Server** interface, choose the frequency Plan first. 619 - 620 -If the frequency Plan used is CN470, US915, AU915, or AS923, the user needs to choose a frequency sub-band, because the frequency Sub Band of ChirpStack starts from 0, so for example, us915_1 corresponds to the actual frequency US915_2. 621 - 622 622 [[image:image-20230602140406-3.png||height="480" width="918"]] 623 623 624 624 ... ... @@ -625,7 +625,7 @@ 625 625 When the configuration is complete, click** "Save&Apply"**. 626 626 627 627 628 -(% style="color:red" %)**Note:**(%%) When adding device profile, the selected Region configuration is also calculated from 0, so setting it to us915_1 corresponds to US915 Sub Band 2. 641 +(% style="color:red" %)**Note:**(%%) When adding the device profile, the selected Region configuration is also calculated from 0, so setting it to us915_1 corresponds to US915 Sub Band 2. 629 629 630 630 [[image:image-20230602143122-4.png||height="511" width="983"]] 631 631 ... ... @@ -738,33 +738,29 @@ 738 738 739 739 Migrate guide: 740 740 741 - **1. Ensure that the gatewayis in goodnetworkcondition,RecommendeduseofETH.**754 +To stabilize the completion of the migration, The users can migrate in one of the following ways 742 742 743 -** 2. On theServer ~-~-> NetworkServerinterface,click "Management"**756 +**Method 1. Using the Linux shell, ** 744 744 745 - [[image:image-20230616162454-1.png]]758 +**Method 2. Flash a new image with the Chirpstack** 746 746 747 747 748 -**3. Click "Migrate-Chirpstack"** 749 749 750 - [[image:image-20230616162742-2.png]]762 +=== Method 1: Using the Linux shell === 751 751 764 +(% class="box infomessage" %) 765 +((( 766 +wget -P /tmp [[http:~~/~~/repo.dragino.com/release/tool/chirpstack/migrate_chirpstack>>http://repo.dragino.com/release/tool/chirpstack/migrate_chirpstack]] && chmod +x /tmp/migrate_chirpstack && /tmp/migrate_chirpstack 767 +))) 752 752 753 -**4. Strat Install ** 754 754 755 -Click start Install and wait until the migration succeeds 756 756 757 - [[image:image-20230616162934-3.png]]771 +=== Method 2: Flash a new image === 758 758 773 +Image flash steps: [[How to flash a new image(OS) to the gateway(LPS8V2)>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.3A0Howtoflashanewimage28OS29tothegateway28LPS8V229]] 759 759 760 -**5.Migration complete check result** 761 761 762 -[[image:image-20230616174526-4.png||height="706" width="983"]] 763 763 764 - 765 -[[image:image-20230616180004-9.png]] 766 - 767 - 768 768 == 8.3 How to reduce the 4g data consumed == 769 769 770 770 ... ... @@ -834,6 +834,7 @@ 834 834 835 835 [[image:image-20231017114417-3.png||height="543" width="679"]] 836 836 846 + 837 837 === 8.6.3 Dmesg Log === 838 838 839 839 Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: ... ... @@ -848,6 +848,37 @@ 848 848 [[image:image-20231017115124-4.png||height="215" width="880"]] 849 849 850 850 861 +=== 8.6.5 View gateway logs via Linux Command === 862 + 863 +**Semtech UDP Log :** 864 + 865 +(% class="box infomessage" %) 866 +((( 867 +**journalctl -u draginofwd -f** 868 +))) 869 + 870 +[[image:image-20231207144627-1.png||height="371" width="1017"]] 871 + 872 + 873 +**Station Log:** 874 + 875 +(% class="box infomessage" %) 876 +((( 877 +**tail -f /var/log/station.log ** 878 +))) 879 + 880 +[[image:image-20231207144758-2.png||height="132" width="1022"]] 881 + 882 + 883 +**Dmesg Log:** 884 + 885 +(% class="box infomessage" %) 886 +((( 887 +**dmesg** 888 +))) 889 + 890 +[[image:image-20231207145210-3.png||height="310" width="1021"]] 891 + 851 851 = 9. Trouble Shooting = 852 852 853 853 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
- image-20231207144627-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +182.9 KB - Content
- image-20231207144758-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +51.0 KB - Content
- image-20231207145210-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +104.4 KB - Content