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, 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
-
- Content
-
... ... @@ -66,7 +66,6 @@ 66 66 * Storage Temperature: -20 ~~ 70°C 67 67 * Power Input: 5V, 2A, DC 68 68 69 - 70 70 == 1.3 Features == 71 71 72 72 ... ... @@ -82,10 +82,9 @@ 82 82 ** Semtech UDP Packet Forwarder 83 83 ** LoRaWAN Basic Station 84 84 ** ChirpStack-Gateway-Bridge (MQTT) 85 -* Built-in (% style="color:#037691" %)** The Things Network**(%%) local LoRaWAN server84 +* Built-in (% style="color:#037691" %)**ChirpStack**(%%) local LoRaWAN server 86 86 * Built-in (% style="color:#037691" %)**Node-Red** (%%)local Application server 87 87 88 - 89 89 == 1.4 LED Indicators == 90 90 91 91 ... ... @@ -123,6 +123,11 @@ 123 123 **LED status: ** ETH LED will SOLID BULE Until the restore is finished. 124 124 125 125 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 + 126 126 = 2. Quick Start = 127 127 128 128 ... ... @@ -189,7 +189,7 @@ 189 189 190 190 Configure computer Ethernet port steps video: **[[attach:fallback ip.mp4||target="_blank"]]** 191 191 192 -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]]** 193 193 194 194 195 195 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console. ... ... @@ -476,7 +476,7 @@ 476 476 477 477 Shows the system info: 478 478 479 -[[image:image-202 20917144512-5.png||height="618" width="853"]]482 +[[image:image-20231031162854-1.png]] 480 480 481 481 482 482 === 3.5.2 System ~-~-> System General === ... ... @@ -492,7 +492,7 @@ 492 492 === 3.5.3 System ~-~-> Backup/Restore === 493 493 494 494 495 -[[image:image-202 20917144725-6.png||height="208" width="869"]]498 +[[image:image-20231031162927-2.png]] 496 496 497 497 498 498 === 3.5.4 System ~-~-> Remoteit === ... ... @@ -516,101 +516,80 @@ 516 516 517 517 = 4. Build-in Server = 518 518 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**(%%). 519 519 520 -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**(%%). 521 521 522 - [[image:image-20230616175617-8.png||height="390"width="894"]]525 +== 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) == 523 523 524 -[[image:image-2023061 6175558-7.png||height="362" width="894"]]527 +[[image:image-20231106180816-4.png||height="416" width="896"]] 525 525 529 +[[image:image-20231201165904-1.png||height="466" width="899"]] 526 526 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(%%)** 527 527 528 - (%style="color:red" %)**Note:**533 +For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 529 529 530 - **Path**: Server ~-~-> Network Server 531 531 532 - Server ~-~-> Application Server 533 533 537 +== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) == 534 534 535 -**Troubleshooting:** 536 536 540 +[[image:image-20230616175558-7.png||height="362" width="894"]] 537 537 538 - **~1.URL doesnotjump properly**542 +[[image:image-20231201170355-2.png||height="536" width="899"]] 539 539 540 - 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(%%)** 541 541 542 - For the Node-Red, you can use the local IP address and the port is **1880** to access it. 543 543 544 544 545 -== 4.1LoRaWAN Network Server ~-~- ChirpStack==548 +== **2). Troubleshooting:** == 546 546 547 547 548 -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. 551 +* ((( 552 +=== ** If the URL does not jump properly.** === 553 +))) 549 549 550 - Suchas(%style="background-color:yellow"%)__**//http:~/~/dragino-54ff12:8080or http:~/~/<Local-IPV4-Address>//**__555 + For the ChirpStack, you can use the local IP address and the port is **8080** to access it. 551 551 557 + For the Node-Red, you can use the local IP address and the port is **1880** to access it. 552 552 553 -Login account: 554 554 555 -**Username : ** (% style="background-color:yellow" %)**admin** 560 +* ((( 561 +=== ** How to install InfluxDB, Garfana.** === 562 +))) 556 556 557 - **Password:**** (%style="background-color:#ffff00" %)admin(%%)**564 + The LPS8V2 is not pre-installed with InfluxDB and Garfana, the users can install them, see [[InfluxDB>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]] 558 558 559 -[[image:image-20230616175332-6.png||height="519" width="1029"]] 560 560 567 +* ((( 568 +=== ** How to upgrade the gateway node.js to the latest version.** === 569 +))) 561 561 571 + The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]] 562 562 563 -=== 4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack === 564 564 574 +* ((( 575 +=== ** How to bath register device on the built-in Chirpstack network server** === 576 +))) 565 565 566 - UsersneedtosettheServiceProviderto(%style="color:blue"%)**LocalHost/Build-in Server**(%%)andclick"Save&Apply"578 + The user can register devices in batch on the gateway Web UI, see 567 567 568 -The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]] 569 569 570 -[[image:image-20230321092456-1.png]] 581 +* ((( 582 +=== ** Why my gateway is not Chirpstack?** === 583 +))) 571 571 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]]** 572 572 573 573 574 -== 4.2 Application Server ~-~- Node-Red == 588 +* ((( 589 +=== ** How to disable the built-in server** === 590 +))) 575 575 576 - 577 -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. 578 - 579 - 580 -Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880 or http:~/~/<Local-IPV4-Address>//**__ 581 - 582 - 583 -[[image:image-20220725172124-3.png||height="610" width="843"]] 584 - 585 - 586 - 587 -=== **Using Node-Red, InfluxDB and Grafana** === 588 - 589 -The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed. 590 - 591 - 592 -the users can refer to this link to install them. 593 - 594 -[[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]] 595 - 596 - 597 -=== **Upgrade the node.js** === 598 - 599 -By default, the LPS8-V2 node.js uses the pre-install version v12 which is due to Debian the ultra-stable via ultra-old. 600 - 601 - 602 -the users can refer to this link to upgrade them. 603 - 604 -[[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.]] 605 - 606 - 607 -== 4.3 How to disable the built-in server == 608 - 609 - 610 -Use the following commands to start and stop the TTNv3 service: 611 - 612 612 (% class="box infomessage" %) 613 613 ((( 594 +Use the following commands to start and stop the TTNv3 service:** ** 595 + 614 614 **# start** 615 615 systemctl start ttnstack 616 616 ... ... @@ -624,10 +624,10 @@ 624 624 systemctl disable ttnstack 625 625 ))) 626 626 627 -Use the following commands to start and stop the Node-Red service: 628 - 629 629 (% class="box infomessage" %) 630 630 ((( 611 +Use the following commands to start and stop the Node-Red service: 612 + 631 631 **# start** 632 632 systemctl start nodered 633 633 ... ... @@ -642,33 +642,39 @@ 642 642 ))) 643 643 644 644 645 -== 4.4 How to use ChirpStack on LPS8-V2 == 627 +* ((( 628 +=== ** How to choose the Chirpstack server frequency SubBand** === 629 +))) 646 646 631 +**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923. 647 647 648 - Bydefault,thebuilt-inLoRaWANnetworkserverused onLPS8v2 is TTNv3, sousersneedfollowthislinktoinstallchirpstack:633 + Note: Since the subbands of the Chirpstack are counted from 0, us915_1 of the Chirpstack is equal to US915 FSB2, so if your LoRa Rdio is using the US915 FSB2 you have to choose the us915_1 as the Chirpstack FSB. 649 649 650 - **[[Build-in The Things Networkmigrateto ChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H9.2Build-inTheThingsNetworkmigratetoChirpStack]]**635 +[[image:image-20230602140406-3.png||height="480" width="918"]] 651 651 652 652 653 - ===4.4.1How douserschoosehe chirpstackserver frequencySubBand ===638 +When the configuration is complete, click** "Save&Apply"**. 654 654 655 655 656 - Onthe **Server~-~->NetworkServer**interface,choosethe frequencyPlanfirst.641 +(% style="color:red" %)**Note:**(%%) When adding the device profile, the selected Region configuration is also calculated from 0, so setting it to us915_1 corresponds to US915 Sub Band 2. 657 657 658 - If the frequency Plan usedis CN470, US915, AU915, or AS923, the user needs to choose a frequency sub-band, because thefrequency Sub Band of ChirpStack starts from 0, so for example, us915_1correspondsto the actual frequency US915_2.643 +[[image:image-20230602143122-4.png||height="511" width="983"]] 659 659 660 -[[image:image-20230602140406-3.png||height="480" width="918"]] 661 661 646 += 5. Watch Dog = 662 662 663 -When the configuration is complete, click** "Save&Apply"**. 664 664 649 +LPS8-V2 supports the Watch Dog but is not enabled by the previous releases(2023-11-24 ) 665 665 666 - (%style="color:red"%)**Note:**(%%) Whenaddingdeviceprofile,theselected Regionconfiguration is also calculated from0, so setting it tous915_1 correspondstoUS915 SubBand2.651 +The uses can be via the below method to enable Watch Dog: 667 667 668 -[[image:image-20230602143122-4.png||height="511" width="983"]] 669 669 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 +))) 670 670 671 - = 5. How theLPS8-V2connects to Chirpstack viagateway-bridge=659 +[[image:image-20231124113209-1.png||height="470" width="1157"]] 672 672 673 673 674 674 ... ... @@ -777,7 +777,6 @@ 777 777 778 778 **4. Strat Install ** 779 779 780 - 781 781 Click start Install and wait until the migration succeeds 782 782 783 783 [[image:image-20230616162934-3.png]] ... ... @@ -793,9 +793,9 @@ 793 793 794 794 == 8.3 How to reduce the 4g data consumed == 795 795 783 + 796 796 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. 797 797 798 - 799 799 [[image:image-20230719100239-1.png||height="724" width="994"]] 800 800 801 801 ... ... @@ -803,13 +803,15 @@ 803 803 804 804 [[image:image-20230719100332-2.png]] 805 805 793 + 806 806 3. Disable the auto-update: 807 807 808 808 [[image:image-20230719100419-3.png||height="458" width="995"]] 809 809 810 810 811 -8.4 How to connect the helium blockchain as a Data-only hotspot 799 +== 8.4 How to connect the helium blockchain as a Data-only hotspot == 812 812 801 + 813 813 (% class="box infomessage" %) 814 814 ((( 815 815 apt update && apt install helium-gateway ... ... @@ -816,8 +816,62 @@ 816 816 ))) 817 817 818 818 808 +== 8.5 How to change built-in LoRaWAN Server from ChirpStack v4 to TTN Stack v3. == 819 819 820 820 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 + 821 821 = 9. Trouble Shooting = 822 822 823 823 == 9.1 I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. == ... ... @@ -885,12 +885,28 @@ 885 885 886 886 (% class="box infomessage" %) 887 887 ((( 888 -apt update && apt install dragino -fallback931 +apt update && apt install *dragino* 889 889 890 890 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]] 891 891 ))) 892 892 893 893 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 + 894 894 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) = 895 895 896 896
- 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