Changes for page Notes for ChirpStack
Last modified by Kilight Cao on 2024/09/24 15:23
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 54 added, 0 removed)
- image-20230529150923-1.png
- image-20230531162943-1.png
- image-20230702094608-1.png
- image-20230702094852-2.png
- image-20230702094944-3.png
- image-20230702095114-4.png
- image-20230702095557-5.png
- image-20230702095641-6.png
- image-20230702095827-7.png
- image-20230702100312-8.png
- image-20230702100356-9.png
- image-20230702100543-10.png
- image-20230702100930-11.png
- image-20230821113255-1.png
- image-20230821113539-2.png
- 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
Details
- Page properties
-
- 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 ... ... @@ -38,11 +38,58 @@ 38 38 ))) 39 39 40 40 41 -= 2. SemtechUDP=41 += 2. Node usage introduction = 42 42 43 -== 2.1 Step 1. Addthe Network-servers==43 +== 2.1 Register Node == 44 44 45 45 46 +**Step 1: Add application** 47 + 48 +[[image:image-20240831154333-1.png||height="553" width="1074"]] 49 + 50 + 51 +**Step 2:Fill name** 52 + 53 +[[image:image-20230702094852-2.png]] 54 + 55 + 56 +**Step3 :Add device profile** 57 + 58 +[[image:image-20230702095114-4.png||height="448" width="1061"]] 59 + 60 + 61 +**Step4 :Configure your device profile** 62 + 63 +[[image:image-20230702095557-5.png||height="648" width="1121"]] 64 + 65 +Does node support class-c 66 + 67 +[[image:image-20230702095641-6.png||height="349" width="1114"]] 68 + 69 +Add node's decoder 70 + 71 +[[image:image-20230702095827-7.png||height="490" width="1138"]] 72 + 73 + 74 +**Step5 :add device** 75 + 76 +[[image:image-20230702094944-3.png||height="439" width="1153"]] 77 + 78 + 79 +[[image:image-20230702100312-8.png||height="550" width="1106"]] 80 + 81 + 82 +[[image:image-20230702100543-10.png||height="313" width="1099"]] 83 + 84 + 85 +[[image:image-20230702100930-11.png||height="613" width="1098"]] 86 + 87 + 88 += 3. Semtech UDP for ChirpStack v3 = 89 + 90 +== 3.1 Step 1. Add the Network-servers == 91 + 92 + 46 46 The network-Servers address varies depending on the ChirpStack server setup environment 47 47 48 48 (% class="box" %) ... ... @@ -54,24 +54,23 @@ 54 54 55 55 (% style="color:red" %)**If the user cannot add network-Servers, re-check the ChirpStack code or the server building process.** 56 56 104 +[[image:image-20220531171609-1.png||height="638" width="1268"]](% style="display:none" %) 57 57 58 -[[image:image-20220531171609-1.png]] 59 - 60 60 Add the Network-servers 61 61 62 62 63 -== 2.2 Step 2. Create Gateway-profiles ==109 +== 3.2 Step 2. Create Gateway-profiles == 64 64 65 65 66 -[[image:image-20220531171651-2.png]] 112 +[[image:image-20220531171651-2.png||height="632" width="1264"]](% style="display:none" %) 67 67 68 68 Create Gateway-profiles 69 69 70 70 71 -== 2.3 Step 3. Create Service-profiles ==117 +== 3.3 Step 3. Create Service-profiles == 72 72 73 73 74 -[[image:image-20220531171809-3.png]] 120 +[[image:image-20220531171809-3.png||height="761" width="1265"]] 75 75 76 76 Create Service-profiles 77 77 ... ... @@ -83,7 +83,7 @@ 83 83 If the user has completed the preceding steps, proceed to the next step.(% style="display:none" %) 84 84 85 85 86 -== 2.4 Step 4. Add the gateway ==132 +== 3.4 Step 4. Add the gateway == 87 87 88 88 89 89 The example gateway id is: a840411e96744150 ... ... @@ -90,40 +90,52 @@ 90 90 91 91 ((( 92 92 (% style="color:red" %)**Note : The Gateway EUI and server addresses must match the ChirpStack configuration.** 93 - 94 - 95 95 ))) 96 96 97 -[[image:image-20220531171923-4.png]](% style="display:none" %) 141 +[[image:image-20220531171923-4.png||height="745" width="1253"]](% style="display:none" %) 98 98 99 99 Add the gateway 100 100 101 101 102 - 103 103 [[image:image-20220531172031-5.png]] 104 104 105 105 Configure the gateway 106 106 107 107 108 -== 2.5 Step 5. Checking gateway Status ==151 +== 3.5 Step 5. Checking gateway Status == 109 109 110 110 111 -[[image:image-20220531172158-6.png]](% style="display:none" %) 154 +[[image:image-20220531172158-6.png||height="704" width="1167"]](% style="display:none" %) 112 112 113 113 114 114 115 115 gateway Status 116 116 117 -[[image:image-20220531172304-7.png]] 160 +[[image:image-20220531172304-7.png||height="628" width="1165"]] 118 118 119 119 gateway Status 120 120 121 121 122 -= 3.GatewayRegistrationforBasicsStation=165 += 4. Semtech UDP for ChirpStack v4 = 123 123 124 -== 3.1Introduction==167 +== 4.1 Step 1. Add the gateway == 125 125 126 126 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 + 127 127 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. 128 128 129 129 ChirpStack Open-Source LoRaWAN® Network Server needs to set up a configuration that can use Semtech BasicStation. ... ... @@ -144,13 +144,13 @@ 144 144 A gateway that can access the internet normally 145 145 146 146 147 -== 3.2 Add Gateway ==205 +== 5.2 Add Gateway == 148 148 149 149 150 150 [[image:image-20220524164205-10.png]] 151 151 152 152 153 -== 3.3 Access the gateway GUI ==211 +== 5.3 Access the gateway GUI == 154 154 155 155 156 156 Access the gateway GUI interface of LoRaWAN~-~->LoRaWAN ~-~- Basic Station ... ... @@ -164,7 +164,7 @@ 164 164 ((( 165 165 Service Provider ~-~-> Choose the ChirpStack/Senet ~-~- Basic Station 166 166 167 -LNS URI ~-~-> Enter the LNS URI address, For example : wss:~/~/xxxx.chirpstack.com:43 3or ws:~/~/xxxx.chirpstack.com:3001225 +LNS URI ~-~-> Enter the LNS URI address, For example : wss:~/~/xxxx.chirpstack.com:443 or ws:~/~/xxxx.chirpstack.com:3001 168 168 169 169 LNS TLS trust ~-~-> Upload the TLS Certificate 170 170 ))) ... ... @@ -173,13 +173,13 @@ 173 173 [[image:image-20220524164341-12.png]] 174 174 175 175 176 -== 3.4 Start Station ==234 +== 5.4 Start Station == 177 177 178 178 179 179 When the user has finished the configuration, Please click **Sace&Apply** to start station to connect ChirpStack. 180 180 181 181 182 -== 3.5 Successful Connection ==240 +== 5.5 Successful Connection == 183 183 184 184 185 185 If user completes the above steps, which will see live date in the ChirpStack. ... ... @@ -187,7 +187,7 @@ 187 187 [[image:image-20220524164448-13.png]] 188 188 189 189 190 -== 3.6 Trouble Shooting ==248 +== 5.6 Trouble Shooting == 191 191 192 192 193 193 User can check the station log in the logread/system log page. ... ... @@ -200,7 +200,7 @@ 200 200 [[image:image-20220531172857-9.png]] 201 201 202 202 203 -= 4. How the gateway connects to Chirpstack v3 via gateway-bridge =261 += 6. How the gateway connects to Chirpstack v3 via gateway-bridge = 204 204 205 205 206 206 (% style="color:blue" %)**Below list the support products and Requirements:** ... ... @@ -208,11 +208,6 @@ 208 208 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]] 209 209 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/]] 210 210 211 -(% style="color:blue" %)**How to set up chirpStack Gateway-bridge** 212 - 213 -Users can check out the ChirpStack gateway-bridge v3 [[link>>https://www.chirpstack.io/gateway-bridge/gateway/dragino/]] 214 - 215 - 216 216 (% style="color:blue" %)**What do you need to prepare** 217 217 218 218 A gateway that can access the internet normally ... ... @@ -221,7 +221,7 @@ 221 221 The following example does not have configuration certificates: 222 222 223 223 224 -== 4.1 Configure Packet Forwarder ==277 +== 6.1 Configure Packet Forwarder == 225 225 226 226 227 227 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 ... ... @@ -239,7 +239,7 @@ 239 239 [[image:image-20221222114220-2.png||height="748" width="931"]] 240 240 241 241 242 -== 4.2 Configuring gateway frequency ==295 +== 6.2 Configuring gateway frequency == 243 243 244 244 245 245 (% style="color:red" %)**Note: Gateway frequencies must match** ... ... @@ -247,7 +247,7 @@ 247 247 [[image:image-20221222134830-3.png||height="408" width="923"]] 248 248 249 249 250 -== 4.3 Generate and modify the gateway-bridge configuration file ==303 +== 6.3 Generate and modify the gateway-bridge configuration file == 251 251 252 252 253 253 **1)Generate the gateway-bridge configuration file** ... ... @@ -274,7 +274,7 @@ 274 274 [[image:image-20230415165254-1.png||height="583" width="956"]] 275 275 276 276 277 -== 4.4 Debug ==330 +== 6.4 Debug == 278 278 279 279 280 280 After the above configuration is completed, the user can enter the command to debug the gateway-bridge connection ... ... @@ -297,7 +297,7 @@ 297 297 More information can be found on the **[[ChirpStack website>>https://www.chirpstack.io/docs/]]**or **[[Forum>>url:https://forum.chirpstack.io/]]** 298 298 299 299 300 -== 4.5 (Re)start and stop gateway-bridge ==353 +== 6.5 (Re)start and stop gateway-bridge == 301 301 302 302 303 303 Use the following commands to (re)start and stop the ChirpStack Gateway Bridge Service: ... ... @@ -318,7 +318,7 @@ 318 318 ))) 319 319 320 320 321 -= 5. How the gateway connects to Chirpstack v4 via gateway-bridge =374 += 7. How the gateway connects to Chirpstack v4 via gateway-bridge = 322 322 323 323 324 324 (% style="color:blue" %)**Below list the support products and Requirements:** ... ... @@ -326,17 +326,12 @@ 326 326 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]] 327 327 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/]] 328 328 329 -(% style="color:blue" %)**How to set up chirpStack Gateway-bridge** 330 - 331 -Users can check out the ChirpStack gateway-bridge v4 [[link>>https://www.chirpstack.io/docs/chirpstack-gateway-bridge/install/dragino.html]] 332 - 333 - 334 334 (% style="color:blue" %)**What do you need to prepare** 335 335 336 336 A gateway that can access the internet normally 337 337 338 338 339 -== 5.1 Configure Packet Forwarder ==387 +== 7.1 Configure Packet Forwarder == 340 340 341 341 342 342 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 ... ... @@ -354,7 +354,7 @@ 354 354 [[image:image-20221222114220-2.png||height="748" width="931"]] 355 355 356 356 357 -== 5.2 Configuring gateway frequency ==405 +== 7.2 Configuring gateway frequency == 358 358 359 359 360 360 (% style="color:red" %)**Note: Gateway frequencies must match** ... ... @@ -362,7 +362,7 @@ 362 362 [[image:image-20221222134830-3.png||height="408" width="923"]] 363 363 364 364 365 -== 5.3 Modify the gateway-bridge configuration file ==413 +== 7.3 Modify the gateway-bridge configuration file == 366 366 367 367 368 368 Run the gateway command line command to modify the gateway-bridge configuration file: ... ... @@ -377,6 +377,9 @@ 377 377 378 378 [[image:image-20221222140203-4.png||height="875" width="806"]] 379 379 428 + 429 +Configure the server address to which the gateway needs to be connected,"tcp:~/~/chirpstack_address:1883" 430 + 380 380 [[image:image-20221230094246-1.png||height="768" width="783"]] 381 381 382 382 (% class="wikigeneratedid" id="H" %) ... ... @@ -383,7 +383,7 @@ 383 383 After the modification, run the following command: **/etc/init.d/chirpstack-gateway-bridge restart** 384 384 385 385 386 -== 5.4 (Re)start and stop gateway-bridge ==437 +== 7.4 (Re)start and stop gateway-bridge == 387 387 388 388 389 389 Use the following commands to (re)start and stop the ChirpStack Gateway Bridge Service: ... ... @@ -404,7 +404,7 @@ 404 404 ))) 405 405 406 406 407 -== 5.5 Successful Connection ==458 +== 7.5 Successful Connection == 408 408 409 409 410 410 [[image:image-20221222141754-5.png||height="488" width="1150"]] ... ... @@ -413,34 +413,27 @@ 413 413 [[image:image-20221222141830-6.png||height="582" width="1153"]] 414 414 415 415 416 -= 6. Downlink =467 += 8. Downlink = 417 417 418 -== 6.1 Convert HEX to Base64 == 419 419 470 +=== 8.1 Chirpstack Downlink Note === 420 420 421 -(% 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.** 422 422 423 - **[[Online HEXtoBase64Converter>>https://base64.guru/converter/encode/hex]]:**473 +==== Select HEX format for downlink ==== 424 424 425 -[[image:image-20221010193350-1.png]] 426 426 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.** 427 427 428 428 429 - **[[Online Base64 to Hex converter>>https://base64.guru/converter/decode/hex]]**479 +[[image:image-20231108171112-5.png||height="629" width="1117"]] 430 430 431 -[[image:image-20221010193621-2.png]] 432 432 482 +[[image:image-20231108171145-6.png||height="497" width="1101"]] 433 433 434 -== 6.2 Chirpstack Downlink Note == 435 435 436 436 437 -[[image:image-20220601102543-2.png]] 438 438 439 -**Convert the data to Base64** 440 440 441 -(% style="display:none" %) (%%) 442 - 443 - 444 444 [[image:image-20220531173236-10.png||height="597" width="1215"]] 445 445 446 446 **Check ChripStack downlink DataRate** ... ... @@ -452,7 +452,7 @@ 452 452 **Make sure the RX2DR is the same in the end node** 453 453 454 454 455 -== 6.3 Loraserver Downlink Note ==499 +== 8.3 Loraserver Downlink Note == 456 456 457 457 458 458 User can use MQTT to send downlink payload to ChirpStack to perform downstream to LoRaWAN End ... ... @@ -502,13 +502,11 @@ 502 502 **MQTT Connect to ChirpStack** 503 503 504 504 505 -**If we want to send downstream hex 030101 to end node, the BASE64 payload is AwEB** 506 506 507 -[[image:image-20220531173658-14.png]] 508 - 509 - 510 510 ((( 511 -Downlink payload encode javescript code: 可以在网站上运行以下Javsscript代码: 551 +Downlink payload encode javescript code. 552 + 553 +We can run the following Javsscript code on the site: 512 512 ))) 513 513 514 514 (% class="box" %) ... ... @@ -569,11 +569,13 @@ 569 569 ))) 570 570 571 571 572 -== 6.3Add the decode function in Chirpstack for the payload ==614 +== 8.4 Add the decode function in Chirpstack for the payload == 573 573 574 574 575 575 User enters the payload code according to the steps. 576 576 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 + 577 577 [[image:image-20220531173754-15.png||height="474" width="1334"]] 578 578 579 579 ... ... @@ -585,9 +585,30 @@ 585 585 [[image:image-20220531174046-19.png]] 586 586 587 587 588 -= 7. Multiply Uplink in ChirpStack = 632 +(% class="wikigeneratedid" %) 633 += 9. Chirpstack Multicast Configuration = 589 589 590 590 636 +== 9.1 Introduction == 637 + 638 +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. 639 + 640 +Multicast can be used for the following device-classes: 641 + 642 +* Class-B 643 +* Class-C 644 + 645 + 646 +== 9.2 Example to configure chirpstack Multicast == 647 + 648 + 649 +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. 650 + 651 + 652 + 653 += 9. Multiply Uplink in ChirpStack = 654 + 655 + 591 591 ((( 592 592 nbtrans field is the value to determine the re-transmission time for unconfirmed uplink data. 593 593 ))) ... ... @@ -625,19 +625,16 @@ 625 625 626 626 **Duplicate transmission in short time** 627 627 628 -[[image:image-20220601102430-1.png||height="5 98" width="1319"]]693 +[[image:image-20220601102430-1.png||height="508" width="1120"]] 629 629 630 630 631 -== 7.1 Solution ==696 +== 9.1 Solution == 632 632 633 633 634 634 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]] 635 635 636 - 637 637 ((( 638 638 (% 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.** 639 - 640 - 641 641 ))) 642 642 643 643 [[image:image-20220525104532-24.png]] ... ... @@ -750,7 +750,7 @@ 750 750 Finish. 751 751 752 752 753 -= 8. How to store/get all data traffic for a specific sensor, including raw payload, and uplink/ downlink history. =815 += 10. How to store/get all data traffic for a specific sensor, including raw payload, and uplink/ downlink history. = 754 754 755 755 756 756 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. ... ... @@ -760,7 +760,7 @@ 760 760 (% style="color:blue" %)**//1). Chirpstack ~-~-> Node-red//** 761 761 762 762 763 -[[image:image-20221012184501-1.png]] 825 +[[image:image-20221012184501-1.png||height="608" width="1041"]] 764 764 765 765 766 766 Use MQTT in Nore-red to subscribe to topics published by the chirpstack-application and then continuously write to a file ... ... @@ -796,39 +796,124 @@ 796 796 **mosquitto_sub -h IPADDRESS -p 8883 ~-~-insecure ~-~-cafile ca.pem ~-~-cert cert.pem ~-~-key key.pem -t "application/#" -v** 797 797 ))) 798 798 799 -[[image:image-20221012173639-1.png]] 861 +[[image:image-20221012173639-1.png||height="273" width="1206"]] 800 800 801 801 802 -= 9.Example:Use LocalServerChirpStack andNode-RedinLPS8v2=864 += 11. How to use Chirpstack API to batch register Sensor Node/Gateway in Chistapstack Server = 803 803 804 - LPS8v2 includesa localTTN Server and Node-Red. Thisexample showshow to configureLHT65Nto usewiththe localNode-Redserver.This example assumes usersalready have:866 +The following example is based on the built-in ChirpStack server for LPS8V2 805 805 868 +[[image:image-20231201174640-1.png||height="584" width="1148"]] 869 + 870 + 871 +== **11.1 Generate API Tokens** == 872 + 873 +Access the built-in chirpstack , click "**API Key**" and "**Add API Key**". 874 + 875 +[[image:image-20231201175118-2.png||height="597" width="1156"]] 876 + 877 +**Save the generated API Tokens** 878 + 879 +[[image:image-20231201175648-3.png||height="596" width="1155"]] 880 + 881 +[[image:image-20231204104802-1.png]] 882 + 883 + 884 +== **11.2 Template file** == 885 + 886 + 887 +Click on **"Template File Download"**, the user will download a **register.csv** template file, 888 + 889 +[[image:image-20231204105201-2.png]] 890 + 891 + 892 +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, 893 + 894 +Open the corresponding **Application** and **Device profile** and copy their IDs 895 + 896 +[[image:image-20231204110902-5.png||height="618" width="1197"]] 897 + 898 +[[image:image-20231204111116-7.png||height="619" width="1199"]] 899 + 900 +[[image:image-20231204111834-9.png||height="273" width="1205"]] 901 + 902 +[[image:image-20231204112107-10.png||height="621" width="1203"]] 903 + 904 + 905 + 906 +== **11.3 Batch Register** == 907 + 908 +[[image:image-20231204113136-11.png||height="362" width="1062"]] 909 + 910 + 911 +**Check whether the batch registration is successful** 912 + 913 +[[image:image-20231204113212-12.png]] 914 + 915 +[[image:image-20231204113237-13.png||height="558" width="1081"]] 916 + 917 + 918 + 919 += 12. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 = 920 + 921 + 922 +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: 923 + 806 806 * LHT65N register on LPS8v2 Built-In ChirpStack server already 807 807 * The user is able to see the data on the built-in ChirpStack server device page. 808 808 809 809 Below are the steps to plot the sensor data on LPS8v2 Node-Red. 810 810 811 -=== 9.1 Link Node-Red to Local ChirpStack === 812 812 813 - Userscandownload the Node-Red decoder from this linkand import it into theNode-Redplatform: **[[dragino-end-node-decoder/LHT65N.json (github.com)>>url:https://github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/LHT65N.json]]**930 +== 12.1 Link Node-Red to Local ChirpStack == 814 814 932 + 933 +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"]]** 934 + 815 815 For more information on importing Input Flow, check out this link: **[[Import Input Flow for Dragino Sensors>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0ImportInputFlowforDraginoSensors]]** 816 816 817 817 After importing the Input Flow is complete, the user needs to edit the MQTT in the node 818 818 819 -**~1. Change the Topic** 820 820 940 +(% style="color:blue" %)**1. Change the Topic** 941 + 821 821 Topic modifies it to the following format: 822 822 823 -** v3/Application ID/devices/End device ID/up**944 +**application/(% style="color:red" %)Application ID(%%)/device/(% style="color:red" %)End device ID(%%)/event/up** 824 824 946 +Reference link: [[**Node-RED integration** >>https://www.chirpstack.io/docs/guides/node-red-integration.html]] 825 825 948 +[[image:image-20230527143923-1.png||height="588" width="1132"]] 826 826 827 -= 10. Trouble Shooting = 828 828 829 -== 10.1 MIC Mismatch or MIC Failed == 830 830 952 +(% style="color:blue" %)**2. Enter the MQTT configuration information** 831 831 954 +[[image:image-20230527144206-2.png||height="590" width="1136"]] 955 + 956 + 957 +(% style="color:blue" %)**3.** **Finally, click "Update" and Deploy** 958 + 959 +"Connected" indicates that the Link Node-red to Local Chirpstack is normal. 960 + 961 +[[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"]] 962 + 963 + 964 +== 12.2 Check result. == 965 + 966 + 967 +Users can check logs by adding debug. 968 + 969 +Browser access: **Node-Red-Server-Address:1880/ui** 970 + 971 +[[image:image-20230529150923-1.png||height="424" width="1118"]] 972 + 973 + 974 += 13. Trouble Shooting = 975 + 976 +== 13.1 MIC Mismatch or MIC Failed == 977 + 978 + 832 832 ((( 833 833 When the device is registered or the device is working normally, the problem of MIC mismatch and MIC failed occurs. 834 834 ))) ... ... @@ -836,5 +836,101 @@ 836 836 ((( 837 837 Under normal circumstances, users need to change the APPKEY to solve this problem. 838 838 986 + 987 +== 13.2 The node is very close to the gateway, but the signal is poor == 988 + 989 + 990 +If you are using US915 or AU915, you found the frequency points of different subband ranges in your uplink 991 + 992 +Like that:Both 905.1Mhz and 902.3Mhz appear on uplink 993 + But they belong to Subband1 and Subband2 of US915 respectively 994 + 995 +Cause: The server and the gateway use different frequency bands (the server uses Subband1, and the gateway uses Subband2) 996 + 997 + 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. 998 + 999 +How to check the frequency band used by the server: 1000 + 1001 +You can view the information sent by the server: ch_mask in Unconfirmdedatadown 1002 + 1003 +[[image:image-20230821113255-1.png]] 1004 + 1005 +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. 1006 + 1007 +[[image:image-20230821113539-2.png]] 1008 + 1009 +In the second message, the channel 0~~7 is true, which means that your server is using subband2. 1010 + 1011 +[[image:image-20230821113618-3.png]] 1012 + 1013 +**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]]** 1014 + 1015 + 1016 +== 13.3 ChirpStackv4 node device displays "UPLINK_F_CNT_RETRANSMISSION" == 1017 + 1018 + 1019 +This is because the node's packets are retransmitted, and the Fcnt of these packets is the same. 1020 + 1021 +The user can Disable frame-counter validation on the chirpstack node and this warning message will not appear in the logs. 1022 + 1023 + 1024 +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. 1025 + 1026 + 1027 +**The possible reasons are: ** 1028 + 1029 +~1. The signal of the node device and the gateway is not good 1030 + 1031 +2. Too many node devices affect the downlink of the gateway 1032 + 1033 + 1034 +[[image:image-20240717085339-1.jpeg]] 1035 + 1036 + 1037 +* **Disable frame-counter validation** 1038 + 1039 +[[image:image-20240717102613-5.png||height="803" width="1211"]] 1040 + 1041 + 1042 +* **Result** 1043 + 1044 +[[image:image-20240717092428-4.jpeg]] 1045 + 1046 + 1047 +== 13.4 How to get the log information of the node? == 1048 + 1049 + 1050 +~1. Get information about a single node. 1051 + 1052 +* Download this file in the node's live data interface. 1053 + 1054 +[[image:image-20240117173123-1.png||height="526" width="1086"]] 1055 + 1056 +* The LoRaWAN frames download gateway receives real-time data from the current node. 1057 + 1058 +[[image:image-20240117174452-2.png||height="525" width="1081"]] 1059 + 1060 + 1061 +2. Get information about the entire Gateway. 1062 + 1063 +* Click to select the online gateway of the current node. 1064 + 1065 +[[image:image-20240117175058-4.png||height="532" width="1077"]] 1066 + 1067 + 1068 +* Download this file on the LoRaWAN frames interface. 1069 + 1070 +[[image:image-20240117175009-3.png||height="524" width="1076"]] 1071 + 1072 + 1073 + 1074 +After the data collection is completed, you can send this file directly to our technical support personnel for analysis. 1075 + 1076 + 1077 +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. 1078 + 1079 +[[image:image-20240117175738-5.png]] 1080 + 1081 +(% class="wikigeneratedid" id="H" %) 839 839 840 840 )))
- image-20230529150923-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +87.2 KB - Content
- image-20230531162943-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +84.6 KB - Content
- image-20230702094608-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +53.8 KB - Content
- image-20230702094852-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.5 KB - Content
- image-20230702094944-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.7 KB - Content
- image-20230702095114-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.5 KB - Content
- image-20230702095557-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +48.5 KB - Content
- image-20230702095641-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.2 KB - Content
- image-20230702095827-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.9 KB - Content
- image-20230702100312-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.2 KB - Content
- image-20230702100356-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +21.9 KB - Content
- image-20230702100543-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +25.6 KB - Content
- image-20230702100930-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +48.7 KB - Content
- image-20230821113255-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +115.7 KB - Content
- image-20230821113539-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +71.1 KB - Content
- 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