Changes for page Notes for ChirpStack
Last modified by Kilight Cao on 2024/09/24 15:23
Change comment:
Uploaded new attachment "image-20230527115750-1.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 22 removed)
- image-20230527143923-1.png
- image-20230527144206-2.png
- 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
Details
- Page properties
-
- Content
-
... ... @@ -20,7 +20,7 @@ 20 20 21 21 **1) Have a Chirstack Server.** 22 22 23 -[[image:image-202 30821114047-4.png||height="524" width="990"]]23 +[[image:image-20220525100058-1.png]] 24 24 25 25 ChirpStack home page 26 26 ... ... @@ -37,54 +37,12 @@ 37 37 ))) 38 38 ))) 39 39 40 -= 2. Node usage introduction = 41 41 42 -= =2.1RegisterNode==41 += 2. Semtech UDP = 43 43 44 -Step 1 :Addapplication43 +== 2.1 Step 1. Add the Network-servers == 45 45 46 -[[image:image-20230702094608-1.png||height="537" width="1015"]] 47 47 48 -Step 2:Fill name 49 - 50 -[[image:image-20230702094852-2.png]] 51 - 52 -Step4 :Add device profile 53 - 54 -[[image:image-20230702095114-4.png||height="448" width="1061"]] 55 - 56 - 57 -Step5 :Configure your device profile 58 - 59 -[[image:image-20230702095557-5.png||height="648" width="1121"]] 60 - 61 -Does node support class-c 62 - 63 -[[image:image-20230702095641-6.png||height="349" width="1114"]] 64 - 65 -Add node's decoder 66 - 67 -[[image:image-20230702095827-7.png||height="490" width="1138"]] 68 - 69 - 70 -Step6 :add device 71 - 72 -[[image:image-20230702094944-3.png||height="439" width="1153"]] 73 - 74 - 75 - 76 -[[image:image-20230702100312-8.png||height="585" width="1176"]] 77 - 78 -[[image:image-20230702100543-10.png||height="313" width="1099"]] 79 - 80 -[[image:image-20230702100930-11.png||height="613" width="1098"]] 81 - 82 - 83 -= 3. Semtech UDP = 84 - 85 -== 3.1 Step 1. Add the Network-servers == 86 - 87 - 88 88 The network-Servers address varies depending on the ChirpStack server setup environment 89 89 90 90 (% class="box" %) ... ... @@ -97,23 +97,23 @@ 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 99 100 -[[image:image-20220531171609-1.png ||height="638" width="1268"]](% style="display:none" %)58 +[[image:image-20220531171609-1.png]] 101 101 102 102 Add the Network-servers 103 103 104 104 105 -== 3.2 Step 2. Create Gateway-profiles ==63 +== 2.2 Step 2. Create Gateway-profiles == 106 106 107 107 108 -[[image:image-20220531171651-2.png ||height="632" width="1264"]](% style="display:none" %)66 +[[image:image-20220531171651-2.png]] 109 109 110 110 Create Gateway-profiles 111 111 112 112 113 -== 3.3 Step 3. Create Service-profiles ==71 +== 2.3 Step 3. Create Service-profiles == 114 114 115 115 116 -[[image:image-20220531171809-3.png ||height="761" width="1265"]]74 +[[image:image-20220531171809-3.png]] 117 117 118 118 Create Service-profiles 119 119 ... ... @@ -125,7 +125,7 @@ 125 125 If the user has completed the preceding steps, proceed to the next step.(% style="display:none" %) 126 126 127 127 128 -== 3.4 Step 4. Add the gateway ==86 +== 2.4 Step 4. Add the gateway == 129 129 130 130 131 131 The example gateway id is: a840411e96744150 ... ... @@ -136,7 +136,7 @@ 136 136 137 137 ))) 138 138 139 -[[image:image-20220531171923-4.png ||height="745" width="1253"]](% style="display:none" %)97 +[[image:image-20220531171923-4.png]](% style="display:none" %) 140 140 141 141 Add the gateway 142 142 ... ... @@ -147,23 +147,23 @@ 147 147 Configure the gateway 148 148 149 149 150 -== 3.5 Step 5. Checking gateway Status ==108 +== 2.5 Step 5. Checking gateway Status == 151 151 152 152 153 -[[image:image-20220531172158-6.png ||height="704" width="1167"]](% style="display:none" %)111 +[[image:image-20220531172158-6.png]](% style="display:none" %) 154 154 155 155 156 156 157 157 gateway Status 158 158 159 -[[image:image-20220531172304-7.png ||height="628" width="1165"]]117 +[[image:image-20220531172304-7.png]] 160 160 161 161 gateway Status 162 162 163 163 164 -= 4. Gateway Registration for Basics Station =122 += 3. Gateway Registration for Basics Station = 165 165 166 -== 4.1 Introduction ==124 +== 3.1 Introduction == 167 167 168 168 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. ... ... @@ -186,13 +186,13 @@ 186 186 A gateway that can access the internet normally 187 187 188 188 189 -== 4.2 Add Gateway ==147 +== 3.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 ==153 +== 3.3 Access the gateway GUI == 196 196 197 197 198 198 Access the gateway GUI interface of LoRaWAN~-~->LoRaWAN ~-~- Basic Station ... ... @@ -206,7 +206,7 @@ 206 206 ((( 207 207 Service Provider ~-~-> Choose the ChirpStack/Senet ~-~- Basic Station 208 208 209 -LNS URI ~-~-> Enter the LNS URI address, For example : wss:~/~/xxxx.chirpstack.com:4 43 or ws:~/~/xxxx.chirpstack.com:3001167 +LNS URI ~-~-> Enter the LNS URI address, For example : wss:~/~/xxxx.chirpstack.com:433 or ws:~/~/xxxx.chirpstack.com:3001 210 210 211 211 LNS TLS trust ~-~-> Upload the TLS Certificate 212 212 ))) ... ... @@ -215,13 +215,13 @@ 215 215 [[image:image-20220524164341-12.png]] 216 216 217 217 218 -== 4.4 Start Station ==176 +== 3.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 ==182 +== 3.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 ==190 +== 3.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 =203 += 4. 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:** ... ... @@ -263,7 +263,7 @@ 263 263 The following example does not have configuration certificates: 264 264 265 265 266 -== 5.1 Configure Packet Forwarder ==224 +== 4.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 ==242 +== 4.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 ==250 +== 4.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 ==277 +== 4.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 ==300 +== 4.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 =321 += 5. 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:** ... ... @@ -378,7 +378,7 @@ 378 378 A gateway that can access the internet normally 379 379 380 380 381 -== 6.1 Configure Packet Forwarder ==339 +== 5.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 ==357 +== 5.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 ==365 +== 5.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: ... ... @@ -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 ==386 +== 5.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 ==407 +== 5.5 Successful Connection == 450 450 451 451 452 452 [[image:image-20221222141754-5.png||height="488" width="1150"]] ... ... @@ -455,9 +455,9 @@ 455 455 [[image:image-20221222141830-6.png||height="582" width="1153"]] 456 456 457 457 458 -= 7. Downlink =416 += 6. Downlink = 459 459 460 -== 7.1 Convert HEX to Base64 ==418 +== 6.1 Convert HEX to Base64 == 461 461 462 462 463 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.** ... ... @@ -473,7 +473,7 @@ 473 473 [[image:image-20221010193621-2.png]] 474 474 475 475 476 -== 7.2 Chirpstack Downlink Note ==434 +== 6.2 Chirpstack Downlink Note == 477 477 478 478 479 479 [[image:image-20220601102543-2.png]] ... ... @@ -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 ==455 +== 6.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 ... ... @@ -611,13 +611,11 @@ 611 611 ))) 612 612 613 613 614 -== 7.4Add the decode function in Chirpstack for the payload ==572 +== 6.3 Add the decode function in Chirpstack for the payload == 615 615 616 616 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 621 [[image:image-20220531173754-15.png||height="474" width="1334"]] 622 622 623 623 ... ... @@ -629,7 +629,7 @@ 629 629 [[image:image-20220531174046-19.png]] 630 630 631 631 632 -= 8. Multiply Uplink in ChirpStack =588 += 7. Multiply Uplink in ChirpStack = 633 633 634 634 635 635 ((( ... ... @@ -672,7 +672,7 @@ 672 672 [[image:image-20220601102430-1.png||height="598" width="1319"]] 673 673 674 674 675 -== 8.1 Solution ==631 +== 7.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]] ... ... @@ -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. =753 += 8. 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. ... ... @@ -842,66 +842,12 @@ 842 842 843 843 [[image:image-20221012173639-1.png]] 844 844 845 -= 10. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 = 846 846 802 += 9. Trouble Shooting = 847 847 848 - LPS8v2includesa localChirpStackServer and Node-Red. Thisexample shows howtoconfigure LHT65N to use withthe local Node-Red server.Thisexampleassumes users alreadyhave:804 +== 9.1 MIC Mismatch or MIC Failed == 849 849 850 -* LHT65N register on LPS8v2 Built-In ChirpStack server already 851 -* The user is able to see the data on the built-in ChirpStack server device page. 852 852 853 -Below are the steps to plot the sensor data on LPS8v2 Node-Red. 854 - 855 - 856 -== 10.1 Link Node-Red to Local ChirpStack == 857 - 858 - 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"]]** 860 - 861 -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]]** 862 - 863 -After importing the Input Flow is complete, the user needs to edit the MQTT in the node 864 - 865 - 866 -(% style="color:blue" %)**1. Change the Topic** 867 - 868 -Topic modifies it to the following format: 869 - 870 -**application/(% style="color:red" %)Application ID(%%)/device/(% style="color:red" %)End device ID(%%)/event/up** 871 - 872 -Reference link: [[**Node-RED integration** >>https://www.chirpstack.io/docs/guides/node-red-integration.html]] 873 - 874 -[[image:image-20230527143923-1.png||height="588" width="1132"]] 875 - 876 - 877 - 878 -(% style="color:blue" %)**2. Enter the MQTT configuration information** 879 - 880 -[[image:image-20230527144206-2.png||height="590" width="1136"]] 881 - 882 - 883 -(% style="color:blue" %)3. **Finally, click "Update" and Deploy** 884 - 885 -"Connected" indicates that the Link Node-red to Local Chirpstack is normal. 886 - 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 - 889 - 890 -== 10.2 Check result. == 891 - 892 - 893 -Users can check logs by adding debug. 894 - 895 -Browser access: **Node-Red-Server-Address:1880/ui** 896 - 897 -[[image:image-20230529150923-1.png||height="424" width="1118"]] 898 - 899 - 900 -= 11. Trouble Shooting = 901 - 902 -== 11.1 MIC Mismatch or MIC Failed == 903 - 904 - 905 905 ((( 906 906 When the device is registered or the device is working normally, the problem of MIC mismatch and MIC failed occurs. 907 907 ))) ... ... @@ -909,31 +909,5 @@ 909 909 ((( 910 910 Under normal circumstances, users need to change the APPKEY to solve this problem. 911 911 912 - 913 -== 11.2 The node is very close to the gateway, but the signal is poor == 914 - 915 -If you are using US915 or AU915, you found the frequency points of different subband ranges in your uplink 916 - 917 -Like that:Both 905.1Mhz and 902.3Mhz appear on uplink 918 - But they belong to Subband1 and Subband2 of US915 respectively 919 - 920 -Cause: The server and the gateway use different frequency bands (the server uses Subband1, and the gateway uses Subband2) 921 - 922 - 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. 923 - 924 -How to check the frequency band used by the server: 925 - 926 -You can view the information sent by the server: ch_mask in Unconfirmdedatadown 927 - 928 -[[image:image-20230821113255-1.png]] 929 - 930 -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. 931 - 932 -[[image:image-20230821113539-2.png]] 933 - 934 -In the second message, the channel 0~~7 is true, which means that your server is using subband2. 935 - 936 -[[image:image-20230821113618-3.png]] 937 - 938 -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]] 814 + 939 939 )))
- image-20230527143923-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -222.4 KB - Content
- image-20230527144206-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -224.2 KB - Content
- image-20230529150923-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -87.2 KB - Content
- image-20230531162943-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -84.6 KB - Content
- image-20230702094608-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -53.8 KB - Content
- image-20230702094852-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.5 KB - Content
- image-20230702094944-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -26.7 KB - Content
- image-20230702095114-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -43.5 KB - Content
- image-20230702095557-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -48.5 KB - Content
- image-20230702095641-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -19.2 KB - Content
- image-20230702095827-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -34.9 KB - Content
- image-20230702100312-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -33.2 KB - Content
- image-20230702100356-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -21.9 KB - Content
- image-20230702100543-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -25.6 KB - Content
- image-20230702100930-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -48.7 KB - Content
- image-20230821113255-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -115.7 KB - Content
- image-20230821113539-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -71.1 KB - Content
- image-20230821113618-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -19.0 KB - Content
- image-20230821114047-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -125.6 KB - Content
- image-20230926092907-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -64.0 KB - Content
- image-20230926093057-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -69.6 KB - Content
- image-20230926093233-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -95.8 KB - Content