Changes for page LPS8v2 -- LoRaWAN Indoor Gateway User Manual
Last modified by Kilight Cao on 2024/12/31 16:31
Change comment:
There is no comment for this version
Summary
-
Page properties (2 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 - 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 ... ... @@ -81,7 +81,7 @@ 81 81 ** Semtech UDP Packet Forwarder 82 82 ** LoRaWAN Basic Station 83 83 ** ChirpStack-Gateway-Bridge (MQTT) 84 -* Built-in (% style="color:#037691" %)** The Things Network**(%%) local LoRaWAN server84 +* Built-in (% style="color:#037691" %)**ChirpStack**(%%) local LoRaWAN server 85 85 * Built-in (% style="color:#037691" %)**Node-Red** (%%)local Application server 86 86 87 87 == 1.4 LED Indicators == ... ... @@ -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 ... ... @@ -192,7 +192,7 @@ 192 192 193 193 Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]** 194 194 195 -If you still can't access the LPS8-V2 fallback ip, follow this connection to debug : **[[Trouble Shooting>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9. 2A0FallbackIPdoesnotwork2Chowcanuserscheck]]**201 +If you still can't access the LPS8-V2 fallback ip, follow this connection to debug : **[[Trouble Shooting>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.3A0FallbackIPdoesnotwork2Chowcanuserscheck]]** 196 196 197 197 198 198 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console. ... ... @@ -497,122 +497,116 @@ 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 504 - In the**System->Remoteit** interface, users can configure thegatewayto be accessed remotelyviaRemote.it.512 +When the gateway restores the factory settings is complete, 505 505 514 +The WiFi configuration will enable WiFi Access Point by default. 506 506 507 - theusers can refer toislink toconfigurethem: **[[Monitor& RemoteAccess Gateway>>http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access#H2.1A0RemoteAccessviaRemote.it.]]**516 +The other configuration will be restored to the default configuration. 508 508 509 -[[image:image-202 21230092303-2.png]]518 +[[image:image-20240203172853-1.png||height="365" width="901"]] 510 510 511 511 512 -=== 3.5.5 System ~-~-> PackageManagement ===521 +=== 3.5.5 System ~-~-> Remoteit === 513 513 514 514 515 -In the **System ~-~->PackageManagement** interface,Users can checkthecurrentversionofCorePackages.524 +In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it. 516 516 517 -[[image:image-20230214094316-4.png]] 518 518 527 +the users can refer to this link to configure them: **[[Monitor & Remote Access Gateway>>http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access#H2.1A0RemoteAccessviaRemote.it.]]** 519 519 520 - = 4. Build-in Server =529 +[[image:image-20221230092303-2.png]] 521 521 522 522 523 - Sincesoftwareversion 0606,thedefaultfactory versionof LPS8-V2 is installed with thebuilt-inApplicantserver: (% style="color:blue" %)**Node-Red**(%%), LoRaWAN Server: (% style="color:blue" %)**ChirpStack**(%%).532 +=== 3.5.6 System ~-~-> Package Management === 524 524 525 -[[image:image-20231106180816-4.png||height="416" width="896"]] 526 526 527 - [[image:image-20230616175558-7.png||height="362"width="894"]]535 +In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages. 528 528 537 +[[image:image-20230214094316-4.png]] 529 529 530 530 531 - (%style="color:red"%)**Note:**540 += 4. Build-in Server = 532 532 533 - **Path**:Server~-~-> Network Server542 +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**(%%). 534 534 535 - Server ~-~-> Application Server 536 536 545 +== 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) == 537 537 538 - **Troubleshooting:**547 +[[image:image-20231106180816-4.png||height="416" width="896"]] 539 539 549 +[[image:image-20231201165904-1.png||height="466" width="899"]] 540 540 541 -** ~1.URLdoesnotjump properly**551 +(% style="color:red" %)**Note: The user can access the**(%%)** (% style="color:blue" %)ChirpStack-V4 (% style="color:red" %)via click the 'Launch' button, and the login account: admin/admin(%%)** 542 542 543 - theChirpStack, youcanusethelocalIP addressandtheport is**8080**toaccess.553 +For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 544 544 545 - For the Node-Red, you can use the local IP address and the port is **1880** to access it. 546 546 547 547 548 -== 4.1LoRaWANNetwork~-~-ChirpStack==557 +== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) == 549 549 550 550 551 - You can access thegateway's built-inLNS server of (% style="color:blue"%)**ChirpStack **(%%)via the URL( (% style="background-color:yellow" %)__**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__(%%)) in your browser.560 +[[image:image-20230616175558-7.png||height="362" width="894"]] 552 552 553 - Suchas (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080orhttp:~/~/<Local-IPV4-Address>//**__562 +[[image:image-20231201170355-2.png||height="536" width="899"]] 554 554 564 +(% style="color:red" %)**Note: The user can access the**(%%)** (% style="color:blue" %)Node-RED (% style="color:red" %)via click the 'Launch' button(%%)** 555 555 556 -Login account: 557 557 558 -**Username : ** (% style="background-color:yellow" %)**admin** 559 559 560 - **Password:**** (% style="background-color:#ffff00" %)admin(%%)**568 +== **3). Troubleshooting:** == 561 561 562 -[[image:image-20230616175332-6.png||height="519" width="1029"]] 563 563 571 +* ((( 572 +=== ** If the URL does not jump properly.** === 573 +))) 564 564 575 + For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 565 565 566 - ===4.1.1TheLPS8-V2isregisteredandconnectedtoBuilt-in ChirpStack===577 + For the Node-Red, you can use the local IP address and the port is **1880** to access it. 567 567 568 568 569 -Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply" 580 +* ((( 581 +=== ** How to install InfluxDB, Garfana.** === 582 +))) 570 570 571 - Theregistrationstepsarebasicallysimilarto [[LPS8-V2 is registered andconnectedto TheThingsNetwork>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]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]] 572 572 573 -[[image:image-20230321092456-1.png]] 574 574 587 +* ((( 588 +=== ** How to upgrade the gateway node.js to the latest version.** === 589 +))) 575 575 576 - ==4.2ApplicationServer~-~- Node-Red ==591 + The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 577 577 578 578 579 -You can access the gateway's built-in AS server of (% style="color:blue" %)**Node-Red **(%%)via the URL((% style="background-color:yellow" %)__**//http:~/~/<hostname>:1880 or http:~/~/<local-IPV4-address>//**__(%%)) in your browser. 594 +* ((( 595 +=== ** How to batch register device on the built-in Chirpstack network server** === 596 +))) 580 580 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]] 581 581 582 -Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880 or http:~/~/<Local-IPV4-Address>//**__ 583 583 601 +* ((( 602 +=== ** Why my gateway is not Chirpstack?** === 603 +))) 584 584 585 - [[image:image-20220725172124-3.png||height="610"width="843"]]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]]** 586 586 587 587 608 +* ((( 609 +=== ** How to disable the built-in server** === 610 +))) 588 588 589 -=== **Using Node-Red, InfluxDB and Grafana** === 590 - 591 -The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed. 592 - 593 - 594 -the users can refer to this link to install them. 595 - 596 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]] 597 - 598 - 599 -=== **Upgrade the node.js** === 600 - 601 -By default, the LPS8-V2 node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old. 602 - 603 - 604 -the users can refer to this link to upgrade them. 605 - 606 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 607 - 608 - 609 -== 4.3 How to disable the built-in server == 610 - 611 - 612 -Use the following commands to start and stop the TTNv3 service: 613 - 614 614 (% class="box infomessage" %) 615 615 ((( 614 +Use the following commands to start and stop the TTNv3 service:** ** 615 + 616 616 **# start** 617 617 systemctl start ttnstack 618 618 ... ... @@ -626,10 +626,10 @@ 626 626 systemctl disable ttnstack 627 627 ))) 628 628 629 -Use the following commands to start and stop the Node-Red service: 630 - 631 631 (% class="box infomessage" %) 632 632 ((( 631 +Use the following commands to start and stop the Node-Red service: 632 + 633 633 **# start** 634 634 systemctl start nodered 635 635 ... ... @@ -644,33 +644,39 @@ 644 644 ))) 645 645 646 646 647 -== 4.4 How to use ChirpStack on LPS8-V2 == 647 +* ((( 648 +=== ** How to choose the Chirpstack server frequency SubBand** === 649 +))) 648 648 651 +**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923. 649 649 650 - 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. 651 651 652 - **[[ChangeTTN Stack v3 to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**655 +[[image:image-20230602140406-3.png||height="480" width="918"]] 653 653 654 654 655 - ===4.4.1How douserschoosehe chirpstackserver frequencySubBand ===658 +When the configuration is complete, click** "Save&Apply"**. 656 656 657 657 658 - Onthe **Server~-~->NetworkServer**interface,choosethe frequencyPlanfirst.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. 659 659 660 - If the frequency Plan usedis CN470, US915, AU915, or AS923, the user needs to choose a frequency sub-band, because thefrequency Sub Band of ChirpStack starts from 0, so for example, us915_1correspondsto the actual frequency US915_2.663 +[[image:image-20230602143122-4.png||height="511" width="983"]] 661 661 662 -[[image:image-20230602140406-3.png||height="480" width="918"]] 663 663 666 += 5. Watch Dog = 664 664 665 -When the configuration is complete, click** "Save&Apply"**. 666 666 669 +LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 ) 667 667 668 - (%style="color:red"%)**Note:**(%%) Whenaddingdeviceprofile,theselected Regionconfiguration is also calculated from0, so setting it tous915_1 correspondstoUS915 SubBand2.671 +The uses can be via the below method to enable Watch Dog: 669 669 670 -[[image:image-20230602143122-4.png||height="511" width="983"]] 671 671 674 +(% class="box infomessage" %) 675 +((( 676 +wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh 677 +))) 672 672 673 - = 5. How theLPS8-V2connects to Chirpstack viagateway-bridge=679 +[[image:image-20231124113209-1.png||height="470" width="1157"]] 674 674 675 675 676 676 ... ... @@ -765,33 +765,29 @@ 765 765 766 766 Migrate guide: 767 767 768 - **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 769 769 770 -** 2. On theServer ~-~-> NetworkServerinterface,click "Management"**776 +**Method 1. Using the Linux shell, ** 771 771 772 - [[image:image-20230616162454-1.png]]778 +**Method 2. Flash a new image with the Chirpstack** 773 773 774 774 775 -**3. Click "Migrate-Chirpstack"** 776 776 777 - [[image:image-20230616162742-2.png]]782 +=== Method 1: Using the Linux shell === 778 778 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 +))) 779 779 780 -**4. Strat Install ** 781 781 782 -Click start Install and wait until the migration succeeds 783 783 784 - [[image:image-20230616162934-3.png]]791 +=== Method 2: Flash a new image === 785 785 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]] 786 786 787 -**5.Migration complete check result** 788 788 789 -[[image:image-20230616174526-4.png||height="706" width="983"]] 790 790 791 - 792 -[[image:image-20230616180004-9.png]] 793 - 794 - 795 795 == 8.3 How to reduce the 4g data consumed == 796 796 797 797 ... ... @@ -822,7 +822,16 @@ 822 822 == 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. == 823 823 824 824 827 +By default, the LPS8v2's built-in server is ChirpStack v4, 825 825 829 +If the user needs to change the built-in server from ChirpStack v4 to TTN Stack v3, the User needs to download the image and flash it to the LPS8v2 gateway: 830 + 831 +[[https:~~/~~/www.dropbox.com/scl/fi/qwtaw4i4dqonzramr93e4/dragino-LPS8V2-TTN-231124.rar?rlkey=nrftlkd1h8en6j07vzbhpj9ui&dl=0>>https://www.dropbox.com/scl/fi/qwtaw4i4dqonzramr93e4/dragino-LPS8V2-TTN-231124.rar?rlkey=nrftlkd1h8en6j07vzbhpj9ui&dl=0]] 832 + 833 + 834 +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]] 835 + 836 + 826 826 == 8.6 How do I view gateway logs == 827 827 828 828 === 8.6.1 LoRaWAN Log: === ... ... @@ -852,6 +852,7 @@ 852 852 853 853 [[image:image-20231017114417-3.png||height="543" width="679"]] 854 854 866 + 855 855 === 8.6.3 Dmesg Log === 856 856 857 857 Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: ... ... @@ -866,6 +866,37 @@ 866 866 [[image:image-20231017115124-4.png||height="215" width="880"]] 867 867 868 868 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 + 869 869 = 9. Trouble Shooting = 870 870 871 871 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
- image-20231124113209-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +198.7 KB - Content
- image-20231201165904-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +29.5 KB - Content
- image-20231201170355-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +70.2 KB - Content
- 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