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, 16 added, 0 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
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.Xiao ling1 +XWiki.Xiaoye - Content
-
... ... @@ -66,8 +66,6 @@ 66 66 * Storage Temperature: -20 ~~ 70°C 67 67 * Power Input: 5V, 2A, DC 68 68 69 - 70 - 71 71 == 1.3 Features == 72 72 73 73 ... ... @@ -83,11 +83,9 @@ 83 83 ** Semtech UDP Packet Forwarder 84 84 ** LoRaWAN Basic Station 85 85 ** ChirpStack-Gateway-Bridge (MQTT) 86 -* Built-in (% style="color:#037691" %)** The Things Network**(%%) local LoRaWAN server84 +* Built-in (% style="color:#037691" %)**ChirpStack**(%%) local LoRaWAN server 87 87 * Built-in (% style="color:#037691" %)**Node-Red** (%%)local Application server 88 88 89 - 90 - 91 91 == 1.4 LED Indicators == 92 92 93 93 ... ... @@ -125,6 +125,11 @@ 125 125 **LED status: ** ETH LED will SOLID BULE Until the restore is finished. 126 126 127 127 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 + 128 128 = 2. Quick Start = 129 129 130 130 ... ... @@ -191,7 +191,7 @@ 191 191 192 192 Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]** 193 193 194 -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]]**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]]** 195 195 196 196 197 197 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console. ... ... @@ -255,8 +255,6 @@ 255 255 256 256 * **Cellular Mode** 257 257 258 - 259 - 260 260 === 2.2.2 Use WAN port to access Internet === 261 261 262 262 ... ... @@ -480,7 +480,7 @@ 480 480 481 481 Shows the system info: 482 482 483 -[[image:image-202 20917144512-5.png||height="618" width="853"]]482 +[[image:image-20231031162854-1.png]] 484 484 485 485 486 486 === 3.5.2 System ~-~-> System General === ... ... @@ -496,7 +496,7 @@ 496 496 === 3.5.3 System ~-~-> Backup/Restore === 497 497 498 498 499 -[[image:image-202 20917144725-6.png||height="208" width="869"]]498 +[[image:image-20231031162927-2.png]] 500 500 501 501 502 502 === 3.5.4 System ~-~-> Remoteit === ... ... @@ -520,101 +520,60 @@ 520 520 521 521 = 4. Build-in Server = 522 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**(%%). 523 523 524 -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**(%%). 525 525 526 - [[image:image-20230616175617-8.png||height="390"width="894"]]525 +== 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) == 527 527 528 -[[image:image-2023061 6175558-7.png||height="362" width="894"]]527 +[[image:image-20231106180816-4.png||height="416" width="896"]] 529 529 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(%%)** 531 531 532 - (%style="color:red" %)**Note:**533 +For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 533 533 534 - **Path**: Server ~-~-> Network Server 535 535 536 - Server ~-~-> Application Server 537 537 537 +== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) == 538 538 539 -**Troubleshooting:** 540 540 540 +[[image:image-20230616175558-7.png||height="362" width="894"]] 541 541 542 - **~1.URL doesnotjump properly**542 +[[image:image-20231201170355-2.png||height="536" width="899"]] 543 543 544 - For theChirpStack,you canuse the localIP addressand theportis**8080**toaccessit.544 +(% style="color:red" %)**Note: The user can access the**(%%)** (% style="color:blue" %)Node-RED (% style="color:red" %)via click the 'Launch' button(%%)** 545 545 546 - For the Node-Red, you can use the local IP address and the port is **1880** to access it. 547 547 548 548 549 -== 4.1LoRaWAN Network Server ~-~- ChirpStack==548 +== **2). Troubleshooting:** == 550 550 551 551 552 - You can access the gateway's built-in LNS server of (% style="color:blue" %)**ChirpStack**(%%)viathe URL((% style="background-color:yellow" %)__**//http:~/~/<hostname>:8080or http:~/~/<local-IPV4-address>//**__(%%)) in yourbrowser.551 +**~1. If the URL does not jump properly.** 553 553 554 - Suchas(%style="background-color:yellow"%)__**//http:~/~/dragino-54ff12:8080or http:~/~/<Local-IPV4-Address>//**__553 + For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 555 555 555 + For the Node-Red, you can use the local IP address and the port is **1880** to access it. 556 556 557 - Loginccount:557 +**2. How to install InfluxDB, Garfana.** 558 558 559 - **Username:**(%style="background-color:yellow" %)**admin**559 + 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]] 560 560 561 -** Password:**** (%style="background-color:#ffff00" %)admin(%%)**561 +**3. How to upgade the gateway node.js to the latest version.** 562 562 563 -[[ image:image-20230616175332-6.png||height="519" width="1029"]]563 + The user can upgrade nodejs, see [[Upgarde Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 564 564 565 +**4. How bath register device on the built-in Chirpstack network server** 565 565 567 + The user can register devices in batch on the gateway Web UI, see 566 566 567 -=== 4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack === 569 +(% class="wikigeneratedid" id="H4.3A0Howtodisablethebuilt-inserver" %) 570 +**5. How to disable the built-in server** 568 568 569 - 570 -Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply" 571 - 572 -The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 573 - 574 -[[image:image-20230321092456-1.png]] 575 - 576 - 577 - 578 -== 4.2 Application Server ~-~- Node-Red == 579 - 580 - 581 -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. 582 - 583 - 584 -Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880 or http:~/~/<Local-IPV4-Address>//**__ 585 - 586 - 587 -[[image:image-20220725172124-3.png||height="610" width="843"]] 588 - 589 - 590 - 591 -=== **Using Node-Red, InfluxDB and Grafana** === 592 - 593 -The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed. 594 - 595 - 596 -the users can refer to this link to install them. 597 - 598 -[[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]] 599 - 600 - 601 -=== **Upgrade the node.js** === 602 - 603 -By default, the LPS8-V2 node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old. 604 - 605 - 606 -the users can refer to this link to upgrade them. 607 - 608 -[[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.]] 609 - 610 - 611 -== 4.3 How to disable the built-in server == 612 - 613 - 614 -Use the following commands to start and stop the TTNv3 service: 615 - 616 616 (% class="box infomessage" %) 617 617 ((( 574 +Use the following commands to start and stop the TTNv3 service:** ** 575 + 618 618 **# start** 619 619 systemctl start ttnstack 620 620 ... ... @@ -628,10 +628,10 @@ 628 628 systemctl disable ttnstack 629 629 ))) 630 630 631 -Use the following commands to start and stop the Node-Red service: 632 - 633 633 (% class="box infomessage" %) 634 634 ((( 591 +Use the following commands to start and stop the Node-Red service: 592 + 635 635 **# start** 636 636 systemctl start nodered 637 637 ... ... @@ -646,14 +646,14 @@ 646 646 ))) 647 647 648 648 649 -== 4.4 How to use ChirpStack on LPS8-V2 == 607 +(% class="wikigeneratedid" id="H4.4A0WhymygatewayisnotChirpstack3F" %) 608 +6. Why my gateway is not Chirpstack? 650 650 610 +After June '23, the default factory LPS8V2 pre-installed Chirpstack-V2 instead of The Things Stack, the users can migrate to Chistack-V4 by the below instruction 651 651 652 - By default,thebuilt-in LoRaWAN networkserver usedLPS8v2isTTNv3, so usersneedfollowthisk toinstall chirpstack:612 +**[[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 653 654 -**[[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]]** 655 655 656 - 657 657 === 4.4.1 How do users choose the chirpstack server frequency SubBand === 658 658 659 659 ... ... @@ -672,10 +672,23 @@ 672 672 [[image:image-20230602143122-4.png||height="511" width="983"]] 673 673 674 674 675 -= 5. Howthe LPS8-V2connects to Chirpstackviagateway-bridge=633 += 5. Watch Dog = 676 676 677 677 636 +LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 ) 678 678 638 +The uses can be via the below method to enable Watch Dog: 639 + 640 + 641 +(% class="box infomessage" %) 642 +((( 643 +wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh 644 +))) 645 + 646 +[[image:image-20231124113209-1.png||height="470" width="1157"]] 647 + 648 + 649 + 679 679 = 6. How users can access LPS8-V2 using serial USB = 680 680 681 681 ... ... @@ -821,6 +821,62 @@ 821 821 ))) 822 822 823 823 795 +== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. == 796 + 797 + 798 +By default, the LPS8v2's built-in server is ChirpStack v4, 799 + 800 +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: 801 + 802 +[[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]] 803 + 804 + 805 +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]] 806 + 807 + 808 +== 8.6 How do I view gateway logs == 809 + 810 +=== 8.6.1 LoRaWAN Log: === 811 + 812 +==== Semtech UDP Log : ==== 813 + 814 +When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface 815 + 816 +[[image:image-20231017112115-2.png||height="611" width="821"]] 817 + 818 + 819 +==== Station Log: ==== 820 + 821 +When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface 822 + 823 +[[image:image-20231017111606-1.png||height="622" width="821"]] 824 + 825 + 826 +=== 8.6.2 4G Log === 827 + 828 +The user needs to access the Linux console of the gateway and enter the following command: 829 + 830 +(% class="box infomessage" %) 831 +((( 832 +cat /var/log/qmilog.txt 833 +))) 834 + 835 +[[image:image-20231017114417-3.png||height="543" width="679"]] 836 + 837 +=== 8.6.3 Dmesg Log === 838 + 839 +Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: 840 + 841 +[[image:image-20231017115330-5.png||height="565" width="740"]] 842 + 843 + 844 +=== 8.6.4 Record Log === 845 + 846 +Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface 847 + 848 +[[image:image-20231017115124-4.png||height="215" width="880"]] 849 + 850 + 824 824 = 9. Trouble Shooting = 825 825 826 826 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. == ... ... @@ -888,12 +888,28 @@ 888 888 889 889 (% class="box infomessage" %) 890 890 ((( 891 -apt update && apt install dragino -fallback918 +apt update && apt install *dragino* 892 892 893 893 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]] 894 894 ))) 895 895 896 896 924 +== 9.6 How to reset the built-in server == 925 + 926 + 927 +**1) Build-in The Things Network** 928 + 929 +Refer to this link to delete the Built-in server's device. 930 + 931 +[[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/]] 932 + 933 + 934 +**2) Build-in Chirpstack** 935 + 936 +Users need to click "Reset" on the Server~-~->NetServer interface, ChirpStack will be reset. 937 + 938 +[[image:image-20231106180846-5.png||height="310" width="668"]] 939 + 897 897 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) = 898 898 899 899 ... ... @@ -911,7 +911,6 @@ 911 911 * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]]. 912 912 * [[Advance OS Reference Guide for LPS8v2>>doc:Main.Armbian OS instruction.WebHome]]. 913 913 914 - 915 915 916 916 ))) 917 917
- Delete Device.docx
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +336.4 KB - Content
- image-20231017111606-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +117.6 KB - Content
- image-20231017112115-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +114.3 KB - Content
- image-20231017114417-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +130.4 KB - Content
- image-20231017115124-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +28.6 KB - Content
- image-20231017115330-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +110.1 KB - Content
- image-20231031162854-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.9 KB - Content
- image-20231031162927-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.0 KB - Content
- image-20231106175329-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.7 KB - Content
- image-20231106175457-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.7 KB - Content
- image-20231106175523-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.8 KB - Content
- image-20231106180816-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +41.6 KB - Content
- image-20231106180846-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +41.9 KB - Content
- 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