Changes for page Notes for ChirpStack

Last modified by Xiaoling on 2025/07/31 17:18

From version 246.5
edited by Xiaoling
on 2025/07/31 17:07
Change comment: There is no comment for this version
To version 240.1
edited by Kilight Cao
on 2024/09/23 15:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Kilight
Content
... ... @@ -32,8 +32,7 @@
32 32  (((
33 33  (((
34 34  Semtech UDP : **All Model**
35 -Basic Station : [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LOS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html]], [[LPS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]], [[LG308N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]]
36 -
35 +Basic Station : [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]]
37 37  (% style="color:red" %)**Note** (%%): the firmware needs >[[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]  if use the Bais station
38 38  )))
39 39  )))
... ... @@ -190,8 +190,8 @@
190 190  
191 191  (% style="color:blue" %)**Below list the support products and Requirements:**
192 192  
193 -1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[DLOS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html]], [[LPS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]], [[LG308N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]]
194 -1. Firmware version since : [[lgw~~-~~-build-v5.4.1651822913>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Test_Firmware/lgw--build-v5.4.1651822913-20220506-1543/]]
192 +1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] ,[[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]]
193 +1. Firmware version since :[[lgw~~-~~-build-v5.4.1651822913>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Test_Firmware/lgw--build-v5.4.1651822913-20220506-1543/]]
195 195  
196 196  (% style="color:blue" %)**How to set up chirpStack Basic Station**
197 197  
... ... @@ -205,8 +205,10 @@
205 205  
206 206  == 5.2  Add Gateway ==
207 207  
207 +
208 208  [[image:image-20220524164205-10.png]]
209 209  
210 +
210 210  == 5.3  Access the gateway GUI ==
211 211  
212 212  
... ... @@ -262,8 +262,8 @@
262 262  
263 263  (% style="color:blue" %)**Below list the support products and Requirements:**
264 264  
265 -1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]],[[DLOS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html]], [[LPS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]], [[LG308N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]]
266 -1. Firmware version since: [[Chirpstack-Bridge-V3.14.6>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/Chirpstack-gateway-bridge/Chirpstack-Bridge-V3.14.6-Bridge--build-v5.4.1679487778-20230322-2024/||style="background-color: rgb(255, 255, 255);"]]
266 +1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] ,[[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]],[[LPS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]],[[LG308N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]],[[DLOS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html]]
267 +1. Firmware version since: [[Chirpstack-Bridge-V3.14.6>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/Chirpstack-gateway-bridge/Chirpstack-Bridge-V3.14.6-Bridge--build-v5.4.1679487778-20230322-2024/]]
267 267  
268 268  (% style="color:blue" %)**What do you need to prepare**
269 269  
... ... @@ -272,6 +272,7 @@
272 272  
273 273  The following example does not have configuration certificates:
274 274  
276 +
275 275  == 6.1  Configure Packet Forwarder ==
276 276  
277 277  
... ... @@ -464,12 +464,13 @@
464 464  
465 465  = 8.  Downlink =
466 466  
467 -== 8.1 Schedule Downlink via Web UI ==
468 468  
470 +=== 8.1 Chirpstack Downlink Note ===
469 469  
470 -=== Select HEX format for downlink ===
471 471  
473 +==== Select HEX format for downlink ====
472 472  
475 +
473 473  (% style="color:red" %)**Note: The end node user manual provides HEX format of the downlink commands, so users can directly select HEX format downlink.**
474 474  
475 475  
... ... @@ -493,10 +493,10 @@
493 493  **Make sure the RX2DR is the same in the end node**
494 494  
495 495  
496 -== 8.2 Schedule Downlink via API ==
499 +== 8. Loraserver Downlink Note ==
497 497  
498 498  
499 -User can use MQTT to send downlink payload to ChirpStack to perform downstream to LoRaWAN End Node
502 +User can use MQTT to send downlink payload to ChirpStack to perform downstream to LoRaWAN End
500 500  
501 501  (((
502 502  **Below is examples:**
... ... @@ -515,6 +515,7 @@
515 515  (((
516 516  **MQTT Connect to ChirpStack**
517 517  
521 +
518 518  
519 519  )))
520 520  
... ... @@ -607,10 +607,24 @@
607 607  )))
608 608  
609 609  
610 -== 8.3  Add decoder function in Chirpstack for downlink message ==
614 +== 8.4  Add the decode function in Chirpstack for the payload ==
611 611  
612 612  
617 +User enters the payload code according to the steps.
613 613  
619 +Add the node device decoder you are using. The decoder for each node device is different. The decoder is found in this link: **[[decoder for dragino end node>>https://github.com/dragino/dragino-end-node-decoder]]**
620 +
621 +[[image:image-20220531173754-15.png||height="474" width="1334"]]
622 +
623 +
624 +[[image:image-20220531173856-16.png]]
625 +
626 +
627 +[[image:image-20220531174120-20.png]]
628 +
629 +[[image:image-20220531174046-19.png]]
630 +
631 +
614 614  = 9.  Chirpstack Multicast Configuration =
615 615  
616 616  
... ... @@ -631,27 +631,21 @@
631 631  [[image:image-20240923105725-1.png]]
632 632  
633 633  
634 -This example assumes that the user already has the prerequisites:
652 +This example assumes users already have:
635 635  
636 -* (% style="color:blue" %)**SN50v3-LB Software Location:   **(%%)**[[SN50v3-LB_protocol_008(AU915).bin>>attach:https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/#H3.ConfigureSN50v3-LB2FLS||target="_blank"]] .**Users need to flash them with the firmware support Multicast.
637 -* (% style="color:blue" %)**SN50v3-LB Configure:   **(%%)Enable CLASS C and DISFCNTCHECK(The downlink fcnt is not compared with the fcnt of the node).
654 +* SN50v3-LB register on ChirpStack server already
655 +* The user is able to see the data on the ChirpStack server device page.
638 638  
639 639  (% class="wikigeneratedid" %)
640 - **AT command:** (% style="color:blue" %)**AT+CLASS=C**
658 +(% style="color:red" %)**Note: **(%%)SN50v3-LB must enable CLASS C and DISFCNTCHECK(The downlink fcnt is not compared with the fcnt of the node).
641 641  
642 642  (% class="wikigeneratedid" %)
643 - (% style="color:blue" %)**AT+DISFCNTCHECK=1**
661 +AT command: **AT+CLASS=C**
644 644  
645 645  (% class="wikigeneratedid" %)
646 -For details on how to configure the SN50v3-LB, please refer to the link:** [[Configure SN50v3-LB>>https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/#H3.ConfigureSN50v3-LB2FLS]]**
664 + **AT+DISFCNTCHECK=1**
647 647  
648 -* (% style="color:blue" %)**Chirpstack Configuration: **(%%)LPS8v2 gateway and SN50v3-LB register on ChirpStack server already
649 649  
650 -Register LPS8v2 gateway to Chirpstack. See section :[[https:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H4.A0SemtechUDPforChirpStackv4>>https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H4.A0SemtechUDPforChirpStackv4]]
651 -
652 -Register SN50v3-LB to Chirpstack. See section :[[https:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H2.A0Nodeusageintroduction>>https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H2.A0Nodeusageintroduction]]
653 -
654 -
655 655  === Step 1. Create the multicast group ===
656 656  
657 657  
... ... @@ -699,7 +699,7 @@
699 699  
700 700  On the **Application->Devices** interface, select two SN50v3-LB nodes registered with multicast support, and then click "**Selected devices**". and click "**Add to multicast-group**" to add the node to the corresponding multicast group
701 701  
702 -[[image:image-20240923144749-9.png||height="623" width="1211"]]
714 +[[image:image-20240923144744-8.png]][[image:image-20240923144749-9.png||height="623" width="1211"]]
703 703  
704 704  
705 705  Access the multicast group to check whether two SN50V3-LBs and gateways are added successfully
... ... @@ -714,12 +714,12 @@
714 714  
715 715  [[image:image-20240923145624-18.png||height="429" width="1211"]]
716 716  
717 -[[image:image-20240923145520-16.png||height="422" width="1212"]]
729 +[[image:image-20240923145506-12.png]][[image:image-20240923145520-16.png||height="422" width="1212"]]
718 718  
719 719  
720 720  For example:**[[https:~~/~~/www.chirpstack.io/docs/chirpstack/api/index.html>>url:https://www.chirpstack.io/docs/chirpstack/api/index.html]]**
721 721  
722 -[[image:image-20240923145953-21.png||height="808" width="1222"]]
734 +[[image:image-20240923145945-19.png]][[image:image-20240923145953-21.png||height="808" width="1222"]][[image:image-20240923145949-20.png]]
723 723  
724 724  
725 725  Users can access the Linux console of the gateway via SSH, and then use the curl command to multicast Downlink
... ... @@ -747,7 +747,7 @@
747 747  [[image:image-20240923151814-23.png||height="563" width="1255"]]
748 748  
749 749  
750 -= 10.  Multiply Uplink in ChirpStack =
762 += 9.  Multiply Uplink in ChirpStack =
751 751  
752 752  
753 753  (((
... ... @@ -790,7 +790,7 @@
790 790  [[image:image-20220601102430-1.png||height="508" width="1120"]]
791 791  
792 792  
793 -== 10.1  Solution ==
805 +== 9.1  Solution ==
794 794  
795 795  
796 796  This example uses the Windows version as a template, other versions can refer to this. Similiar reference: [[https:~~/~~/confluence.alitecs.de/plugins/servlet/mobile?contentId=79790102#content/view/79790102>>url:https://confluence.alitecs.de/plugins/servlet/mobile?contentId=79790102#content/view/79790102]]
... ... @@ -909,7 +909,7 @@
909 909  Finish.
910 910  
911 911  
912 -= 11.  How to store/get all data traffic for a specific sensor, including raw payload, and uplink/ downlink history. =
924 += 10.  How to store/get all data traffic for a specific sensor, including raw payload, and uplink/ downlink history. =
913 913  
914 914  
915 915  All data is published to the MQTT topics. if you want to store/get the data, you would have to create an MQTT handler and store the data yourself.
... ... @@ -958,7 +958,7 @@
958 958  [[image:image-20221012173639-1.png||height="273" width="1206"]]
959 959  
960 960  
961 -= 12.  How to use Chirpstack API to batch register Sensor Node/Gateway in Chistapstack Server =
973 += 11.  How to use Chirpstack API to batch register Sensor Node/Gateway in Chistapstack Server =
962 962  
963 963  The following example is based on the built-in ChirpStack server for LPS8V2
964 964  
... ... @@ -965,7 +965,7 @@
965 965  [[image:image-20231201174640-1.png||height="584" width="1148"]]
966 966  
967 967  
968 -== **12.1 Generate API Tokens** ==
980 +== **11.1 Generate API Tokens** ==
969 969  
970 970  Access the built-in chirpstack , click "**API Key**" and "**Add API Key**".
971 971  
... ... @@ -978,7 +978,7 @@
978 978  [[image:image-20231204104802-1.png]]
979 979  
980 980  
981 -== **12.2 Template file** ==
993 +== **11.2 Template file** ==
982 982  
983 983  
984 984  Click on **"Template File Download"**, the user will download a **register.csv** template file,
... ... @@ -1000,7 +1000,7 @@
1000 1000  
1001 1001  
1002 1002  
1003 -== **12.3 Batch Register** ==
1015 +== **11.3 Batch Register** ==
1004 1004  
1005 1005  [[image:image-20231204113136-11.png||height="362" width="1062"]]
1006 1006  
... ... @@ -1013,7 +1013,7 @@
1013 1013  
1014 1014  
1015 1015  
1016 -= 13.  Example: Use Local Server ChirpStack and Node-Red in LPS8v2 =
1028 += 12.  Example: Use Local Server ChirpStack and Node-Red in LPS8v2 =
1017 1017  
1018 1018  
1019 1019  LPS8v2 includes a local ChirpStack Server and Node-Red. This example shows how to configure LHT65N to use with the local Node-Red server. This example assumes users already have:
... ... @@ -1024,7 +1024,7 @@
1024 1024  Below are the steps to plot the sensor data on LPS8v2 Node-Red.
1025 1025  
1026 1026  
1027 -== 13.1 Link Node-Red to Local ChirpStack ==
1039 +== 12.1 Link Node-Red to Local ChirpStack ==
1028 1028  
1029 1029  
1030 1030  Users can download the Node-Red decoder from this link and import it into the Node-Red platform:  **[[attach:LHT65N-ChirpStack-node-red.json||target="_blank"]]**
... ... @@ -1058,7 +1058,7 @@
1058 1058  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220914140918-5.png?width=1121&height=602&rev=1.1||alt="image-20220914140918-5.png"]]
1059 1059  
1060 1060  
1061 -== 13.2 Check result. ==
1073 +== 12.2 Check result. ==
1062 1062  
1063 1063  
1064 1064  Users can check logs by adding debug.
... ... @@ -1068,9 +1068,9 @@
1068 1068  [[image:image-20230529150923-1.png||height="424" width="1118"]]
1069 1069  
1070 1070  
1071 -= 14.  Trouble Shooting =
1083 += 13.  Trouble Shooting =
1072 1072  
1073 -== 14.1  MIC Mismatch or MIC Failed ==
1085 +== 13.1  MIC Mismatch or MIC Failed ==
1074 1074  
1075 1075  
1076 1076  (((
... ... @@ -1081,7 +1081,7 @@
1081 1081  Under normal circumstances, users need to change the APPKEY to solve this problem.
1082 1082  
1083 1083  
1084 -== 14.2  The node is very close to the gateway, but the signal is poor ==
1096 +== 13.2  The node is very close to the gateway, but the signal is poor ==
1085 1085  
1086 1086  
1087 1087  If you are using US915 or AU915, you found the frequency points of different subband ranges in your uplink
... ... @@ -1110,7 +1110,7 @@
1110 1110  **Note: lorawan's protocol link——[[LoRaWAN® Regional Parameters v1.0.3revA (lora-alliance.org)>>url:https://resources.lora-alliance.org/document/lorawan-regional-parameters-v1-0-3reva]]**
1111 1111  
1112 1112  
1113 -== 14.3  ChirpStackv4 node device displays "UPLINK_F_CNT_RETRANSMISSION" ==
1125 +== 13.3  ChirpStackv4 node device displays "UPLINK_F_CNT_RETRANSMISSION" ==
1114 1114  
1115 1115  
1116 1116  This is because the node's packets are retransmitted, and the Fcnt of these packets is the same.
... ... @@ -1141,7 +1141,7 @@
1141 1141  [[image:image-20240717092428-4.jpeg]]
1142 1142  
1143 1143  
1144 -== 14.4  How to get the log information of the node? ==
1156 +== 13.4  How to get the log information of the node? ==
1145 1145  
1146 1146  
1147 1147  ~1. Get information about a single node.
SN50v3-LB_协议008(AU915)(1).bin
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -89.2 KB
Content