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, 15 added, 0 removed)
- 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 ... ... @@ -127,7 +127,7 @@ 127 127 128 128 (% style="color:red" %)**Note: Restoring factory Settings does not erase data from the LPS8-V2 built-in server** 129 129 130 -See this link for steps on how to clear data from the built-in server: **[[How to cleardatafromthe built-in server>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.6A0Howtocleardatafromthebuilt-inserver]]**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]]** 131 131 132 132 133 133 = 2. Quick Start = ... ... @@ -196,7 +196,7 @@ 196 196 197 197 Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]** 198 198 199 -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]]** 200 200 201 201 202 202 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console. ... ... @@ -260,8 +260,6 @@ 260 260 261 261 * **Cellular Mode** 262 262 263 - 264 - 265 265 === 2.2.2 Use WAN port to access Internet === 266 266 267 267 ... ... @@ -485,7 +485,7 @@ 485 485 486 486 Shows the system info: 487 487 488 -[[image:image-202 20917144512-5.png||height="618" width="853"]]482 +[[image:image-20231031162854-1.png]] 489 489 490 490 491 491 === 3.5.2 System ~-~-> System General === ... ... @@ -501,7 +501,7 @@ 501 501 === 3.5.3 System ~-~-> Backup/Restore === 502 502 503 503 504 -[[image:image-202 20917144725-6.png||height="208" width="869"]]498 +[[image:image-20231031162927-2.png]] 505 505 506 506 507 507 === 3.5.4 System ~-~-> Remoteit === ... ... @@ -525,100 +525,68 @@ 525 525 526 526 = 4. Build-in Server = 527 527 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**(%%). 528 528 529 -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**(%%). 530 530 531 - [[image:image-20230616175617-8.png||height="390"width="894"]]525 +== 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) == 532 532 533 -[[image:image-2023061 6175558-7.png||height="362" width="894"]]527 +[[image:image-20231106180816-4.png||height="416" width="896"]] 534 534 529 +[[image:image-20231201165904-1.png||height="466" width="899"]] 535 535 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(%%)** 536 536 537 - (%style="color:red" %)**Note:**533 +For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 538 538 539 - **Path**: Server ~-~-> Network Server 540 540 541 - Server ~-~-> Application Server 542 542 537 +== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) == 543 543 544 -**Troubleshooting:** 545 545 540 +[[image:image-20230616175558-7.png||height="362" width="894"]] 546 546 547 - **~1.URL doesnotjump properly**542 +[[image:image-20231201170355-2.png||height="536" width="899"]] 548 548 549 - 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(%%)** 550 550 551 - For the Node-Red, you can use the local IP address and the port is **1880** to access it. 552 552 553 553 554 -== 4.1LoRaWAN Network Server ~-~- ChirpStack==548 +== **2). Troubleshooting:** == 555 555 556 556 557 - 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.** === 558 558 559 - 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. 560 560 555 + For the Node-Red, you can use the local IP address and the port is **1880** to access it. 561 561 562 -Login account: 563 563 564 - **Username:**(%style="background-color:yellow"%)**admin**558 +=== **2. How to install InfluxDB, Garfana.** === 565 565 566 - **Password:****(%style="background-color:#ffff00" %)admin(%%)**560 + 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]] 567 567 568 -[[image:image-20230616175332-6.png||height="519" width="1029"]] 569 569 563 +=== **3. How to upgade the gateway node.js to the latest version.** === 570 570 565 + The user can upgrade nodejs, see [[Upgarde Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 571 571 572 -=== 4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack === 573 573 568 +=== **4. How bath register device on the built-in Chirpstack network server** === 574 574 575 - UsersneedtosettheServiceProviderto(%style="color:blue"%)**LocalHost/Build-in Server**(%%)andclick"Save&Apply"570 + The user can register devices in batch on the gateway Web UI, see 576 576 577 -The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 578 578 579 - [[image:image-20230321092456-1.png]]573 +=== **5. Why my gateway is not Chirpstack?** === 580 580 575 + 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]]** 581 581 582 -== 4.2 Application Server ~-~- Node-Red == 583 583 578 +=== **6. How to disable the built-in server** === 584 584 585 -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. 586 - 587 - 588 -Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880 or http:~/~/<Local-IPV4-Address>//**__ 589 - 590 - 591 -[[image:image-20220725172124-3.png||height="610" width="843"]] 592 - 593 - 594 - 595 -=== **Using Node-Red, InfluxDB and Grafana** === 596 - 597 -The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed. 598 - 599 - 600 -the users can refer to this link to install them. 601 - 602 -[[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]] 603 - 604 - 605 -=== **Upgrade the node.js** === 606 - 607 -By default, the LPS8-V2 node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old. 608 - 609 - 610 -the users can refer to this link to upgrade them. 611 - 612 -[[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.]] 613 - 614 - 615 -== 4.3 How to disable the built-in server == 616 - 617 - 618 -Use the following commands to start and stop the TTNv3 service: 619 - 620 620 (% class="box infomessage" %) 621 621 ((( 582 +Use the following commands to start and stop the TTNv3 service:** ** 583 + 622 622 **# start** 623 623 systemctl start ttnstack 624 624 ... ... @@ -632,10 +632,10 @@ 632 632 systemctl disable ttnstack 633 633 ))) 634 634 635 -Use the following commands to start and stop the Node-Red service: 636 - 637 637 (% class="box infomessage" %) 638 638 ((( 599 +Use the following commands to start and stop the Node-Red service: 600 + 639 639 **# start** 640 640 systemctl start nodered 641 641 ... ... @@ -650,17 +650,8 @@ 650 650 ))) 651 651 652 652 653 -== 4.4HowtouseChirpStackonLPS8-V2==615 +=== **7. How choose the chirpstack server frequency SubBand** === 654 654 655 - 656 -By default, the built-in LoRaWAN network server used on LPS8v2 is TTNv3, so users need follow this link to install chirpstack: 657 - 658 -**[[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]]** 659 - 660 - 661 -=== 4.4.1 How do users choose the chirpstack server frequency SubBand === 662 - 663 - 664 664 On the **Server ~-~-> Network Server** interface, choose the frequency Plan first. 665 665 666 666 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. ... ... @@ -676,10 +676,23 @@ 676 676 [[image:image-20230602143122-4.png||height="511" width="983"]] 677 677 678 678 679 -= 5. Howthe LPS8-V2connects to Chirpstackviagateway-bridge=632 += 5. Watch Dog = 680 680 681 681 635 +LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 ) 682 682 637 +The uses can be via the below method to enable Watch Dog: 638 + 639 + 640 +(% class="box infomessage" %) 641 +((( 642 +wget -P /tmp/ http:~/~/repo.dragino.com/release/tool/watchdog/enable_watchdog.sh && chmod +x /tmp/enable_watchdog.sh && /tmp/enable_watchdog.sh 643 +))) 644 + 645 +[[image:image-20231124113209-1.png||height="470" width="1157"]] 646 + 647 + 648 + 683 683 = 6. How users can access LPS8-V2 using serial USB = 684 684 685 685 ... ... @@ -825,6 +825,62 @@ 825 825 ))) 826 826 827 827 794 +== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. == 795 + 796 + 797 +By default, the LPS8v2's built-in server is ChirpStack v4, 798 + 799 +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: 800 + 801 +[[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]] 802 + 803 + 804 +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]] 805 + 806 + 807 +== 8.6 How do I view gateway logs == 808 + 809 +=== 8.6.1 LoRaWAN Log: === 810 + 811 +==== Semtech UDP Log : ==== 812 + 813 +When the gateway starts LoRaWAN Semtech UDP, users can check the logs of the Semtech UDP in the **LogRead ~-~-> System Log** interface 814 + 815 +[[image:image-20231017112115-2.png||height="611" width="821"]] 816 + 817 + 818 +==== Station Log: ==== 819 + 820 +When the gateway starts Basic Station, users can check the logs of the station in the **LogRead ~-~-> System Log** interface 821 + 822 +[[image:image-20231017111606-1.png||height="622" width="821"]] 823 + 824 + 825 +=== 8.6.2 4G Log === 826 + 827 +The user needs to access the Linux console of the gateway and enter the following command: 828 + 829 +(% class="box infomessage" %) 830 +((( 831 +cat /var/log/qmilog.txt 832 +))) 833 + 834 +[[image:image-20231017114417-3.png||height="543" width="679"]] 835 + 836 +=== 8.6.3 Dmesg Log === 837 + 838 +Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface: 839 + 840 +[[image:image-20231017115330-5.png||height="565" width="740"]] 841 + 842 + 843 +=== 8.6.4 Record Log === 844 + 845 +Users can record DMESG logs and LoRaWAN logs on the **LogRead ~-~->Record Log** interface 846 + 847 +[[image:image-20231017115124-4.png||height="215" width="880"]] 848 + 849 + 828 828 = 9. Trouble Shooting = 829 829 830 830 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. == ... ... @@ -892,13 +892,13 @@ 892 892 893 893 (% class="box infomessage" %) 894 894 ((( 895 -apt update && apt install dragino -fallback917 +apt update && apt install *dragino* 896 896 897 897 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]] 898 898 ))) 899 899 900 900 901 -== 9.6 How to cleardatafromthe built-in server ==923 +== 9.6 How to reset the built-in server == 902 902 903 903 904 904 **1) Build-in The Things Network** ... ... @@ -910,7 +910,10 @@ 910 910 911 911 **2) Build-in Chirpstack** 912 912 935 +Users need to click "Reset" on the Server~-~->NetServer interface, ChirpStack will be reset. 913 913 937 +[[image:image-20231106180846-5.png||height="310" width="668"]] 938 + 914 914 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) = 915 915 916 916 ... ... @@ -928,7 +928,6 @@ 928 928 * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]]. 929 929 * [[Advance OS Reference Guide for LPS8v2>>doc:Main.Armbian OS instruction.WebHome]]. 930 930 931 - 932 932 933 933 ))) 934 934
- 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