<
From version < 291.1 >
edited by Kilight Cao
on 2024/02/02 16:37
To version < 273.1 >
edited by Xiaoye
on 2023/11/24 11:33
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -LPS8v2 -- LoRaWAN Indoor Gateway User Manual
1 +LPS8v2 LoRaWAN Indoor Gateway User Manual
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Kilight
1 +XWiki.Xiaoye
Content
... ... @@ -8,7 +8,7 @@
8 8  
9 9  )))
10 10  
11 -**Table of Contents:**
11 +**Table of Contents**
12 12  
13 13  {{toc/}}
14 14  
... ... @@ -126,12 +126,6 @@
126 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 127  
128 128  
129 -When the gateway restores the factory settings is complete,
130 -
131 -The WiFi configuration will enable WiFi Access Point by default.
132 -
133 -The other configuration will be restored to the default configuration.
134 -
135 135  = 2. Quick Start =
136 136  
137 137  
... ... @@ -525,80 +525,100 @@
525 525  
526 526  = 4. Build-in Server =
527 527  
528 -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**(%%).
529 529  
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**(%%).
530 530  
531 -== 1). LoRaWAN Network Server: (% style="color:blue" %)**ChirpStack-V4**(%%) ==
532 -
533 533  [[image:image-20231106180816-4.png||height="416" width="896"]]
534 534  
535 -[[image:image-20231201165904-1.png||height="466" width="899"]]
527 +[[image:image-20230616175558-7.png||height="362" width="894"]]
536 536  
537 -(% 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(%%)**
538 538  
539 -For more information on server operations see [[Register LPSV2 to the built-in Chirpstack>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]
540 540  
531 +(% style="color:red" %)**Note:**
541 541  
533 + **Path**: Server ~-~-> Network Server
542 542  
543 -== 2). Application Network Server: (% style="color:blue" %)**Node-Red**(%%) ==
535 + Server ~-~-> Application Server
544 544  
545 545  
546 -[[image:image-20230616175558-7.png||height="362" width="894"]]
538 +**Troubleshooting:**
547 547  
548 -[[image:image-20231201170355-2.png||height="536" width="899"]]
549 549  
550 -(% style="color:red" %)**Note:  The user can access the**(%%)** (% style="color:blue" %)Node-RED (% style="color:red" %)via click the 'Launch' button(%%)**
541 +**~ 1. URL does not jump properly**
551 551  
543 + For the ChirpStack, you can use the local IP address and the port is **8080** to access it.
552 552  
545 + For the Node-Red, you can use the local IP address and the port is **1880** to access it.
553 553  
554 -== **3). Troubleshooting:** ==
555 555  
548 +== 4.1 LoRaWAN Network  Server ~-~- ChirpStack ==
556 556  
557 -* (((
558 -=== ** If the URL does not jump properly.** ===
559 -)))
560 560  
561 - For the ChirpStack, you can use the local IP address and the port is **8080** to access it.
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.
562 562  
563 - For the Node-Red, you can use the local IP address and the port is **1880** to access it.
553 +Such as  (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>//**__
564 564  
565 565  
566 -* (((
567 -=== ** How to install InfluxDB, Garfana.** ===
568 -)))
556 +Login account:
569 569  
570 - 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 +**Username : ** (% style="background-color:yellow" %)**admin**
571 571  
560 +**Password: ** ** (% style="background-color:#ffff00" %)admin(%%)**
572 572  
573 -* (((
574 -=== ** How to upgrade the gateway node.js to the latest version.** ===
575 -)))
562 +[[image:image-20230616175332-6.png||height="519" width="1029"]]
576 576  
577 - The user can upgrade nodejs, see [[Upgrade Nodejs>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.5Howtoupgradethenodejsversiontothelatest.]]
578 578  
579 579  
580 -* (((
581 -=== ** How to batch register device on the built-in Chirpstack network server** ===
582 -)))
566 +=== 4.1.1 The LPS8-V2 is registered and connected to Built-in ChirpStack ===
583 583  
584 - The user can register devices in batch on the gateway Web UI, see [[Batch Register>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H11.A0HowtouseChirpstackAPItobatchregisterSensorNode2FGatewayinChistapstackServer]]
585 585  
569 +Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply"
586 586  
587 -* (((
588 -=== ** Why my gateway is not Chirpstack?** ===
589 -)))
571 +The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>||anchor="H2.3TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork"]]
590 590  
591 - After June '23, the default factory LPS8V2 pre-installed Chirpstack-V4 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]]**
573 +[[image:image-20230321092456-1.png]]
592 592  
593 593  
594 -* (((
595 -=== ** How to disable the built-in server** ===
596 -)))
576 +== 4.2 Application Server ~-~- Node-Red ==
597 597  
578 +
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 +
598 598  (% class="box infomessage" %)
599 599  (((
600 -Use the following commands to start and stop the TTNv3 service:**     **
601 -
602 602  **# start**
603 603  systemctl start ttnstack
604 604  
... ... @@ -612,10 +612,10 @@
612 612  systemctl disable ttnstack
613 613  )))
614 614  
615 -(% class="box infomessage" %)
616 -(((
617 617  Use the following commands to start and stop the Node-Red service:
618 618  
631 +(% class="box infomessage" %)
632 +(((
619 619  **# start**
620 620  systemctl start nodered
621 621  
... ... @@ -630,14 +630,21 @@
630 630  )))
631 631  
632 632  
633 -* (((
634 -=== ** How to choose the Chirpstack server frequency SubBand** ===
635 -)))
647 +== 4.4 How to use ChirpStack on LPS8-V2 ==
636 636  
637 -**~ ** The user has to choose a SubBand if using CN470, US915, AU915, or AS923.
638 638  
639 - 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.
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.
640 640  
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 +
658 +On the **Server ~-~-> Network Server** interface, choose the frequency Plan first.
659 +
660 +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.
661 +
641 641  [[image:image-20230602140406-3.png||height="480" width="918"]]
642 642  
643 643  
... ... @@ -644,7 +644,7 @@
644 644  When the configuration is complete, click** "Save&Apply"**.
645 645  
646 646  
647 -(% 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.
668 +(% 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.
648 648  
649 649  [[image:image-20230602143122-4.png||height="511" width="983"]]
650 650  
... ... @@ -757,29 +757,33 @@
757 757  
758 758  Migrate guide:
759 759  
760 -To stabilize the completion of the migration, The users can migrate in one of the following ways
781 +**1. Ensure that the gateway is in good network condition, Recommended use of ETH.**
761 761  
762 -**Method 1. Using the Linux shell, **
783 +**2. On the Server ~-~-> Network Server interface, click "Management"**
763 763  
764 -**Method 2. Flash a new image with the Chirpstack**
785 +[[image:image-20230616162454-1.png]]
765 765  
766 766  
788 +**3. Click "Migrate-Chirpstack"**
767 767  
768 -=== Method 1: Using the Linux shell ===
790 +[[image:image-20230616162742-2.png]]
769 769  
770 -(% class="box infomessage" %)
771 -(((
772 -wget -P /tmp [[http:~~/~~/repo.dragino.com/release/tool/chirpstack/migrate_chirpstack>>http://repo.dragino.com/release/tool/chirpstack/migrate_chirpstack]] && chmod +x /tmp/migrate_chirpstack && /tmp/migrate_chirpstack
773 -)))
774 774  
793 +**4. Strat Install **
775 775  
795 +Click start Install and wait until the migration succeeds
776 776  
777 -=== Method 2: Flash a new image ===
797 +[[image:image-20230616162934-3.png]]
778 778  
779 -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]]
780 780  
800 +**5.Migration complete check result**
781 781  
802 +[[image:image-20230616174526-4.png||height="706" width="983"]]
782 782  
804 +
805 +[[image:image-20230616180004-9.png]]
806 +
807 +
783 783  == 8.3 How to reduce the 4g data consumed ==
784 784  
785 785  
... ... @@ -814,7 +814,7 @@
814 814  
815 815  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:
816 816  
817 -[[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]]
842 +[[http:~~/~~/repo.dragino.com/release/hp0c-image/draginolps8v2-release-v1.7-230508.rar>>http://repo.dragino.com/release/hp0c-image/draginolps8v2-release-v1.7-230508.rar]]
818 818  
819 819  
820 820  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]]
... ... @@ -849,7 +849,6 @@
849 849  
850 850  [[image:image-20231017114417-3.png||height="543" width="679"]]
851 851  
852 -
853 853  === 8.6.3 Dmesg Log ===
854 854  
855 855  Users can check the logs of the Dmesg in the **LogRead ~-~-> System Log** interface:
... ... @@ -864,37 +864,6 @@
864 864  [[image:image-20231017115124-4.png||height="215" width="880"]]
865 865  
866 866  
867 -=== 8.6.5 View gateway logs via Linux Command ===
868 -
869 -**Semtech UDP Log :**
870 -
871 -(% class="box infomessage" %)
872 -(((
873 -**journalctl -u draginofwd -f**
874 -)))
875 -
876 -[[image:image-20231207144627-1.png||height="371" width="1017"]]
877 -
878 -
879 -**Station Log:**
880 -
881 -(% class="box infomessage" %)
882 -(((
883 -**tail -f /var/log/station.log **
884 -)))
885 -
886 -[[image:image-20231207144758-2.png||height="132" width="1022"]]
887 -
888 -
889 -**Dmesg Log:**
890 -
891 -(% class="box infomessage" %)
892 -(((
893 -**dmesg**
894 -)))
895 -
896 -[[image:image-20231207145210-3.png||height="310" width="1021"]]
897 -
898 898  = 9. Trouble Shooting =
899 899  
900 900  == 9.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
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
image-20231207144627-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -182.9 KB
Content
image-20231207144758-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -51.0 KB
Content
image-20231207145210-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -104.4 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0