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, 0 added, 9 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -LPS8v2 --LoRaWAN Indoor Gateway User Manual1 +LPS8v2 LoRaWAN Indoor Gateway User Manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.Xiao ling1 +XWiki.Xiaoye - 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,13 +126,6 @@ 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 - 136 136 = 2. Quick Start = 137 137 138 138 ... ... @@ -160,6 +160,7 @@ 160 160 [[image:image-20230527085250-2.png||height="495" width="284"]] 161 161 162 162 156 + 163 163 ==== (% style="color:blue" %)**Method 2**(%%): Connect via Ethernet with DHCP IP from the router ==== 164 164 165 165 ... ... @@ -174,6 +174,7 @@ 174 174 [[image:image-20220622100129-1.png||height="332" width="1263"]] 175 175 176 176 171 + 177 177 ==== (% style="color:blue" %)**Method 3**(%%): Connect via LPS8-V2 Fallback IP ==== 178 178 179 179 ... ... @@ -205,6 +205,7 @@ 205 205 [[image:image-20230111094247-2.png||height="619" width="1250"]] 206 206 207 207 203 + 208 208 ==== (% style="color:blue" %)**Method 4**(%%): Connect via WiFi with DHCP IP from the router ==== 209 209 210 210 [[image:image-20220622100542-2.png||height="369" width="1256"]] ... ... @@ -244,7 +244,7 @@ 244 244 245 245 (% style="color:blue" %)**Password: dragino** 246 246 247 -[[image:image-202 40318160845-1.png]]243 +[[image:image-20230106153501-1.png||height="367" width="894"]] 248 248 249 249 250 250 == 2.2 Typical Network Setup == ... ... @@ -501,116 +501,122 @@ 501 501 502 502 [[image:image-20231031162927-2.png]] 503 503 504 -=== 3.5.4 System ~-~-> Reboot / Reset === 505 505 506 - Inthe**System-> Reboot/ Reset**interface,users can can restart or reset the gateway.501 +=== 3.5.4 System ~-~-> Remoteit === 507 507 508 -ETH LED will SOLID BULE Until the restore is finished. 509 509 510 - When thegatewayrestoresthefactorysettingsiscomplete,504 +In the **System-> Remoteit** interface, users can configure the gateway to be accessed remotely via Remote.it. 511 511 512 -The WiFi configuration will enable WiFi Access Point by default. 513 513 514 - The otherconfigurationwillberestoredhedefaultnfiguration.507 +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.]]** 515 515 516 -[[image:image-202 40203172853-1.png||height="365" width="901"]]509 +[[image:image-20221230092303-2.png]] 517 517 518 518 519 -=== 3.5.5 System ~-~-> Remoteit ===512 +=== 3.5.5 System ~-~-> Package Management === 520 520 521 521 522 -In the **System-> Remoteit** interface,users can configure thegatewaytobeaccessedremotelyviaRemote.it.515 +In the **System ~-~-> Package Management** interface, Users can check the current version of Core Packages. 523 523 517 +[[image:image-20230214094316-4.png]] 524 524 525 -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.]]** 526 526 527 - [[image:image-20221230092303-2.png]]520 += 4. Build-in Server = 528 528 529 529 530 - ===3.5.6System~-~->PackageManagement ===523 +Since software version 0606,the default factory version of LPS8-V2 is installed with the built-in Applicant server: (% style="color:blue" %)**Node-Red**(%%), LoRaWAN Server: (% style="color:blue" %)**ChirpStack**(%%). 531 531 525 +[[image:image-20231106180816-4.png||height="416" width="896"]] 532 532 533 - In the **System~-~-> PackageManagement** interface, Users can check the currentversion of Core Packages.527 +[[image:image-20230616175558-7.png||height="362" width="894"]] 534 534 535 -[[image:image-20230214094316-4.png]] 536 536 537 537 538 - =4. Build-in Server=531 +(% style="color:red" %)**Note:** 539 539 540 - Afterthev1.7-230606version,theLPS8-V2defaultfactorypre-installedtheLoRaWANServer: (%style="color:blue" %)**ChirpStack-V4**(%%),ApplicationServer:(% style="color:blue" %)**Node-Red**(%%).533 + **Path**: Server ~-~-> Network Server 541 541 535 + Server ~-~-> Application Server 542 542 543 -== 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) == 544 544 545 - [[image:image-20231106180816-4.png||height="416" width="896"]]538 +**Troubleshooting:** 546 546 547 -[[image:image-20231201165904-1.png||height="466" width="899"]] 548 548 549 - (% style="color:red" %)**Note:Theusercanaccessthe**(%%)** (%style="color:blue"%)ChirpStack-V4(%style="color:red"%)via click the 'Launch'button, andtheloginaccount:admin/admin(%%)**541 +**~ 1. URL does not jump properly** 550 550 551 - Formoreinformationonserveroperationssee [[RegisterLPSV2to thebuilt-inChirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]543 + For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 552 552 545 + For the Node-Red, you can use the local IP address and the port is **1880** to access it. 553 553 554 554 555 -== 2).ApplicationNetwork Server:(%style="color:blue"%)**Node-Red**(%%)==548 +== 4.1 LoRaWAN Network Server ~-~- ChirpStack == 556 556 557 557 558 - [[image:image-20230616175558-7.png||height="362"width="894"]]551 +You can access the gateway's built-in LNS server of (% style="color:blue" %)**ChirpStack **(%%)via the URL( (% style="background-color:yellow" %)__**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__(%%)) in your browser. 559 559 560 - [[image:image-20231201170355-2.png||height="536" width="899"]]553 +Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080 or http:~/~/<Local-IPV4-Address>//**__ 561 561 562 -(% style="color:red" %)**Note: The user can access the**(%%)** (% style="color:blue" %)Node-RED (% style="color:red" %)via click the 'Launch' button(%%)** 563 563 556 +Login account: 564 564 558 +**Username : ** (% style="background-color:yellow" %)**admin** 565 565 566 - ==**3).Troubleshooting:**==560 +**Password: ** ** (% style="background-color:#ffff00" %)admin(%%)** 567 567 562 +[[image:image-20230616175332-6.png||height="519" width="1029"]] 568 568 569 -* ((( 570 -=== ** If the URL does not jump properly.** === 571 -))) 572 572 573 - For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 574 574 575 - For theNode-Red,you can usethelocal IP addressand theport is **1880**toaccessit.566 +=== 4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack === 576 576 577 577 578 -* ((( 579 -=== ** How to install InfluxDB, Garfana.** === 580 -))) 569 +Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply" 581 581 582 - TheLPS8V2 isnot pre-installedwith InfluxDBandGarfana,theusers caninstallthem, see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]]571 +The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 583 583 573 +[[image:image-20230321092456-1.png]] 584 584 585 -* ((( 586 -=== ** How to upgrade the gateway node.js to the latest version.** === 587 -))) 588 588 589 - The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]576 +== 4.2 Application Server ~-~- Node-Red == 590 590 591 591 592 -* ((( 593 -=== ** How to batch register device on the built-in Chirpstack network server** === 594 -))) 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. 595 595 596 - 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]] 597 597 582 +Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880 or http:~/~/<Local-IPV4-Address>//**__ 598 598 599 -* ((( 600 -=== ** Why my gateway is not Chirpstack?** === 601 -))) 602 602 603 - After June '23, the default factory LPS8V2 pre-installed Chirpstack-V4 instead of The Things Stack, the users canmigrate to Chistack-V4, see **[[ChangeTTN Stack v3 to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**585 +[[image:image-20220725172124-3.png||height="610" width="843"]] 604 604 605 605 606 -* ((( 607 -=== ** How to disable the built-in server** === 608 -))) 609 609 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 + 610 610 (% class="box infomessage" %) 611 611 ((( 612 -Use the following commands to start and stop the TTNv3 service:** ** 613 - 614 614 **# start** 615 615 systemctl start ttnstack 616 616 ... ... @@ -624,10 +624,10 @@ 624 624 systemctl disable ttnstack 625 625 ))) 626 626 627 -(% class="box infomessage" %) 628 -((( 629 629 Use the following commands to start and stop the Node-Red service: 630 630 631 +(% class="box infomessage" %) 632 +((( 631 631 **# start** 632 632 systemctl start nodered 633 633 ... ... @@ -642,14 +642,21 @@ 642 642 ))) 643 643 644 644 645 -* ((( 646 -=== ** How to choose the Chirpstack server frequency SubBand** === 647 -))) 647 +== 4.4 How to use ChirpStack on LPS8-V2 == 648 648 649 -**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923. 650 650 651 - Note: Since thesubbands of theChirpstackarecountedfrom 0, us915_1 of the Chirpstackis equalo US915 FSB2, soifyourLoRaRdioisusingUS915FSB2youhave tochoosetheus915_1asthe ChirpstackFSB.650 +The newly shipout LPS8v2 already have ChirpStack built-in by default. Older units might have built-in TTN Stack v3 server, in this case, user can change from TTN Stack v3 to ChirpStack by below instruction. 652 652 652 +**[[Change TTN Stack v3 to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]** 653 + 654 + 655 +=== 4.4.1 How do users choose the chirpstack server frequency SubBand === 656 + 657 + 658 +On the **Server ~-~-> Network Server** interface, choose the frequency Plan first. 659 + 660 +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. 661 + 653 653 [[image:image-20230602140406-3.png||height="480" width="918"]] 654 654 655 655 ... ... @@ -656,12 +656,12 @@ 656 656 When the configuration is complete, click** "Save&Apply"**. 657 657 658 658 659 -(% style="color:red" %)**Note:**(%%) When adding thedevice profile, the selected Region configuration is also calculated from 0, so setting it to us915_1 corresponds to US915 Sub Band 2.668 +(% 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. 660 660 661 661 [[image:image-20230602143122-4.png||height="511" width="983"]] 662 662 663 663 664 -= 5. Watch Dog = 673 += 5. LPS8-V2 Watch Dog = 665 665 666 666 667 667 LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 ) ... ... @@ -769,29 +769,33 @@ 769 769 770 770 Migrate guide: 771 771 772 - Tostabilize the completionofthemigration, Theuserscanmigratein oneof thefollowingways781 +**1. Ensure that the gateway is in good network condition, Recommended use of ETH.** 773 773 774 -** Method 1.UsingtheLinux shell, **783 +**2. On the Server ~-~-> Network Server interface, click "Management"** 775 775 776 - **Method 2. Flash a newimagewith the Chirpstack**785 +[[image:image-20230616162454-1.png]] 777 777 778 778 788 +**3. Click "Migrate-Chirpstack"** 779 779 780 - === Method 1:UsingtheLinux shell ===790 +[[image:image-20230616162742-2.png]] 781 781 782 -(% class="box infomessage" %) 783 -((( 784 -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 785 -))) 786 786 793 +**4. Strat Install ** 787 787 795 +Click start Install and wait until the migration succeeds 788 788 789 - === Method 2: Flash a newimage===797 +[[image:image-20230616162934-3.png]] 790 790 791 -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]] 792 792 800 +**5.Migration complete check result** 793 793 802 +[[image:image-20230616174526-4.png||height="706" width="983"]] 794 794 804 + 805 +[[image:image-20230616180004-9.png]] 806 + 807 + 795 795 == 8.3 How to reduce the 4g data consumed == 796 796 797 797 ... ... @@ -826,7 +826,7 @@ 826 826 827 827 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: 828 828 829 -[[http s:~~/~~/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]]842 +[[http:~~/~~/repo.dragino.com/release/hp0c-image/draginolps8v2-release-v1.7-230508.rar>>http://repo.dragino.com/release/hp0c-image/draginolps8v2-release-v1.7-230508.rar]] 830 830 831 831 832 832 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]] ... ... @@ -861,7 +861,6 @@ 861 861 862 862 [[image:image-20231017114417-3.png||height="543" width="679"]] 863 863 864 - 865 865 === 8.6.3 Dmesg Log === 866 866 867 867 Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: ... ... @@ -876,45 +876,6 @@ 876 876 [[image:image-20231017115124-4.png||height="215" width="880"]] 877 877 878 878 879 -=== 8.6.5 View gateway logs via Linux Command === 880 - 881 -**Semtech UDP Log :** 882 - 883 -(% class="box infomessage" %) 884 -((( 885 -**journalctl -u draginofwd -f** 886 -))) 887 - 888 -[[image:image-20231207144627-1.png||height="371" width="1017"]] 889 - 890 - 891 -**Station Log:** 892 - 893 -(% class="box infomessage" %) 894 -((( 895 -**tail -f /var/log/station.log ** 896 -))) 897 - 898 -[[image:image-20231207144758-2.png||height="132" width="1022"]] 899 - 900 - 901 -**Dmesg Log:** 902 - 903 -(% class="box infomessage" %) 904 -((( 905 -**dmesg** 906 -))) 907 - 908 -[[image:image-20231207145210-3.png||height="310" width="1021"]] 909 - 910 - 911 -== 8.7 DIN Mount Reference: == 912 - 913 -[[image:image-20240318095605-1.jpeg||height="472" width="472"]] 914 - 915 -[[image:image-20240318095617-2.png]] 916 - 917 - 918 918 = 9. Trouble Shooting = 919 919 920 920 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
- image-20231201165904-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -29.5 KB - Content
- image-20231201170355-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -70.2 KB - Content
- image-20231207144627-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -182.9 KB - Content
- image-20231207144758-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -51.0 KB - Content
- image-20231207145210-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -104.4 KB - Content
- image-20240203172853-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.5 KB - Content
- image-20240318095605-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.3 KB - Content
- image-20240318095617-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -32.9 KB - Content
- image-20240318160845-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -36.5 KB - Content