Changes for page LPS8v2 -- LoRaWAN Indoor Gateway User Manual
Last modified by Kilight Cao on 2024/12/31 16:31
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 16 removed)
- Delete Device.docx
- image-20231017111606-1.png
- image-20231017112115-2.png
- image-20231017114417-3.png
- image-20231017115124-4.png
- image-20231017115330-5.png
- image-20231031162854-1.png
- image-20231031162927-2.png
- image-20231106175329-1.png
- image-20231106175457-2.png
- image-20231106175523-3.png
- image-20231106180816-4.png
- image-20231106180846-5.png
- image-20231124113209-1.png
- image-20231201165904-1.png
- image-20231201170355-2.png
Details
- Page properties
-
- Content
-
... ... @@ -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" %)** ChirpStack**(%%) local LoRaWAN server84 +* Built-in (% style="color:#037691" %)**The Things Network**(%%) local LoRaWAN server 85 85 * Built-in (% style="color:#037691" %)**Node-Red** (%%)local Application server 86 86 87 87 == 1.4 LED Indicators == ... ... @@ -121,11 +121,6 @@ 121 121 **LED status: ** ETH LED will SOLID BULE Until the restore is finished. 122 122 123 123 124 -(% style="color:red" %)**Note: Restoring factory Settings does not erase data from the LPS8-V2 built-in server** 125 - 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 - 128 - 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. 3A0FallbackIPdoesnotwork2Chowcanuserscheck]]**190 +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]]** 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. ... ... @@ -479,7 +479,7 @@ 479 479 480 480 Shows the system info: 481 481 482 -[[image:image-202 31031162854-1.png]]477 +[[image:image-20220917144512-5.png||height="618" width="853"]] 483 483 484 484 485 485 === 3.5.2 System ~-~-> System General === ... ... @@ -495,7 +495,7 @@ 495 495 === 3.5.3 System ~-~-> Backup/Restore === 496 496 497 497 498 -[[image:image-202 31031162927-2.png]]493 +[[image:image-20220917144725-6.png||height="208" width="869"]] 499 499 500 500 501 501 === 3.5.4 System ~-~-> Remoteit === ... ... @@ -519,80 +519,101 @@ 519 519 520 520 = 4. Build-in Server = 521 521 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**(%%). 523 523 518 +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**(%%). 524 524 525 - == 1). LoRaWAN Network Server: (% style="color:blue"%)**ChirpStack-V4**(%%)==520 +[[image:image-20230616175617-8.png||height="390" width="894"]] 526 526 527 -[[image:image-2023 1106180816-4.png||height="416" width="896"]]522 +[[image:image-20230616175558-7.png||height="362" width="894"]] 528 528 529 -[[image:image-20231201165904-1.png||height="466" width="899"]] 530 530 531 -(% 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(%%)** 532 532 533 - Formore information onserver operations see [[Register LPSV2 tothe built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]526 +(% style="color:red" %)**Note:** 534 534 528 + **Path**: Server ~-~-> Network Server 535 535 530 + Server ~-~-> Application Server 536 536 537 -== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) == 538 538 533 +**Troubleshooting:** 539 539 540 -[[image:image-20230616175558-7.png||height="362" width="894"]] 541 541 542 - [[image:image-20231201170355-2.png||height="536"width="899"]]536 +**~ 1. URL does not jump properly** 543 543 544 - (%style="color:red"%)**Note:Theusercanaccessthe**(%%)** (%style="color:blue"%)Node-RED(% style="color:red"%)viaclickthe'Launch'button(%%)**538 + For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 545 545 540 + For the Node-Red, you can use the local IP address and the port is **1880** to access it. 546 546 547 547 548 -== **2).Troubleshooting:**==543 +== 4.1 LoRaWAN Network Server ~-~- ChirpStack == 549 549 550 550 551 -* ((( 552 -=== ** If the URL does not jump properly.** === 553 -))) 546 +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. 554 554 555 - FortheChirpStack, youcanuse the localIP addressand theportis **8080**toaccessit.548 +Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080 or http:~/~/<Local-IPV4-Address>//**__ 556 556 557 - For the Node-Red, you can use the local IP address and the port is **1880** to access it. 558 558 551 +Login account: 559 559 560 -* ((( 561 -=== ** How to install InfluxDB, Garfana.** === 562 -))) 553 +**Username : ** (% style="background-color:yellow" %)**admin** 563 563 564 - The LPS8V2 isnot pre-installedwithInfluxDBandGarfana,theuserscaninstallthem,see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]]555 +**Password: ** ** (% style="background-color:#ffff00" %)admin(%%)** 565 565 557 +[[image:image-20230616175332-6.png||height="519" width="1029"]] 566 566 567 -* ((( 568 -=== ** How to upgrade the gateway node.js to the latest version.** === 569 -))) 570 570 571 - The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 572 572 561 +=== 4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack === 573 573 574 -* ((( 575 -=== ** How to bath register device on the built-in Chirpstack network server** === 576 -))) 577 577 578 - The usercanregisterdevicesinbatchonthegatewayWebUI,see564 +Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply" 579 579 566 +The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 580 580 581 -* ((( 582 -=== ** Why my gateway is not Chirpstack?** === 583 -))) 568 +[[image:image-20230321092456-1.png]] 584 584 585 - After June '23, the default factory LPS8V2 pre-installed Chirpstack-V2 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 588 -* ((( 589 -=== ** How to disable the built-in server** === 590 -))) 572 +== 4.2 Application Server ~-~- Node-Red == 591 591 574 + 575 +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. 576 + 577 + 578 +Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880 or http:~/~/<Local-IPV4-Address>//**__ 579 + 580 + 581 +[[image:image-20220725172124-3.png||height="610" width="843"]] 582 + 583 + 584 + 585 +=== **Using Node-Red, InfluxDB and Grafana** === 586 + 587 +The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed. 588 + 589 + 590 +the users can refer to this link to install them. 591 + 592 +[[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]] 593 + 594 + 595 +=== **Upgrade the node.js** === 596 + 597 +By default, the LPS8-V2 node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old. 598 + 599 + 600 +the users can refer to this link to upgrade them. 601 + 602 +[[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.]] 603 + 604 + 605 +== 4.3 How to disable the built-in server == 606 + 607 + 608 +Use the following commands to start and stop the TTNv3 service: 609 + 592 592 (% class="box infomessage" %) 593 593 ((( 594 -Use the following commands to start and stop the TTNv3 service:** ** 595 - 596 596 **# start** 597 597 systemctl start ttnstack 598 598 ... ... @@ -606,10 +606,10 @@ 606 606 systemctl disable ttnstack 607 607 ))) 608 608 609 -(% class="box infomessage" %) 610 -((( 611 611 Use the following commands to start and stop the Node-Red service: 612 612 627 +(% class="box infomessage" %) 628 +((( 613 613 **# start** 614 614 systemctl start nodered 615 615 ... ... @@ -624,39 +624,33 @@ 624 624 ))) 625 625 626 626 627 -* ((( 628 -=== ** How to choose the Chirpstack server frequency SubBand** === 629 -))) 643 +== 4.4 How to use ChirpStack on LPS8-V2 == 630 630 631 -**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923. 632 632 633 - Note: SincethesubbandsoftheChirpstackarecountedfrom0,us915_1oftheChirpstackisequalto US915 FSB2, so ifyour LoRaRdio isusingthe US915 FSB2 youhave to choosethe us915_1asthe ChirpstackFSB.646 +By default, the built-in LoRaWAN network server used on LPS8v2 is TTNv3, so users need follow this link to install chirpstack: 634 634 635 -[[im age:image-20230602140406-3.png||height="480"width="918"]]648 +**[[Build-in The Things Network migrate to ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]** 636 636 637 637 638 - Whentheconfigurationis complete,click** "Save&Apply"**.651 +=== 4.4.1 How do users choose the chirpstack server frequency SubBand === 639 639 640 640 641 - (%style="color:red"%)**Note:**(%%) Whenaddingthedeviceprofile,theselectedRegionconfiguration isalso calculatedfrom 0, so setting it tous915_1 correspondsto US915 Sub Band2.654 +On the **Server ~-~-> Network Server** interface, choose the frequency Plan first. 642 642 643 - [[image:image-20230602143122-4.png||height="511"width="983"]]656 +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. 644 644 658 +[[image:image-20230602140406-3.png||height="480" width="918"]] 645 645 646 -= 5. Watch Dog = 647 647 661 +When the configuration is complete, click** "Save&Apply"**. 648 648 649 -LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 ) 650 650 651 - Theusescanbeathebelow methodtoenableWatchDog:664 +(% 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. 652 652 666 +[[image:image-20230602143122-4.png||height="511" width="983"]] 653 653 654 -(% class="box infomessage" %) 655 -((( 656 -wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh 657 -))) 658 658 659 - [[image:image-20231124113209-1.png||height="470"width="1157"]]669 += 5. How the LPS8-V2 connects to Chirpstack via gateway-bridge = 660 660 661 661 662 662 ... ... @@ -765,6 +765,7 @@ 765 765 766 766 **4. Strat Install ** 767 767 778 + 768 768 Click start Install and wait until the migration succeeds 769 769 770 770 [[image:image-20230616162934-3.png]] ... ... @@ -780,9 +780,9 @@ 780 780 781 781 == 8.3 How to reduce the 4g data consumed == 782 782 783 - 784 784 1). The gateway will check the network via ping 1.1.1.1/8.8.8.8 which will consume a lot of data, you can set the interval time to reduce data consume. 785 785 796 + 786 786 [[image:image-20230719100239-1.png||height="724" width="994"]] 787 787 788 788 ... ... @@ -790,77 +790,13 @@ 790 790 791 791 [[image:image-20230719100332-2.png]] 792 792 793 - 794 794 3. Disable the auto-update: 795 795 796 796 [[image:image-20230719100419-3.png||height="458" width="995"]] 797 797 798 798 799 -== 8.4 How to connect the helium blockchain as a Data-only hotspot == 800 800 801 801 802 -(% class="box infomessage" %) 803 -((( 804 -apt update && apt install helium-gateway 805 -))) 806 - 807 - 808 -== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. == 809 - 810 - 811 -By default, the LPS8v2's built-in server is ChirpStack v4, 812 - 813 -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: 814 - 815 -[[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]] 816 - 817 - 818 -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]] 819 - 820 - 821 -== 8.6 How do I view gateway logs == 822 - 823 -=== 8.6.1 LoRaWAN Log: === 824 - 825 -==== Semtech UDP Log : ==== 826 - 827 -When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface 828 - 829 -[[image:image-20231017112115-2.png||height="611" width="821"]] 830 - 831 - 832 -==== Station Log: ==== 833 - 834 -When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface 835 - 836 -[[image:image-20231017111606-1.png||height="622" width="821"]] 837 - 838 - 839 -=== 8.6.2 4G Log === 840 - 841 -The user needs to access the Linux console of the gateway and enter the following command: 842 - 843 -(% class="box infomessage" %) 844 -((( 845 -cat /var/log/qmilog.txt 846 -))) 847 - 848 -[[image:image-20231017114417-3.png||height="543" width="679"]] 849 - 850 -=== 8.6.3 Dmesg Log === 851 - 852 -Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: 853 - 854 -[[image:image-20231017115330-5.png||height="565" width="740"]] 855 - 856 - 857 -=== 8.6.4 Record Log === 858 - 859 -Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface 860 - 861 -[[image:image-20231017115124-4.png||height="215" width="880"]] 862 - 863 - 864 864 = 9. Trouble Shooting = 865 865 866 866 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. == ... ... @@ -920,36 +920,6 @@ 920 920 [[image:image-20230527090555-3.png||height="660" width="832"]] 921 921 922 922 923 -== 9.5 Why the LPS8V2's Access Point does not do not appear & Fallback IP unable to access == 924 - 925 - 926 -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. 927 - 928 - 929 -(% class="box infomessage" %) 930 -((( 931 -apt update && apt install *dragino* 932 - 933 -wget -P /tmp/ [[http:~~/~~/repo.dragino.com/release/hp0c-packages/linux-image-current-draginohp0z_22.05.2_armhf.deb>>http://repo.dragino.com/release/hp0c-packages/linux-image-current-draginohp0z_22.05.2_armhf.deb]] && dpkg -i /tmp/[[linux-image-current-draginohp0z_22.05.2_armhf.deb>>http://repo.dragino.com/release/hp0c-packages/linux-image-current-draginohp0z_22.05.2_armhf.deb]] 934 -))) 935 - 936 - 937 -== 9.6 How to reset the built-in server == 938 - 939 - 940 -**1) Build-in The Things Network** 941 - 942 -Refer to this link to delete the Built-in server's device. 943 - 944 -[[Delete devices from Build-in The Things Network>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Delete%20devices%20from%20Build-in%20The%20Things%20Network/]] 945 - 946 - 947 -**2) Build-in Chirpstack** 948 - 949 -Users need to click "Reset" on the Server~-~->NetServer interface, ChirpStack will be reset. 950 - 951 -[[image:image-20231106180846-5.png||height="310" width="668"]] 952 - 953 953 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) = 954 954 955 955
- Delete Device.docx
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -336.4 KB - Content
- image-20231017111606-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -117.6 KB - Content
- image-20231017112115-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -114.3 KB - Content
- image-20231017114417-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -130.4 KB - Content
- image-20231017115124-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -28.6 KB - Content
- image-20231017115330-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -110.1 KB - Content
- image-20231031162854-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -64.9 KB - Content
- image-20231031162927-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -35.0 KB - Content
- image-20231106175329-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -63.7 KB - Content
- image-20231106175457-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -63.7 KB - Content
- image-20231106175523-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -64.8 KB - Content
- image-20231106180816-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.6 KB - Content
- image-20231106180846-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.9 KB - Content
- image-20231124113209-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -198.7 KB - Content
- 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