Changes for page LPS8v2 -- LoRaWAN Indoor Gateway User Manual
Last modified by Kilight Cao on 2024/12/31 16:31
Change comment:
Uploaded new attachment "image-20231106175329-1.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 7 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoye1 +XWiki.Kilight - 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 == ... ... @@ -123,7 +123,7 @@ 123 123 124 124 (% style="color:red" %)**Note: Restoring factory Settings does not erase data from the LPS8-V2 built-in server** 125 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]]**126 +See this link for steps on how to clear data from the built-in server: **[[How to clear data from the built-in server>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.6A0Howtocleardatafromthebuilt-inserver]]** 127 127 128 128 129 129 = 2. Quick Start = ... ... @@ -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]]**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]]** 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. ... ... @@ -519,68 +519,100 @@ 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 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**(%%). 524 524 525 - == 1). LoRaWAN Network Server: (% style="color:blue"%)**ChirpStack-V4**(%%)==525 +[[image:image-20230616175617-8.png||height="390" width="894"]] 526 526 527 -[[image:image-2023 1106180816-4.png||height="416" width="896"]]527 +[[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"]]531 +(% style="color:red" %)**Note:** 534 534 533 + **Path**: Server ~-~-> Network Server 535 535 535 + Server ~-~-> Application Server 536 536 537 -== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) == 538 538 538 +**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"]]541 +**~ 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(%%)**543 + For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 545 545 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 -== **2).Troubleshooting:**==548 +== 4.1 LoRaWAN Network Server ~-~- ChirpStack == 549 549 550 550 551 -= ==**1.Ifthe URL doesnotjumpproperly.** ===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. 552 552 553 - FortheChirpStack, youcanuse the localIP addressand theportis **8080**toaccessit.553 +Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080 or http:~/~/<Local-IPV4-Address>//**__ 554 554 555 - For the Node-Red, you can use the local IP address and the port is **1880** to access it. 556 556 556 +Login account: 557 557 558 - ===**2.HowtoinstallInfluxDB,Garfana.**===558 +**Username : ** (% style="background-color:yellow" %)**admin** 559 559 560 - The LPS8V2 isnot pre-installedInfluxDBandGarfana,theuserscaninstallthem,see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]]560 +**Password: ** ** (% style="background-color:#ffff00" %)admin(%%)** 561 561 562 +[[image:image-20230616175332-6.png||height="519" width="1029"]] 562 562 563 -=== **3. How to upgade the gateway node.js to the latest version.** === 564 564 565 - The user can upgrade nodejs, see [[Upgarde Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 566 566 566 +=== 4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack === 567 567 568 -=== **4. How bath register device on the built-in Chirpstack network server** === 569 569 570 - The usercanregisterdevicesinbatchonthegatewayWebUI,see569 +Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply" 571 571 571 +The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 572 572 573 - === **5. Whymy gatewayis not Chirpstack?** ===573 +[[image:image-20230321092456-1.png]] 574 574 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]]** 576 576 576 +== 4.2 Application Server ~-~- Node-Red == 577 577 578 -=== **6. How to disable the built-in server** === 579 579 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. 580 + 581 + 582 +Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880 or http:~/~/<Local-IPV4-Address>//**__ 583 + 584 + 585 +[[image:image-20220725172124-3.png||height="610" width="843"]] 586 + 587 + 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 + 580 580 (% class="box infomessage" %) 581 581 ((( 582 -Use the following commands to start and stop the TTNv3 service:** ** 583 - 584 584 **# start** 585 585 systemctl start ttnstack 586 586 ... ... @@ -594,10 +594,10 @@ 594 594 systemctl disable ttnstack 595 595 ))) 596 596 597 -(% class="box infomessage" %) 598 -((( 599 599 Use the following commands to start and stop the Node-Red service: 600 600 631 +(% class="box infomessage" %) 632 +((( 601 601 **# start** 602 602 systemctl start nodered 603 603 ... ... @@ -612,8 +612,17 @@ 612 612 ))) 613 613 614 614 615 -== =**7.choosethe chirpstackserver frequencySubBand**===647 +== 4.4 How to use ChirpStack on LPS8-V2 == 616 616 649 + 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. 651 + 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 + 617 617 On the **Server ~-~-> Network Server** interface, choose the frequency Plan first. 618 618 619 619 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. ... ... @@ -629,23 +629,10 @@ 629 629 [[image:image-20230602143122-4.png||height="511" width="983"]] 630 630 631 631 632 -= 5. WatchDog =673 += 5. How the LPS8-V2 connects to Chirpstack via gateway-bridge = 633 633 634 634 635 -LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 ) 636 636 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 - 649 649 = 6. How users can access LPS8-V2 using serial USB = 650 650 651 651 ... ... @@ -794,16 +794,7 @@ 794 794 == 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. == 795 795 796 796 797 -By default, the LPS8v2's built-in server is ChirpStack v4, 798 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 807 == 8.6 How do I view gateway logs == 808 808 809 809 === 8.6.1 LoRaWAN Log: === ... ... @@ -920,7 +920,7 @@ 920 920 ))) 921 921 922 922 923 -== 9.6 How to reset the built-in server ==942 +== 9.6 How to clear data from the built-in server == 924 924 925 925 926 926 **1) Build-in The Things Network** ... ... @@ -932,10 +932,8 @@ 932 932 933 933 **2) Build-in Chirpstack** 934 934 935 - Usersneedclick"Reset"onheServer~-~->NetServer interface,ChirpStackwill be reset.954 +[[Clear data from Build-in ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/Delete%20devices%20from%20Build-in%20The%20Things%20Network/#H3.A0Deletedevicesfrombuilt-inChirpStack]] 936 936 937 -[[image:image-20231106180846-5.png||height="310" width="668"]] 938 - 939 939 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) = 940 940 941 941
- 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