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, 11 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 - 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 ... ... @@ -96,11 +96,11 @@ 96 96 97 97 (% style="color:blue" %)**➢ SYS LED**(%%): This RGB LED will show different colors in different states: 98 98 99 - ✓ **SOLID GREEN:** The device is alive with a LoRaWAN server connection. 99 + ✓ **SOLID GREEN:** The device is alive with a LoRaWAN server connection. 100 100 101 - ✓ **BLINKING GREEN:** a) Device has internet connection but no LoRaWAN Connection. or b) Device is in booting stage, in this stage, it will BLINKING GREEN for several seconds and then with BLINKING GREEN together 101 + ✓ **BLINKING GREEN:** a) Device has internet connection but no LoRaWAN Connection. or b) Device is in booting stage, in this stage, it will BLINKING GREEN for several seconds and then with BLINKING GREEN together 102 102 103 - ✓** SOLID RED:** Device doesn't have an Internet connection. 103 + ✓** SOLID RED:** Device doesn't have an Internet connection. 104 104 105 105 (% style="color:blue" %)**➢ WIFI LED**(%%): This LED shows the WIFI interface connection status. 106 106 ... ... @@ -126,6 +126,13 @@ 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 + 135 + 129 129 = 2. Quick Start = 130 130 131 131 ... ... @@ -153,7 +153,6 @@ 153 153 [[image:image-20230527085250-2.png||height="495" width="284"]] 154 154 155 155 156 - 157 157 ==== (% style="color:blue" %)**Method 2**(%%): Connect via Ethernet with DHCP IP from the router ==== 158 158 159 159 ... ... @@ -168,7 +168,6 @@ 168 168 [[image:image-20220622100129-1.png||height="332" width="1263"]] 169 169 170 170 171 - 172 172 ==== (% style="color:blue" %)**Method 3**(%%): Connect via LPS8-V2 Fallback IP ==== 173 173 174 174 ... ... @@ -200,7 +200,6 @@ 200 200 [[image:image-20230111094247-2.png||height="619" width="1250"]] 201 201 202 202 203 - 204 204 ==== (% style="color:blue" %)**Method 4**(%%): Connect via WiFi with DHCP IP from the router ==== 205 205 206 206 [[image:image-20220622100542-2.png||height="369" width="1256"]] ... ... @@ -240,7 +240,7 @@ 240 240 241 241 (% style="color:blue" %)**Password: dragino** 242 242 243 -[[image:image-202 30106153501-1.png||height="367" width="894"]]247 +[[image:image-20240318160845-1.png]] 244 244 245 245 246 246 == 2.2 Typical Network Setup == ... ... @@ -497,10 +497,24 @@ 497 497 498 498 [[image:image-20231031162927-2.png]] 499 499 504 +=== 3.5.4 System ~-~-> Reboot / Reset === 500 500 501 - ===3.5.4System~-~-> Remoteit===506 +In the **System-> Reboot / Reset** interface, users can can restart or reset the gateway. 502 502 508 +ETH LED will SOLID BULE Until the restore is finished. 503 503 510 +When the gateway restores the factory settings is complete, 511 + 512 +The WiFi configuration will enable WiFi Access Point by default. 513 + 514 +The other configuration will be restored to the default configuration. 515 + 516 +[[image:image-20240203172853-1.png||height="365" width="901"]] 517 + 518 + 519 +=== 3.5.5 System ~-~-> Remoteit === 520 + 521 + 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 ===530 +=== 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. ... ... @@ -517,6 +517,27 @@ 517 517 [[image:image-20230214094316-4.png]] 518 518 519 519 538 +== 3.5 Logread == 539 + 540 +=== 3.5.1 LoRa Log === 541 + 542 +[[image:image-20240416112509-1.png]] 543 + 544 + 545 +== 3.5.2 Gateway Traffic == 546 + 547 +[[image:image-20240416112618-2.png||height="705" width="1122"]] 548 + 549 +=== 3.5.3 System Log === 550 + 551 +[[image:image-20240416112649-3.png||height="820" width="1122"]] 552 + 553 +=== 3.5.4 Record Log === 554 + 555 +[[image:image-20240416112712-4.png||height="319" width="1128"]] 556 + 557 + 558 + 520 520 = 4. Build-in Server = 521 521 522 522 After the v1.7-230606 version, the LPS8-V2 default factory pre-installed the LoRaWAN Server: (% style="color:blue" %)**ChirpStack-V4**(%%), Application Server: (% style="color:blue" %)**Node-Red**(%%). ... ... @@ -545,35 +545,54 @@ 545 545 546 546 547 547 548 -**Troubleshooting:** 587 +== **3). Troubleshooting:** == 549 549 550 -**~ 1. If the URL does not jump properly.** 551 551 590 +* ((( 591 +=== ** If the URL does not jump properly.** === 592 +))) 593 + 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]] 599 +* ((( 600 +=== ** How to install InfluxDB, Garfana.** === 601 +))) 559 559 560 - **3.Howtoupgade thegatewaynode.js tothe latest**603 + 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 564 - 4. How bath register device on the built-in Chirpstack network server 606 +* ((( 607 +=== ** How to upgrade the gateway node.js to the latest version.** === 608 +))) 565 565 566 - The user can re gister devicesinhonhegateway Web UI,see610 + The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 567 567 568 568 613 +* ((( 614 +=== ** How to batch register device on the built-in Chirpstack network server** === 615 +))) 569 569 570 - ==4.3 Howtodisablethe built-in==617 + 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]] 571 571 572 572 573 -Use the following commands to start and stop the TTNv3 service: 620 +* ((( 621 +=== ** Why my gateway is not Chirpstack?** === 622 +))) 574 574 624 + 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]]** 625 + 626 + 627 +* ((( 628 +=== ** How to disable the built-in server** === 629 +))) 630 + 575 575 (% class="box infomessage" %) 576 576 ((( 633 +Use the following commands to start and stop the TTNv3 service:** ** 634 + 577 577 **# start** 578 578 systemctl start ttnstack 579 579 ... ... @@ -587,10 +587,10 @@ 587 587 systemctl disable ttnstack 588 588 ))) 589 589 590 -Use the following commands to start and stop the Node-Red service: 591 - 592 592 (% class="box infomessage" %) 593 593 ((( 650 +Use the following commands to start and stop the Node-Red service: 651 + 594 594 **# start** 595 595 systemctl start nodered 596 596 ... ... @@ -605,21 +605,14 @@ 605 605 ))) 606 606 607 607 608 -== 4.4 Why my gateway is not Chirpstack? == 666 +* ((( 667 +=== ** How to choose the Chirpstack server frequency SubBand** === 668 +))) 609 609 670 +**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923. 610 610 611 - The newlyshipoutLPS8v2alreadyhave ChirpStackbuilt-inbydefault.Olderunitsmighthavebuilt-inTTNStackv3server,inthiscase,usercanchangefrom TTN Stack v3 toChirpStackby below instruction.672 + 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. 612 612 613 -**[[Change TTN Stack v3 to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]** 614 - 615 - 616 -=== 4.4.1 How do users choose the chirpstack server frequency SubBand === 617 - 618 - 619 -On the **Server ~-~-> Network Server** interface, choose the frequency Plan first. 620 - 621 -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. 622 - 623 623 [[image:image-20230602140406-3.png||height="480" width="918"]] 624 624 625 625 ... ... @@ -626,7 +626,7 @@ 626 626 When the configuration is complete, click** "Save&Apply"**. 627 627 628 628 629 -(% 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. 680 +(% 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. 630 630 631 631 [[image:image-20230602143122-4.png||height="511" width="983"]] 632 632 ... ... @@ -638,7 +638,6 @@ 638 638 639 639 The uses can be via the below method to enable Watch Dog: 640 640 641 - 642 642 (% class="box infomessage" %) 643 643 ((( 644 644 wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh ... ... @@ -647,7 +647,6 @@ 647 647 [[image:image-20231124113209-1.png||height="470" width="1157"]] 648 648 649 649 650 - 651 651 = 6. How users can access LPS8-V2 using serial USB = 652 652 653 653 ... ... @@ -701,7 +701,6 @@ 701 701 702 702 1). Using the Linux command to upgrade the system 703 703 704 - 705 705 (% class="box infomessage" %) 706 706 ((( 707 707 **apt update && apt install *dragino*** ... ... @@ -710,13 +710,11 @@ 710 710 711 711 2). Upgrade the system via the Web page button of "Manual Update" 712 712 761 +(% style="color:red" %)**Note: this method needs about 10 mins, so you will get the log after 10 mins. ** 713 713 714 -**Note: this method needs about 10 mins, so you will get the log after 10 mins. ** 715 - 716 716 [[image:image-20230607093849-1.png]] 717 717 718 718 719 - 720 720 = 8. FAQ = 721 721 722 722 == 8.1 How to change Hostname == ... ... @@ -739,33 +739,26 @@ 739 739 740 740 Migrate guide: 741 741 742 - **1. Ensure that the gatewayis in goodnetworkcondition,RecommendeduseofETH.**788 +To stabilize the completion of the migration, The users can migrate in one of the following ways 743 743 744 -** 2. On theServer ~-~-> NetworkServerinterface,click "Management"**790 +**Method 1. Using the Linux shell, ** 745 745 746 - [[image:image-20230616162454-1.png]]792 +**Method 2. Flash a new image with the Chirpstack** 747 747 748 748 749 - **3.Click "Migrate-Chirpstack"**795 +=== Method 1: Using the Linux shell === 750 750 751 -[[image:image-20230616162742-2.png]] 797 +(% class="box infomessage" %) 798 +((( 799 +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 800 +))) 752 752 753 753 754 - **4.StratInstall**803 +=== Method 2: Flash a new image === 755 755 756 - Clickstart Installandwaituntilthemigrationceeds805 +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]] 757 757 758 -[[image:image-20230616162934-3.png]] 759 759 760 - 761 -**5.Migration complete check result** 762 - 763 -[[image:image-20230616174526-4.png||height="706" width="983"]] 764 - 765 - 766 -[[image:image-20230616180004-9.png]] 767 - 768 - 769 769 == 8.3 How to reduce the 4g data consumed == 770 770 771 771 ... ... @@ -810,6 +810,7 @@ 810 810 811 811 === 8.6.1 LoRaWAN Log: === 812 812 852 + 813 813 ==== Semtech UDP Log : ==== 814 814 815 815 When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface ... ... @@ -826,6 +826,7 @@ 826 826 827 827 === 8.6.2 4G Log === 828 828 869 + 829 829 The user needs to access the Linux console of the gateway and enter the following command: 830 830 831 831 (% class="box infomessage" %) ... ... @@ -835,8 +835,10 @@ 835 835 836 836 [[image:image-20231017114417-3.png||height="543" width="679"]] 837 837 879 + 838 838 === 8.6.3 Dmesg Log === 839 839 882 + 840 840 Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: 841 841 842 842 [[image:image-20231017115330-5.png||height="565" width="740"]] ... ... @@ -844,16 +844,57 @@ 844 844 845 845 === 8.6.4 Record Log === 846 846 890 + 847 847 Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface 848 848 849 849 [[image:image-20231017115124-4.png||height="215" width="880"]] 850 850 851 851 896 +=== 8.6.5 View gateway logs via Linux Command === 897 + 898 + 899 +**Semtech UDP Log :** 900 + 901 +(% class="box infomessage" %) 902 +((( 903 +**journalctl -u draginofwd -f** 904 +))) 905 + 906 +[[image:image-20231207144627-1.png||height="371" width="1017"]] 907 + 908 + 909 +**Station Log:** 910 + 911 +(% class="box infomessage" %) 912 +((( 913 +**tail -f /var/log/station.log ** 914 +))) 915 + 916 +[[image:image-20231207144758-2.png||height="132" width="1022"]] 917 + 918 + 919 +**Dmesg Log:** 920 + 921 +(% class="box infomessage" %) 922 +((( 923 +**dmesg** 924 +))) 925 + 926 +[[image:image-20231207145210-3.png||height="310" width="1021"]] 927 + 928 + 929 +== 8.7 DIN Mount Reference: == 930 + 931 + 932 +[[image:image-20240318095605-1.jpeg||height="472" width="472"]] 933 + 934 +[[image:image-20240318095617-2.png]] 935 + 936 + 852 852 = 9. Trouble Shooting = 853 853 854 854 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. == 855 855 856 - 857 857 [[image:image-20220920135918-1.png]] 858 858 859 859 ... ... @@ -883,7 +883,7 @@ 883 883 When the computer has completed the above fallback IP configuration,the LPS8v2 Web UI is still not accessible via fallback IP. 884 884 885 885 886 -**1.Check whether the configuration is correct** 970 +**~1. Check whether the configuration is correct** 887 887 888 888 Run the CMD command to ipconfig and ping 172.31.255.254. 889 889 ... ... @@ -913,7 +913,6 @@ 913 913 914 914 Earlier versions of the LPS8V2 which missing the AP driver and not installed the fallback package, so the users have to do an extra update. 915 915 916 - 917 917 (% class="box infomessage" %) 918 918 ((( 919 919 apt update && apt install *dragino* ... ... @@ -938,6 +938,7 @@ 938 938 939 939 [[image:image-20231106180846-5.png||height="310" width="668"]] 940 940 1024 + 941 941 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) = 942 942 943 943
- 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
- image-20240416112509-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.7 KB - Content
- image-20240416112618-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +128.5 KB - Content
- image-20240416112649-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +119.8 KB - Content
- image-20240416112712-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +29.6 KB - Content