Changes for page Notes for ChirpStack
Last modified by Xiaoling on 2025/07/31 17:18
From version 246.2
edited by Xiaoling
on 2025/07/31 17:03
on 2025/07/31 17:03
Change comment:
There is no comment for this version
To version 241.1
edited by Kilight Cao
on 2024/09/23 15:26
on 2024/09/23 15:26
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,9 +190,7 @@ 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]], 194 -1. [[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]] 195 -1. 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]] 196 196 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/]] 197 197 198 198 (% style="color:blue" %)**How to set up chirpStack Basic Station** ... ... @@ -469,12 +469,13 @@ 469 469 470 470 = 8. Downlink = 471 471 472 -== 8.1 Schedule Downlink via Web UI == 473 473 470 +=== 8.1 Chirpstack Downlink Note === 474 474 475 -=== Select HEX format for downlink === 476 476 473 +==== Select HEX format for downlink ==== 477 477 475 + 478 478 (% style="color:red" %)**Note: The end node user manual provides HEX format of the downlink commands, so users can directly select HEX format downlink.** 479 479 480 480 ... ... @@ -498,10 +498,10 @@ 498 498 **Make sure the RX2DR is the same in the end node** 499 499 500 500 501 -== 8. 2Schedule DownlinkviaAPI==499 +== 8.3 Loraserver Downlink Note == 502 502 503 503 504 -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 505 505 506 506 ((( 507 507 **Below is examples:** ... ... @@ -520,6 +520,7 @@ 520 520 ((( 521 521 **MQTT Connect to ChirpStack** 522 522 521 + 523 523 524 524 ))) 525 525 ... ... @@ -612,10 +612,24 @@ 612 612 ))) 613 613 614 614 615 -== 8. 3Add decoderfunction in Chirpstack fordownlink message==614 +== 8.4 Add the decode function in Chirpstack for the payload == 616 616 617 617 617 +User enters the payload code according to the steps. 618 618 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 + 619 619 = 9. Chirpstack Multicast Configuration = 620 620 621 621 ... ... @@ -636,27 +636,21 @@ 636 636 [[image:image-20240923105725-1.png]] 637 637 638 638 639 -This example assumes that theuser already has theprerequisites:652 +This example assumes users already have: 640 640 641 -* (% 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.642 -* (%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. 643 643 644 644 (% class="wikigeneratedid" %) 645 - **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). 646 646 647 647 (% class="wikigeneratedid" %) 648 - (% style="color:blue" %)**AT+DISFCNTCHECK=1**661 +AT command: **AT+CLASS=C** 649 649 650 650 (% class="wikigeneratedid" %) 651 - 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** 652 652 653 -* (% style="color:blue" %)**Chirpstack Configuration: **(%%)LPS8v2 gateway and SN50v3-LB register on ChirpStack server already 654 654 655 -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]] 656 - 657 -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]] 658 - 659 - 660 660 === Step 1. Create the multicast group === 661 661 662 662 ... ... @@ -752,7 +752,7 @@ 752 752 [[image:image-20240923151814-23.png||height="563" width="1255"]] 753 753 754 754 755 -= 10. Multiply Uplink in ChirpStack =762 += 9. Multiply Uplink in ChirpStack = 756 756 757 757 758 758 ((( ... ... @@ -795,7 +795,7 @@ 795 795 [[image:image-20220601102430-1.png||height="508" width="1120"]] 796 796 797 797 798 -== 10.1 Solution ==805 +== 9.1 Solution == 799 799 800 800 801 801 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]] ... ... @@ -914,7 +914,7 @@ 914 914 Finish. 915 915 916 916 917 -= 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. = 918 918 919 919 920 920 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. ... ... @@ -963,7 +963,7 @@ 963 963 [[image:image-20221012173639-1.png||height="273" width="1206"]] 964 964 965 965 966 -= 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 = 967 967 968 968 The following example is based on the built-in ChirpStack server for LPS8V2 969 969 ... ... @@ -970,7 +970,7 @@ 970 970 [[image:image-20231201174640-1.png||height="584" width="1148"]] 971 971 972 972 973 -== **1 2.1 Generate API Tokens** ==980 +== **11.1 Generate API Tokens** == 974 974 975 975 Access the built-in chirpstack , click "**API Key**" and "**Add API Key**". 976 976 ... ... @@ -983,7 +983,7 @@ 983 983 [[image:image-20231204104802-1.png]] 984 984 985 985 986 -== **1 2.2 Template file** ==993 +== **11.2 Template file** == 987 987 988 988 989 989 Click on **"Template File Download"**, the user will download a **register.csv** template file, ... ... @@ -1005,7 +1005,7 @@ 1005 1005 1006 1006 1007 1007 1008 -== **1 2.3 Batch Register** ==1015 +== **11.3 Batch Register** == 1009 1009 1010 1010 [[image:image-20231204113136-11.png||height="362" width="1062"]] 1011 1011 ... ... @@ -1018,7 +1018,7 @@ 1018 1018 1019 1019 1020 1020 1021 -= 1 3. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 =1028 += 12. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 = 1022 1022 1023 1023 1024 1024 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: ... ... @@ -1029,7 +1029,7 @@ 1029 1029 Below are the steps to plot the sensor data on LPS8v2 Node-Red. 1030 1030 1031 1031 1032 -== 1 3.1 Link Node-Red to Local ChirpStack ==1039 +== 12.1 Link Node-Red to Local ChirpStack == 1033 1033 1034 1034 1035 1035 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"]]** ... ... @@ -1063,7 +1063,7 @@ 1063 1063 [[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"]] 1064 1064 1065 1065 1066 -== 1 3.2 Check result. ==1073 +== 12.2 Check result. == 1067 1067 1068 1068 1069 1069 Users can check logs by adding debug. ... ... @@ -1073,9 +1073,9 @@ 1073 1073 [[image:image-20230529150923-1.png||height="424" width="1118"]] 1074 1074 1075 1075 1076 -= 1 4. Trouble Shooting =1083 += 13. Trouble Shooting = 1077 1077 1078 -== 1 4.1 MIC Mismatch or MIC Failed ==1085 +== 13.1 MIC Mismatch or MIC Failed == 1079 1079 1080 1080 1081 1081 ((( ... ... @@ -1086,7 +1086,7 @@ 1086 1086 Under normal circumstances, users need to change the APPKEY to solve this problem. 1087 1087 1088 1088 1089 -== 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 == 1090 1090 1091 1091 1092 1092 If you are using US915 or AU915, you found the frequency points of different subband ranges in your uplink ... ... @@ -1115,7 +1115,7 @@ 1115 1115 **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]]** 1116 1116 1117 1117 1118 -== 1 4.3 ChirpStackv4 node device displays "UPLINK_F_CNT_RETRANSMISSION" ==1125 +== 13.3 ChirpStackv4 node device displays "UPLINK_F_CNT_RETRANSMISSION" == 1119 1119 1120 1120 1121 1121 This is because the node's packets are retransmitted, and the Fcnt of these packets is the same. ... ... @@ -1146,7 +1146,7 @@ 1146 1146 [[image:image-20240717092428-4.jpeg]] 1147 1147 1148 1148 1149 -== 1 4.4 How to get the log information of the node? ==1156 +== 13.4 How to get the log information of the node? == 1150 1150 1151 1151 1152 1152 ~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