Changes for page Notes for ChirpStack
Last modified by Xiaoling on 2025/07/31 17:18
From version 247.1
edited by Xiaoling
on 2025/07/31 17:18
on 2025/07/31 17:18
Change comment:
There is no comment for this version
To version 240.1
edited by Kilight Cao
on 2024/09/23 15:23
on 2024/09/23 15:23
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +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 : 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]],[[DLOS8 N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.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 ... ... @@ -374,7 +374,7 @@ 374 374 375 375 (% style="color:blue" %)**Below list the support products and Requirements:** 376 376 377 -1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.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]] 379 +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]] 378 378 1. Firmware version since: [[Chirpstack-Bridge-V4>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/Chirpstack-gateway-bridge/Chirpstack-Bridge-V4--build-v5.4.1670655072-20221210-1452/]] 379 379 380 380 (% style="color:blue" %)**What do you need to prepare** ... ... @@ -464,18 +464,25 @@ 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 ==== 474 + 475 + 472 472 (% style="color:red" %)**Note: The end node user manual provides HEX format of the downlink commands, so users can directly select HEX format downlink.** 473 473 478 + 474 474 [[image:image-20231108171112-5.png||height="629" width="1117"]] 475 475 481 + 476 476 [[image:image-20231108171145-6.png||height="497" width="1101"]] 477 477 478 478 485 + 486 + 487 + 479 479 [[image:image-20220531173236-10.png||height="597" width="1215"]] 480 480 481 481 **Check ChripStack downlink DataRate** ... ... @@ -487,10 +487,10 @@ 487 487 **Make sure the RX2DR is the same in the end node** 488 488 489 489 490 -== 8. 2Schedule DownlinkviaAPI==499 +== 8.3 Loraserver Downlink Note == 491 491 492 492 493 -User can use MQTT to send downlink payload to ChirpStack to perform downstream to LoRaWAN End Node502 +User can use MQTT to send downlink payload to ChirpStack to perform downstream to LoRaWAN End 494 494 495 495 ((( 496 496 **Below is examples:** ... ... @@ -509,6 +509,7 @@ 509 509 ((( 510 510 **MQTT Connect to ChirpStack** 511 511 521 + 512 512 513 513 ))) 514 514 ... ... @@ -536,6 +536,7 @@ 536 536 **MQTT Connect to ChirpStack** 537 537 538 538 549 + 539 539 ((( 540 540 Downlink payload encode javescript code. 541 541 ... ... @@ -600,12 +600,27 @@ 600 600 ))) 601 601 602 602 603 -== 8. 3Add decoderfunction in Chirpstack fordownlink message==614 +== 8.4 Add the decode function in Chirpstack for the payload == 604 604 605 605 617 +User enters the payload code according to the steps. 606 606 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 + 607 607 = 9. Chirpstack Multicast Configuration = 608 608 634 + 609 609 == 9.1 Introduction == 610 610 611 611 ChirpStack has support for creating multicast-groups to which devices can be assigned. When enqueueing a downlink payload for a multicast-group, ChirpStack will analyze which gateways must be used for broadcasting to cover the complete multicast-group. This means that potentially, a single multicast downlink payload will be emitted multiple times. ... ... @@ -617,32 +617,27 @@ 617 617 618 618 == 9.2 Example to configure chirpstack Multicast == 619 619 646 + 620 620 This section illustrates how to configure ChirpStack Multicast. Below is the network structure, we use our LPS8v2 as the LoRaWAN gateway and two SN50v3-LB as the LoRaWAN end-node here. 621 621 622 622 [[image:image-20240923105725-1.png]] 623 623 624 624 625 -This example assumes that theuser already has theprerequisites:652 +This example assumes users already have: 626 626 627 -* (% style="color:blue" %)**SN50v3-LBSoftwareLocation: **(%%)**[[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"]] .**Usersneed to flash them with the firmwaresupportMulticast.628 -* (%style="color:blue"%)**SN50v3-LB Configure:**(%%)EnableCLASSCand DISFCNTCHECK(The downlinkfcntisnot comparedwith thefcnt of thenode).654 +* SN50v3-LB register on ChirpStack server already 655 +* The user is able to see the data on the ChirpStack server device page. 629 629 630 630 (% class="wikigeneratedid" %) 631 - **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). 632 632 633 633 (% class="wikigeneratedid" %) 634 - (% style="color:blue" %)**AT+DISFCNTCHECK=1**661 +AT command: **AT+CLASS=C** 635 635 636 636 (% class="wikigeneratedid" %) 637 - FordetailsonhowtoconfiguretheSN50v3-LB,pleaserefertothelink:**[[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** 638 638 639 -* (% style="color:blue" %)**Chirpstack Configuration: **(%%)LPS8v2 gateway and SN50v3-LB register on ChirpStack server already 640 640 641 -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]] 642 - 643 -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]] 644 - 645 - 646 646 === Step 1. Create the multicast group === 647 647 648 648 ... ... @@ -690,7 +690,7 @@ 690 690 691 691 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 692 692 693 -[[image:image-20240923144749-9.png||height="623" width="1211"]] 714 +[[image:image-20240923144744-8.png]][[image:image-20240923144749-9.png||height="623" width="1211"]] 694 694 695 695 696 696 Access the multicast group to check whether two SN50V3-LBs and gateways are added successfully ... ... @@ -705,12 +705,12 @@ 705 705 706 706 [[image:image-20240923145624-18.png||height="429" width="1211"]] 707 707 708 -[[image:image-20240923145520-16.png||height="422" width="1212"]] 729 +[[image:image-20240923145506-12.png]][[image:image-20240923145520-16.png||height="422" width="1212"]] 709 709 710 710 711 711 For example:**[[https:~~/~~/www.chirpstack.io/docs/chirpstack/api/index.html>>url:https://www.chirpstack.io/docs/chirpstack/api/index.html]]** 712 712 713 -[[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]] 714 714 715 715 716 716 Users can access the Linux console of the gateway via SSH, and then use the curl command to multicast Downlink ... ... @@ -738,7 +738,7 @@ 738 738 [[image:image-20240923151814-23.png||height="563" width="1255"]] 739 739 740 740 741 -= 10. Multiply Uplink in ChirpStack =762 += 9. Multiply Uplink in ChirpStack = 742 742 743 743 744 744 ((( ... ... @@ -781,7 +781,7 @@ 781 781 [[image:image-20220601102430-1.png||height="508" width="1120"]] 782 782 783 783 784 -== 10.1 Solution ==805 +== 9.1 Solution == 785 785 786 786 787 787 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]] ... ... @@ -900,7 +900,7 @@ 900 900 Finish. 901 901 902 902 903 -= 1 1. 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. = 904 904 905 905 906 906 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. ... ... @@ -949,15 +949,14 @@ 949 949 [[image:image-20221012173639-1.png||height="273" width="1206"]] 950 950 951 951 952 -= 1 2. 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 = 953 953 954 - 955 955 The following example is based on the built-in ChirpStack server for LPS8V2 956 956 957 957 [[image:image-20231201174640-1.png||height="584" width="1148"]] 958 958 959 959 960 -== **1 2.1 Generate API Tokens** ==980 +== **11.1 Generate API Tokens** == 961 961 962 962 Access the built-in chirpstack , click "**API Key**" and "**Add API Key**". 963 963 ... ... @@ -970,7 +970,7 @@ 970 970 [[image:image-20231204104802-1.png]] 971 971 972 972 973 -== **1 2.2 Template file** ==993 +== **11.2 Template file** == 974 974 975 975 976 976 Click on **"Template File Download"**, the user will download a **register.csv** template file, ... ... @@ -991,8 +991,9 @@ 991 991 [[image:image-20231204112107-10.png||height="621" width="1203"]] 992 992 993 993 994 -== **12.3 Batch Register** == 995 995 1015 +== **11.3 Batch Register** == 1016 + 996 996 [[image:image-20231204113136-11.png||height="362" width="1062"]] 997 997 998 998 ... ... @@ -1003,9 +1003,10 @@ 1003 1003 [[image:image-20231204113237-13.png||height="558" width="1081"]] 1004 1004 1005 1005 1006 -= 13. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 = 1007 1007 1028 += 12. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 = 1008 1008 1030 + 1009 1009 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: 1010 1010 1011 1011 * LHT65N register on LPS8v2 Built-In ChirpStack server already ... ... @@ -1014,7 +1014,7 @@ 1014 1014 Below are the steps to plot the sensor data on LPS8v2 Node-Red. 1015 1015 1016 1016 1017 -== 1 3.1 Link Node-Red to Local ChirpStack ==1039 +== 12.1 Link Node-Red to Local ChirpStack == 1018 1018 1019 1019 1020 1020 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"]]** ... ... @@ -1035,6 +1035,7 @@ 1035 1035 [[image:image-20230527143923-1.png||height="588" width="1132"]] 1036 1036 1037 1037 1060 + 1038 1038 (% style="color:blue" %)**2. Enter the MQTT configuration information** 1039 1039 1040 1040 [[image:image-20230527144206-2.png||height="590" width="1136"]] ... ... @@ -1047,7 +1047,7 @@ 1047 1047 [[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"]] 1048 1048 1049 1049 1050 -== 1 3.2 Check result. ==1073 +== 12.2 Check result. == 1051 1051 1052 1052 1053 1053 Users can check logs by adding debug. ... ... @@ -1057,9 +1057,9 @@ 1057 1057 [[image:image-20230529150923-1.png||height="424" width="1118"]] 1058 1058 1059 1059 1060 -= 1 4. Trouble Shooting =1083 += 13. Trouble Shooting = 1061 1061 1062 -== 1 4.1 MIC Mismatch or MIC Failed ==1085 +== 13.1 MIC Mismatch or MIC Failed == 1063 1063 1064 1064 1065 1065 ((( ... ... @@ -1070,17 +1070,17 @@ 1070 1070 Under normal circumstances, users need to change the APPKEY to solve this problem. 1071 1071 1072 1072 1073 -== 1 4.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 == 1074 1074 1075 1075 1076 1076 If you are using US915 or AU915, you found the frequency points of different subband ranges in your uplink 1077 1077 1078 1078 Like that:Both 905.1Mhz and 902.3Mhz appear on uplink 1079 - 1102 + But they belong to Subband1 and Subband2 of US915 respectively 1080 1080 1081 1081 Cause: The server and the gateway use different frequency bands (the server uses Subband1, and the gateway uses Subband2) 1082 1082 1083 - 1106 + In server side, it shows the frequency is 905.1Mhz, which is sub-band2. But the RSSI is very low, Because this is not a signal in 905.1Mhz, it is on 902.3Mhz, the signal is too strong and appear a noise in 905.1Mhz. 1084 1084 1085 1085 How to check the frequency band used by the server: 1086 1086 ... ... @@ -1099,7 +1099,7 @@ 1099 1099 **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]]** 1100 1100 1101 1101 1102 -== 1 4.3 ChirpStackv4 node device displays "UPLINK_F_CNT_RETRANSMISSION" ==1125 +== 13.3 ChirpStackv4 node device displays "UPLINK_F_CNT_RETRANSMISSION" == 1103 1103 1104 1104 1105 1105 This is because the node's packets are retransmitted, and the Fcnt of these packets is the same. ... ... @@ -1130,7 +1130,7 @@ 1130 1130 [[image:image-20240717092428-4.jpeg]] 1131 1131 1132 1132 1133 -== 1 4.4 How to get the log information of the node? ==1156 +== 13.4 How to get the log information of the node? == 1134 1134 1135 1135 1136 1136 ~1. Get information about a single node. ... ... @@ -1156,6 +1156,7 @@ 1156 1156 [[image:image-20240117175009-3.png||height="524" width="1076"]] 1157 1157 1158 1158 1182 + 1159 1159 After the data collection is completed, you can send this file directly to our technical support personnel for analysis. 1160 1160 1161 1161
- SN50v3-LB_协议008(AU915)(1).bin
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -89.2 KB - Content