Changes for page Notes for ChirpStack
Last modified by Kilight Cao on 2024/09/24 15:23
Change comment:
Uploaded new attachment "image-20240923144749-9.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 47 added, 0 removed)
- image-20230821113618-3.png
- image-20230821114047-4.png
- image-20230926092907-1.png
- image-20230926093057-2.png
- image-20230926093233-3.png
- image-20231108140540-1.png
- image-20231108164914-2.png
- image-20231108165128-3.png
- image-20231108165158-4.png
- image-20231108171112-5.png
- image-20231108171145-6.png
- image-20231201174640-1.png
- image-20231201175118-2.png
- image-20231201175648-3.png
- image-20231201180103-4.png
- image-20231204104802-1.png
- image-20231204105201-2.png
- image-20231204105859-3.png
- image-20231204110341-4.png
- image-20231204110902-5.png
- image-20231204111022-6.png
- image-20231204111116-7.png
- image-20231204111641-8.png
- image-20231204111834-9.png
- image-20231204112107-10.png
- image-20231204113136-11.png
- image-20231204113212-12.png
- image-20231204113237-13.png
- image-20240117173123-1.png
- image-20240117174452-2.png
- image-20240117175009-3.png
- image-20240117175058-4.png
- image-20240117175738-5.png
- image-20240717085339-1.jpeg
- image-20240717090537-2.jpeg
- image-20240717092412-3.jpeg
- image-20240717092428-4.jpeg
- image-20240717102613-5.png
- image-20240831154333-1.png
- image-20240923105725-1.png
- image-20240923141847-3.png
- image-20240923142441-4.png
- image-20240923142446-5.png
- image-20240923144335-6.png
- image-20240923144418-7.png
- image-20240923144744-8.png
- image-20240923144749-9.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Kilight - Content
-
... ... @@ -20,7 +20,7 @@ 20 20 21 21 **1) Have a Chirstack Server.** 22 22 23 -[[image:image-202 20525100058-1.png]]23 +[[image:image-20230821114047-4.png||height="524" width="990"]] 24 24 25 25 ChirpStack home page 26 26 ... ... @@ -37,24 +37,28 @@ 37 37 ))) 38 38 ))) 39 39 40 + 40 40 = 2. Node usage introduction = 41 41 42 42 == 2.1 Register Node == 43 43 44 -Step 1: Add application 45 45 46 - [[image:image-20230702094608-1.png||height="537" width="1015"]]46 +**Step 1: Add application** 47 47 48 - Step 2:Fill name48 +[[image:image-20240831154333-1.png||height="553" width="1074"]] 49 49 50 + 51 +**Step 2:Fill name** 52 + 50 50 [[image:image-20230702094852-2.png]] 51 51 52 -Step4 :Add device profile 53 53 56 +**Step3 :Add device profile** 57 + 54 54 [[image:image-20230702095114-4.png||height="448" width="1061"]] 55 55 56 56 57 -Step 5:Configure your device profile61 +**Step4 :Configure your device profile** 58 58 59 59 [[image:image-20230702095557-5.png||height="648" width="1121"]] 60 60 ... ... @@ -67,20 +67,21 @@ 67 67 [[image:image-20230702095827-7.png||height="490" width="1138"]] 68 68 69 69 70 -Step 6:add device74 +**Step5 :add device** 71 71 72 72 [[image:image-20230702094944-3.png||height="439" width="1153"]] 73 73 74 74 79 +[[image:image-20230702100312-8.png||height="550" width="1106"]] 75 75 76 -[[image:image-20230702100312-8.png||height="585" width="1176"]] 77 77 78 78 [[image:image-20230702100543-10.png||height="313" width="1099"]] 79 79 84 + 80 80 [[image:image-20230702100930-11.png||height="613" width="1098"]] 81 81 82 82 83 -= 3. Semtech UDP = 88 += 3. Semtech UDP for ChirpStack v3 = 84 84 85 85 == 3.1 Step 1. Add the Network-servers == 86 86 ... ... @@ -96,7 +96,6 @@ 96 96 97 97 (% style="color:red" %)**If the user cannot add network-Servers, re-check the ChirpStack code or the server building process.** 98 98 99 - 100 100 [[image:image-20220531171609-1.png||height="638" width="1268"]](% style="display:none" %) 101 101 102 102 Add the Network-servers ... ... @@ -132,8 +132,6 @@ 132 132 133 133 ((( 134 134 (% style="color:red" %)**Note : The Gateway EUI and server addresses must match the ChirpStack configuration.** 135 - 136 - 137 137 ))) 138 138 139 139 [[image:image-20220531171923-4.png||height="745" width="1253"]](% style="display:none" %) ... ... @@ -141,7 +141,6 @@ 141 141 Add the gateway 142 142 143 143 144 - 145 145 [[image:image-20220531172031-5.png]] 146 146 147 147 Configure the gateway ... ... @@ -161,11 +161,26 @@ 161 161 gateway Status 162 162 163 163 164 -= 4. GatewayRegistrationforBasicsStation=165 += 4. Semtech UDP for ChirpStack v4 = 165 165 166 -== 4.1 Introduction==167 +== 4.1 Step 1. Add the gateway == 167 167 168 168 170 +[[image:image-20230926092907-1.png||height="598" width="1007"]] 171 + 172 + 173 +[[image:image-20230926093057-2.png||height="541" width="1002"]] 174 + 175 + 176 +== 4.2 Step 2. Checking gateway Status == 177 + 178 +[[image:image-20230926093233-3.png||height="581" width="1018"]] 179 + 180 += 5. Gateway Registration for Basics Station = 181 + 182 +== 5.1 Introduction == 183 + 184 + 169 169 The [[Semtech Basic Station>>url:https://doc.sm.tc/station/]] backend implements the [[LNS protocol>>url:https://doc.sm.tc/station/tcproto.html]]. It exposes a WebSocket handler to which Basic Station powered gateways can connect. 170 170 171 171 ChirpStack Open-Source LoRaWAN® Network Server needs to set up a configuration that can use Semtech BasicStation. ... ... @@ -186,13 +186,13 @@ 186 186 A gateway that can access the internet normally 187 187 188 188 189 -== 4.2 Add Gateway ==205 +== 5.2 Add Gateway == 190 190 191 191 192 192 [[image:image-20220524164205-10.png]] 193 193 194 194 195 -== 4.3 Access the gateway GUI ==211 +== 5.3 Access the gateway GUI == 196 196 197 197 198 198 Access the gateway GUI interface of LoRaWAN~-~->LoRaWAN ~-~- Basic Station ... ... @@ -215,13 +215,13 @@ 215 215 [[image:image-20220524164341-12.png]] 216 216 217 217 218 -== 4.4 Start Station ==234 +== 5.4 Start Station == 219 219 220 220 221 221 When the user has finished the configuration, Please click **Sace&Apply** to start station to connect ChirpStack. 222 222 223 223 224 -== 4.5 Successful Connection ==240 +== 5.5 Successful Connection == 225 225 226 226 227 227 If user completes the above steps, which will see live date in the ChirpStack. ... ... @@ -229,7 +229,7 @@ 229 229 [[image:image-20220524164448-13.png]] 230 230 231 231 232 -== 4.6 Trouble Shooting ==248 +== 5.6 Trouble Shooting == 233 233 234 234 235 235 User can check the station log in the logread/system log page. ... ... @@ -242,7 +242,7 @@ 242 242 [[image:image-20220531172857-9.png]] 243 243 244 244 245 -= 5. How the gateway connects to Chirpstack v3 via gateway-bridge =261 += 6. How the gateway connects to Chirpstack v3 via gateway-bridge = 246 246 247 247 248 248 (% style="color:blue" %)**Below list the support products and Requirements:** ... ... @@ -250,11 +250,6 @@ 250 250 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]] 251 251 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/]] 252 252 253 -(% style="color:blue" %)**How to set up chirpStack Gateway-bridge** 254 - 255 -Users can check out the ChirpStack gateway-bridge v3 [[link>>https://www.chirpstack.io/gateway-bridge/gateway/dragino/]] 256 - 257 - 258 258 (% style="color:blue" %)**What do you need to prepare** 259 259 260 260 A gateway that can access the internet normally ... ... @@ -263,7 +263,7 @@ 263 263 The following example does not have configuration certificates: 264 264 265 265 266 -== 5.1 Configure Packet Forwarder ==277 +== 6.1 Configure Packet Forwarder == 267 267 268 268 269 269 In the Dragino gateway web interface, you need to configure the Packet Forwarder so that it forwards its data to the port. localhost:1700 or 127.0.0.1:1700 ... ... @@ -281,7 +281,7 @@ 281 281 [[image:image-20221222114220-2.png||height="748" width="931"]] 282 282 283 283 284 -== 5.2 Configuring gateway frequency ==295 +== 6.2 Configuring gateway frequency == 285 285 286 286 287 287 (% style="color:red" %)**Note: Gateway frequencies must match** ... ... @@ -289,7 +289,7 @@ 289 289 [[image:image-20221222134830-3.png||height="408" width="923"]] 290 290 291 291 292 -== 5.3 Generate and modify the gateway-bridge configuration file ==303 +== 6.3 Generate and modify the gateway-bridge configuration file == 293 293 294 294 295 295 **1)Generate the gateway-bridge configuration file** ... ... @@ -316,7 +316,7 @@ 316 316 [[image:image-20230415165254-1.png||height="583" width="956"]] 317 317 318 318 319 -== 5.4 Debug ==330 +== 6.4 Debug == 320 320 321 321 322 322 After the above configuration is completed, the user can enter the command to debug the gateway-bridge connection ... ... @@ -339,7 +339,7 @@ 339 339 More information can be found on the **[[ChirpStack website>>https://www.chirpstack.io/docs/]]**or **[[Forum>>url:https://forum.chirpstack.io/]]** 340 340 341 341 342 -== 5.5 (Re)start and stop gateway-bridge ==353 +== 6.5 (Re)start and stop gateway-bridge == 343 343 344 344 345 345 Use the following commands to (re)start and stop the ChirpStack Gateway Bridge Service: ... ... @@ -360,7 +360,7 @@ 360 360 ))) 361 361 362 362 363 -= 6. How the gateway connects to Chirpstack v4 via gateway-bridge =374 += 7. How the gateway connects to Chirpstack v4 via gateway-bridge = 364 364 365 365 366 366 (% style="color:blue" %)**Below list the support products and Requirements:** ... ... @@ -368,17 +368,12 @@ 368 368 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]] 369 369 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/]] 370 370 371 -(% style="color:blue" %)**How to set up chirpStack Gateway-bridge** 372 - 373 -Users can check out the ChirpStack gateway-bridge v4 [[link>>https://www.chirpstack.io/docs/chirpstack-gateway-bridge/install/dragino.html]] 374 - 375 - 376 376 (% style="color:blue" %)**What do you need to prepare** 377 377 378 378 A gateway that can access the internet normally 379 379 380 380 381 -== 6.1 Configure Packet Forwarder ==387 +== 7.1 Configure Packet Forwarder == 382 382 383 383 384 384 In the Dragino gateway web interface, you need to configure the Packet Forwarder so that it forwards its data to the port. localhost:1700 or 127.0.0.1:1700 ... ... @@ -396,7 +396,7 @@ 396 396 [[image:image-20221222114220-2.png||height="748" width="931"]] 397 397 398 398 399 -== 6.2 Configuring gateway frequency ==405 +== 7.2 Configuring gateway frequency == 400 400 401 401 402 402 (% style="color:red" %)**Note: Gateway frequencies must match** ... ... @@ -404,7 +404,7 @@ 404 404 [[image:image-20221222134830-3.png||height="408" width="923"]] 405 405 406 406 407 -== 6.3 Modify the gateway-bridge configuration file ==413 +== 7.3 Modify the gateway-bridge configuration file == 408 408 409 409 410 410 Run the gateway command line command to modify the gateway-bridge configuration file: ... ... @@ -419,6 +419,9 @@ 419 419 420 420 [[image:image-20221222140203-4.png||height="875" width="806"]] 421 421 428 + 429 +Configure the server address to which the gateway needs to be connected,"tcp:~/~/chirpstack_address:1883" 430 + 422 422 [[image:image-20221230094246-1.png||height="768" width="783"]] 423 423 424 424 (% class="wikigeneratedid" id="H" %) ... ... @@ -425,7 +425,7 @@ 425 425 After the modification, run the following command: **/etc/init.d/chirpstack-gateway-bridge restart** 426 426 427 427 428 -== 6.4 (Re)start and stop gateway-bridge ==437 +== 7.4 (Re)start and stop gateway-bridge == 429 429 430 430 431 431 Use the following commands to (re)start and stop the ChirpStack Gateway Bridge Service: ... ... @@ -446,7 +446,7 @@ 446 446 ))) 447 447 448 448 449 -== 6.5 Successful Connection ==458 +== 7.5 Successful Connection == 450 450 451 451 452 452 [[image:image-20221222141754-5.png||height="488" width="1150"]] ... ... @@ -455,34 +455,27 @@ 455 455 [[image:image-20221222141830-6.png||height="582" width="1153"]] 456 456 457 457 458 -= 7. Downlink =467 += 8. Downlink = 459 459 460 -== 7.1 Convert HEX to Base64 == 461 461 470 +=== 8.1 Chirpstack Downlink Note === 462 462 463 -(% style="color:red" %)**Note: Chirpstack uses base64 to downlink, the end node user manual provides HEX format of the downlink commands. So user needs to convert the HEX to Base64.** 464 464 465 - **[[Online HEXtoBase64Converter>>https://base64.guru/converter/encode/hex]]:**473 +==== Select HEX format for downlink ==== 466 466 467 -[[image:image-20221010193350-1.png]] 468 468 476 +(% style="color:red" %)**Note: The end node user manual provides HEX format of the downlink commands, so users can directly select HEX format downlink.** 469 469 470 470 471 - **[[Online Base64 to Hex converter>>https://base64.guru/converter/decode/hex]]**479 +[[image:image-20231108171112-5.png||height="629" width="1117"]] 472 472 473 -[[image:image-20221010193621-2.png]] 474 474 482 +[[image:image-20231108171145-6.png||height="497" width="1101"]] 475 475 476 -== 7.2 Chirpstack Downlink Note == 477 477 478 478 479 -[[image:image-20220601102543-2.png]] 480 480 481 -**Convert the data to Base64** 482 482 483 -(% style="display:none" %) (%%) 484 - 485 - 486 486 [[image:image-20220531173236-10.png||height="597" width="1215"]] 487 487 488 488 **Check ChripStack downlink DataRate** ... ... @@ -494,7 +494,7 @@ 494 494 **Make sure the RX2DR is the same in the end node** 495 495 496 496 497 -== 7.3 Loraserver Downlink Note ==499 +== 8.3 Loraserver Downlink Note == 498 498 499 499 500 500 User can use MQTT to send downlink payload to ChirpStack to perform downstream to LoRaWAN End ... ... @@ -544,13 +544,11 @@ 544 544 **MQTT Connect to ChirpStack** 545 545 546 546 547 -**If we want to send downstream hex 030101 to end node, the BASE64 payload is AwEB** 548 548 549 -[[image:image-20220531173658-14.png]] 550 - 551 - 552 552 ((( 553 -Downlink payload encode javescript code: 可以在网站上运行以下Javsscript代码: 551 +Downlink payload encode javescript code. 552 + 553 +We can run the following Javsscript code on the site: 554 554 ))) 555 555 556 556 (% class="box" %) ... ... @@ -611,7 +611,7 @@ 611 611 ))) 612 612 613 613 614 -== 7.4 Add the decode function in Chirpstack for the payload ==614 +== 8.4 Add the decode function in Chirpstack for the payload == 615 615 616 616 617 617 User enters the payload code according to the steps. ... ... @@ -629,9 +629,35 @@ 629 629 [[image:image-20220531174046-19.png]] 630 630 631 631 632 -= 8. MultiplyUplinkin ChirpStack=632 += 9. Chirpstack Multicast Configuration = 633 633 634 634 635 +== 9.1 Introduction == 636 + 637 +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. 638 + 639 +Multicast can be used for the following device-classes: 640 + 641 +* Class-B 642 +* Class-C 643 + 644 +== 9.2 Example to configure chirpstack Multicast == 645 + 646 + 647 +This section illustrates how to configure ChirpStack Multicast. Below is the network structure, we use our LPS8v2 as the LoRaWAN gateway and SN50v3-LB as the LoRaWAN end-node here. 648 + 649 +[[image:image-20240923105725-1.png]] 650 + 651 +The LPS8V2 is already set to connect to Chirpstack. So what we need to do now is only configure register these devices to Chirpstack: 652 + 653 + 654 +=== Step 1. Create the multicast group === 655 + 656 + 657 + 658 += 9. Multiply Uplink in ChirpStack = 659 + 660 + 635 635 ((( 636 636 nbtrans field is the value to determine the re-transmission time for unconfirmed uplink data. 637 637 ))) ... ... @@ -669,19 +669,16 @@ 669 669 670 670 **Duplicate transmission in short time** 671 671 672 -[[image:image-20220601102430-1.png||height="5 98" width="1319"]]698 +[[image:image-20220601102430-1.png||height="508" width="1120"]] 673 673 674 674 675 -== 8.1 Solution ==701 +== 9.1 Solution == 676 676 677 677 678 678 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]] 679 679 680 - 681 681 ((( 682 682 (% style="color:blue" %)**1. Install the GO compilation environment: Download the corresponding version of the Go compiler at [[https:~~/~~/go.dev/dl/>>url:https://go.dev/dl/]] and install it.** 683 - 684 - 685 685 ))) 686 686 687 687 [[image:image-20220525104532-24.png]] ... ... @@ -794,7 +794,7 @@ 794 794 Finish. 795 795 796 796 797 -= 9. How to store/get all data traffic for a specific sensor, including raw payload, and uplink/ downlink history. =820 += 10. How to store/get all data traffic for a specific sensor, including raw payload, and uplink/ downlink history. = 798 798 799 799 800 800 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. ... ... @@ -804,7 +804,7 @@ 804 804 (% style="color:blue" %)**//1). Chirpstack ~-~-> Node-red//** 805 805 806 806 807 -[[image:image-20221012184501-1.png]] 830 +[[image:image-20221012184501-1.png||height="608" width="1041"]] 808 808 809 809 810 810 Use MQTT in Nore-red to subscribe to topics published by the chirpstack-application and then continuously write to a file ... ... @@ -840,11 +840,67 @@ 840 840 **mosquitto_sub -h IPADDRESS -p 8883 ~-~-insecure ~-~-cafile ca.pem ~-~-cert cert.pem ~-~-key key.pem -t "application/#" -v** 841 841 ))) 842 842 843 -[[image:image-20221012173639-1.png]] 866 +[[image:image-20221012173639-1.png||height="273" width="1206"]] 844 844 845 -= 10. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 = 846 846 869 += 11. How to use Chirpstack API to batch register Sensor Node/Gateway in Chistapstack Server = 847 847 871 +The following example is based on the built-in ChirpStack server for LPS8V2 872 + 873 +[[image:image-20231201174640-1.png||height="584" width="1148"]] 874 + 875 + 876 +== **11.1 Generate API Tokens** == 877 + 878 +Access the built-in chirpstack , click "**API Key**" and "**Add API Key**". 879 + 880 +[[image:image-20231201175118-2.png||height="597" width="1156"]] 881 + 882 +**Save the generated API Tokens** 883 + 884 +[[image:image-20231201175648-3.png||height="596" width="1155"]] 885 + 886 +[[image:image-20231204104802-1.png]] 887 + 888 + 889 +== **11.2 Template file** == 890 + 891 + 892 +Click on **"Template File Download"**, the user will download a **register.csv** template file, 893 + 894 +[[image:image-20231204105201-2.png]] 895 + 896 + 897 +Before registering in batches, the user needs to add an **Application** and **Device profile**, If you have already added them, you do not need to add them again, 898 + 899 +Open the corresponding **Application** and **Device profile** and copy their IDs 900 + 901 +[[image:image-20231204110902-5.png||height="618" width="1197"]] 902 + 903 +[[image:image-20231204111116-7.png||height="619" width="1199"]] 904 + 905 +[[image:image-20231204111834-9.png||height="273" width="1205"]] 906 + 907 +[[image:image-20231204112107-10.png||height="621" width="1203"]] 908 + 909 + 910 + 911 +== **11.3 Batch Register** == 912 + 913 +[[image:image-20231204113136-11.png||height="362" width="1062"]] 914 + 915 + 916 +**Check whether the batch registration is successful** 917 + 918 +[[image:image-20231204113212-12.png]] 919 + 920 +[[image:image-20231204113237-13.png||height="558" width="1081"]] 921 + 922 + 923 + 924 += 12. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 = 925 + 926 + 848 848 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: 849 849 850 850 * LHT65N register on LPS8v2 Built-In ChirpStack server already ... ... @@ -853,7 +853,7 @@ 853 853 Below are the steps to plot the sensor data on LPS8v2 Node-Red. 854 854 855 855 856 -== 1 0.1 Link Node-Red to Local ChirpStack ==935 +== 12.1 Link Node-Red to Local ChirpStack == 857 857 858 858 859 859 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"]]** ... ... @@ -880,7 +880,7 @@ 880 880 [[image:image-20230527144206-2.png||height="590" width="1136"]] 881 881 882 882 883 -(% style="color:blue" %)3. **Finally, click "Update" and Deploy** 962 +(% style="color:blue" %)**3.** **Finally, click "Update" and Deploy** 884 884 885 885 "Connected" indicates that the Link Node-red to Local Chirpstack is normal. 886 886 ... ... @@ -887,7 +887,7 @@ 887 887 [[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"]] 888 888 889 889 890 -== 1 0.2 Check result. ==969 +== 12.2 Check result. == 891 891 892 892 893 893 Users can check logs by adding debug. ... ... @@ -897,9 +897,9 @@ 897 897 [[image:image-20230529150923-1.png||height="424" width="1118"]] 898 898 899 899 900 -= 1 1. Trouble Shooting =979 += 13. Trouble Shooting = 901 901 902 -== 1 1.1 MIC Mismatch or MIC Failed ==981 +== 13.1 MIC Mismatch or MIC Failed == 903 903 904 904 905 905 ((( ... ... @@ -909,5 +909,101 @@ 909 909 ((( 910 910 Under normal circumstances, users need to change the APPKEY to solve this problem. 911 911 991 + 992 +== 13.2 The node is very close to the gateway, but the signal is poor == 993 + 994 + 995 +If you are using US915 or AU915, you found the frequency points of different subband ranges in your uplink 996 + 997 +Like that:Both 905.1Mhz and 902.3Mhz appear on uplink 998 + But they belong to Subband1 and Subband2 of US915 respectively 999 + 1000 +Cause: The server and the gateway use different frequency bands (the server uses Subband1, and the gateway uses Subband2) 1001 + 1002 + 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. 1003 + 1004 +How to check the frequency band used by the server: 1005 + 1006 +You can view the information sent by the server: ch_mask in Unconfirmdedatadown 1007 + 1008 +[[image:image-20230821113255-1.png]] 1009 + 1010 +According to lorawan's protocol, your first ch_mask is 7 for ChMaskCntl = 7 then 125 kHz channels are disabled. Simultaneously the channels 64 to 71 are set according to the ChMask bit mask. 1011 + 1012 +[[image:image-20230821113539-2.png]] 1013 + 1014 +In the second message, the channel 0~~7 is true, which means that your server is using subband2. 1015 + 1016 +[[image:image-20230821113618-3.png]] 1017 + 1018 +**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]]** 1019 + 1020 + 1021 +== 13.3 ChirpStackv4 node device displays "UPLINK_F_CNT_RETRANSMISSION" == 1022 + 1023 + 1024 +This is because the node's packets are retransmitted, and the Fcnt of these packets is the same. 1025 + 1026 +The user can Disable frame-counter validation on the chirpstack node and this warning message will not appear in the logs. 1027 + 1028 + 1029 +The packet is retransmitted because the node device has enabled the acknowledgment uplink packet mode and the node cannot receive the ACK acknowledgment packet delivered by the gateway. 1030 + 1031 + 1032 +**The possible reasons are: ** 1033 + 1034 +~1. The signal of the node device and the gateway is not good 1035 + 1036 +2. Too many node devices affect the downlink of the gateway 1037 + 1038 + 1039 +[[image:image-20240717085339-1.jpeg]] 1040 + 1041 + 1042 +* **Disable frame-counter validation** 1043 + 1044 +[[image:image-20240717102613-5.png||height="803" width="1211"]] 1045 + 1046 + 1047 +* **Result** 1048 + 1049 +[[image:image-20240717092428-4.jpeg]] 1050 + 1051 + 1052 +== 13.4 How to get the log information of the node? == 1053 + 1054 + 1055 +~1. Get information about a single node. 1056 + 1057 +* Download this file in the node's live data interface. 1058 + 1059 +[[image:image-20240117173123-1.png||height="526" width="1086"]] 1060 + 1061 +* The LoRaWAN frames download gateway receives real-time data from the current node. 1062 + 1063 +[[image:image-20240117174452-2.png||height="525" width="1081"]] 1064 + 1065 + 1066 +2. Get information about the entire Gateway. 1067 + 1068 +* Click to select the online gateway of the current node. 1069 + 1070 +[[image:image-20240117175058-4.png||height="532" width="1077"]] 1071 + 1072 + 1073 +* Download this file on the LoRaWAN frames interface. 1074 + 1075 +[[image:image-20240117175009-3.png||height="524" width="1076"]] 1076 + 1077 + 1078 + 1079 +After the data collection is completed, you can send this file directly to our technical support personnel for analysis. 1080 + 1081 + 1082 +You can also use the packet analysis tool developed by our company to check it yourself. Please refer to the following [[link>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20of%20Dragino%20LoRaWAN%20Packet%20Analyze%20Tool/#H4.Chirpstack]] to use this tool. 1083 + 1084 +[[image:image-20240117175738-5.png]] 1085 + 1086 +(% class="wikigeneratedid" id="H" %) 912 912 913 913 )))
- image-20230821113618-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.0 KB - Content
- image-20230821114047-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +125.6 KB - Content
- image-20230926092907-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.0 KB - Content
- image-20230926093057-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +69.6 KB - Content
- image-20230926093233-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +95.8 KB - Content
- image-20231108140540-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +46.3 KB - Content
- image-20231108164914-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +37.2 KB - Content
- image-20231108165128-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.3 KB - Content
- image-20231108165158-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.8 KB - Content
- image-20231108171112-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +47.7 KB - Content
- image-20231108171145-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.1 KB - Content
- image-20231201174640-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.6 KB - Content
- image-20231201175118-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.2 KB - Content
- image-20231201175648-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +103.2 KB - Content
- image-20231201180103-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.6 KB - Content
- image-20231204104802-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.4 KB - Content
- image-20231204105201-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.3 KB - Content
- image-20231204105859-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.2 KB - Content
- image-20231204110341-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +104.0 KB - Content
- image-20231204110902-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +100.5 KB - Content
- image-20231204111022-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +91.6 KB - Content
- image-20231204111116-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +92.0 KB - Content
- image-20231204111641-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +97.1 KB - Content
- image-20231204111834-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.5 KB - Content
- image-20231204112107-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +109.7 KB - Content
- image-20231204113136-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +50.0 KB - Content
- image-20231204113212-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +45.3 KB - Content
- image-20231204113237-13.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +93.5 KB - Content
- image-20240117173123-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +120.8 KB - Content
- image-20240117174452-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +132.1 KB - Content
- image-20240117175009-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +120.3 KB - Content
- image-20240117175058-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +92.9 KB - Content
- image-20240117175738-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +56.8 KB - Content
- image-20240717085339-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.6 KB - Content
- image-20240717090537-2.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.5 KB - Content
- image-20240717092412-3.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.4 KB - Content
- image-20240717092428-4.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.4 KB - Content
- image-20240717102613-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +56.1 KB - Content
- image-20240831154333-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.4 KB - Content
- image-20240923105725-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +104.9 KB - Content
- image-20240923141847-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.3 KB - Content
- image-20240923142441-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.0 KB - Content
- image-20240923142446-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.0 KB - Content
- image-20240923144335-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +92.4 KB - Content
- image-20240923144418-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +61.1 KB - Content
- image-20240923144744-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +99.1 KB - Content
- image-20240923144749-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +99.1 KB - Content