Changes for page LPS8v2 -- LoRaWAN Indoor Gateway User Manual
Last modified by Kilight Cao on 2024/12/31 16:31
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 7 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -LPS8v2 LoRaWAN Indoor Gateway User Manual 1 +LPS8v2 -- LoRaWAN Indoor Gateway User Manual - 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 ... ... @@ -126,6 +126,12 @@ 126 126 See this link for steps on how to clear data from the built-in server: **[[How to reset the built-in server>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.6A0Howtoresetthebuilt-inserver]]** 127 127 128 128 129 +When the gateway restores the factory settings is complete, 130 + 131 +The WiFi configuration will enable WiFi Access Point by default. 132 + 133 +The other configuration will be restored to the default configuration. 134 + 129 129 = 2. Quick Start = 130 130 131 131 ... ... @@ -497,10 +497,24 @@ 497 497 498 498 [[image:image-20231031162927-2.png]] 499 499 506 +=== 3.5.4 System ~-~-> Reboot / Reset === 500 500 501 - ===3.5.4System~-~-> Remoteit===508 +In the **System-> Reboot / Reset** interface, users can can restart or reset the gateway. 502 502 510 +ETH LED will SOLID BULE Until the restore is finished. 503 503 512 +When the gateway restores the factory settings is complete, 513 + 514 +The WiFi configuration will enable WiFi Access Point by default. 515 + 516 +The other configuration will be restored to the default configuration. 517 + 518 +[[image:image-20240203172853-1.png||height="365" width="901"]] 519 + 520 + 521 +=== 3.5.5 System ~-~-> Remoteit === 522 + 523 + 504 504 In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it. 505 505 506 506 ... ... @@ -509,7 +509,7 @@ 509 509 [[image:image-20221230092303-2.png]] 510 510 511 511 512 -=== 3.5. 5System ~-~-> Package Management ===532 +=== 3.5.6 System ~-~-> Package Management === 513 513 514 514 515 515 In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages. ... ... @@ -545,31 +545,54 @@ 545 545 546 546 547 547 548 -**Troubleshooting:** 568 +== **3). Troubleshooting:** == 549 549 550 -**~ 1. If the URL does not jump properly.** 551 551 571 +* ((( 572 +=== ** If the URL does not jump properly.** === 573 +))) 574 + 552 552 For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 553 553 554 554 For the Node-Red, you can use the local IP address and the port is **1880** to access it. 555 555 556 - **2. How to install InfluxDB, Garfana.** 557 557 558 - 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]] 580 +* ((( 581 +=== ** How to install InfluxDB, Garfana.** === 582 +))) 559 559 560 - **3.Howtoupgade thegatewaynode.js tothe latest**584 + 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]] 561 561 562 - The user can upgrade nodejs, see [[Upgarde Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 563 563 587 +* ((( 588 +=== ** How to upgrade the gateway node.js to the latest version.** === 589 +))) 564 564 591 + The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 565 565 566 -== 4.3 How to disable the built-in server == 567 567 594 +* ((( 595 +=== ** How to batch register device on the built-in Chirpstack network server** === 596 +))) 568 568 569 - Use thefollowingcommandstostart andstopTTNv3service:598 + 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]] 570 570 600 + 601 +* ((( 602 +=== ** Why my gateway is not Chirpstack?** === 603 +))) 604 + 605 + 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]]** 606 + 607 + 608 +* ((( 609 +=== ** How to disable the built-in server** === 610 +))) 611 + 571 571 (% class="box infomessage" %) 572 572 ((( 614 +Use the following commands to start and stop the TTNv3 service:** ** 615 + 573 573 **# start** 574 574 systemctl start ttnstack 575 575 ... ... @@ -583,10 +583,10 @@ 583 583 systemctl disable ttnstack 584 584 ))) 585 585 586 -Use the following commands to start and stop the Node-Red service: 587 - 588 588 (% class="box infomessage" %) 589 589 ((( 631 +Use the following commands to start and stop the Node-Red service: 632 + 590 590 **# start** 591 591 systemctl start nodered 592 592 ... ... @@ -601,21 +601,14 @@ 601 601 ))) 602 602 603 603 604 -== 4.4 Why my gateway is not Chirpstack? == 647 +* ((( 648 +=== ** How to choose the Chirpstack server frequency SubBand** === 649 +))) 605 605 651 +**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923. 606 606 607 - The newlyshipoutLPS8v2alreadyhave ChirpStackbuilt-inbydefault.Olderunitsmighthavebuilt-inTTNStackv3server,inthiscase,usercanchangefrom TTN Stack v3 toChirpStackby below instruction.653 + 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. 608 608 609 -**[[Change TTN Stack v3 to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]** 610 - 611 - 612 -=== 4.4.1 How do users choose the chirpstack server frequency SubBand === 613 - 614 - 615 -On the **Server ~-~-> Network Server** interface, choose the frequency Plan first. 616 - 617 -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. 618 - 619 619 [[image:image-20230602140406-3.png||height="480" width="918"]] 620 620 621 621 ... ... @@ -622,7 +622,7 @@ 622 622 When the configuration is complete, click** "Save&Apply"**. 623 623 624 624 625 -(% 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. 661 +(% 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. 626 626 627 627 [[image:image-20230602143122-4.png||height="511" width="983"]] 628 628 ... ... @@ -735,33 +735,29 @@ 735 735 736 736 Migrate guide: 737 737 738 - **1. Ensure that the gatewayis in goodnetworkcondition,RecommendeduseofETH.**774 +To stabilize the completion of the migration, The users can migrate in one of the following ways 739 739 740 -** 2. On theServer ~-~-> NetworkServerinterface,click "Management"**776 +**Method 1. Using the Linux shell, ** 741 741 742 - [[image:image-20230616162454-1.png]]778 +**Method 2. Flash a new image with the Chirpstack** 743 743 744 744 745 -**3. Click "Migrate-Chirpstack"** 746 746 747 - [[image:image-20230616162742-2.png]]782 +=== Method 1: Using the Linux shell === 748 748 784 +(% class="box infomessage" %) 785 +((( 786 +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 787 +))) 749 749 750 -**4. Strat Install ** 751 751 752 -Click start Install and wait until the migration succeeds 753 753 754 - [[image:image-20230616162934-3.png]]791 +=== Method 2: Flash a new image === 755 755 793 +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]] 756 756 757 -**5.Migration complete check result** 758 758 759 -[[image:image-20230616174526-4.png||height="706" width="983"]] 760 760 761 - 762 -[[image:image-20230616180004-9.png]] 763 - 764 - 765 765 == 8.3 How to reduce the 4g data consumed == 766 766 767 767 ... ... @@ -831,6 +831,7 @@ 831 831 832 832 [[image:image-20231017114417-3.png||height="543" width="679"]] 833 833 866 + 834 834 === 8.6.3 Dmesg Log === 835 835 836 836 Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: ... ... @@ -845,6 +845,45 @@ 845 845 [[image:image-20231017115124-4.png||height="215" width="880"]] 846 846 847 847 881 +=== 8.6.5 View gateway logs via Linux Command === 882 + 883 +**Semtech UDP Log :** 884 + 885 +(% class="box infomessage" %) 886 +((( 887 +**journalctl -u draginofwd -f** 888 +))) 889 + 890 +[[image:image-20231207144627-1.png||height="371" width="1017"]] 891 + 892 + 893 +**Station Log:** 894 + 895 +(% class="box infomessage" %) 896 +((( 897 +**tail -f /var/log/station.log ** 898 +))) 899 + 900 +[[image:image-20231207144758-2.png||height="132" width="1022"]] 901 + 902 + 903 +**Dmesg Log:** 904 + 905 +(% class="box infomessage" %) 906 +((( 907 +**dmesg** 908 +))) 909 + 910 +[[image:image-20231207145210-3.png||height="310" width="1021"]] 911 + 912 + 913 +== 8.7 DIN Mount Reference: == 914 + 915 +[[image:image-20240318095605-1.jpeg||height="472" width="472"]] 916 + 917 +[[image:image-20240318095617-2.png]] 918 + 919 + 848 848 = 9. Trouble Shooting = 849 849 850 850 == 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
- image-20240203172853-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.5 KB - Content
- image-20240318095605-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +37.3 KB - Content
- image-20240318095617-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +32.9 KB - Content
- image-20240318160845-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.5 KB - Content