Changes for page Notes for ChirpStack
Last modified by Edwin Chen on 2025/01/30 09:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -37,12 +37,54 @@ 37 37 ))) 38 38 ))) 39 39 40 += 2. Node usage introduction = 40 40 41 -= 2. SemtechUDP=42 +== 2.1 Register Node == 42 42 43 - == 2.1Step 1.Add the Network-servers ==44 +Step 1: Add application 44 44 46 +[[image:image-20230702094608-1.png||height="537" width="1015"]] 45 45 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 + 46 46 The network-Servers address varies depending on the ChirpStack server setup environment 47 47 48 48 (% class="box" %) ... ... @@ -60,7 +60,7 @@ 60 60 Add the Network-servers 61 61 62 62 63 -== 2.2 Step 2. Create Gateway-profiles ==105 +== 3.2 Step 2. Create Gateway-profiles == 64 64 65 65 66 66 [[image:image-20220531171651-2.png||height="632" width="1264"]](% style="display:none" %) ... ... @@ -68,7 +68,7 @@ 68 68 Create Gateway-profiles 69 69 70 70 71 -== 2.3 Step 3. Create Service-profiles ==113 +== 3.3 Step 3. Create Service-profiles == 72 72 73 73 74 74 [[image:image-20220531171809-3.png||height="761" width="1265"]] ... ... @@ -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 ==128 +== 3.4 Step 4. Add the gateway == 87 87 88 88 89 89 The example gateway id is: a840411e96744150 ... ... @@ -105,7 +105,7 @@ 105 105 Configure the gateway 106 106 107 107 108 -== 2.5 Step 5. Checking gateway Status ==150 +== 3.5 Step 5. Checking gateway Status == 109 109 110 110 111 111 [[image:image-20220531172158-6.png||height="704" width="1167"]](% style="display:none" %) ... ... @@ -119,9 +119,9 @@ 119 119 gateway Status 120 120 121 121 122 -= 3. Gateway Registration for Basics Station =164 += 4. Gateway Registration for Basics Station = 123 123 124 -== 3.1 Introduction ==166 +== 4.1 Introduction == 125 125 126 126 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. ... ... @@ -144,13 +144,13 @@ 144 144 A gateway that can access the internet normally 145 145 146 146 147 -== 3.2 Add Gateway ==189 +== 4.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 ==195 +== 4.3 Access the gateway GUI == 154 154 155 155 156 156 Access the gateway GUI interface of LoRaWAN~-~->LoRaWAN ~-~- Basic Station ... ... @@ -173,13 +173,13 @@ 173 173 [[image:image-20220524164341-12.png]] 174 174 175 175 176 -== 3.4 Start Station ==218 +== 4.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 ==224 +== 4.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 ==232 +== 4.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 =245 += 5. 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:** ... ... @@ -221,7 +221,7 @@ 221 221 The following example does not have configuration certificates: 222 222 223 223 224 -== 4.1 Configure Packet Forwarder ==266 +== 5.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 ==284 +== 5.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 ==292 +== 5.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 ==319 +== 5.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 ==342 +== 5.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 =363 += 6. 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:** ... ... @@ -336,7 +336,7 @@ 336 336 A gateway that can access the internet normally 337 337 338 338 339 -== 5.1 Configure Packet Forwarder ==381 +== 6.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 ==399 +== 6.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 ==407 +== 6.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: ... ... @@ -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 ==428 +== 6.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 ==449 +== 6.5 Successful Connection == 408 408 409 409 410 410 [[image:image-20221222141754-5.png||height="488" width="1150"]] ... ... @@ -413,9 +413,9 @@ 413 413 [[image:image-20221222141830-6.png||height="582" width="1153"]] 414 414 415 415 416 -= 6. Downlink =458 += 7. Downlink = 417 417 418 -== 6.1 Convert HEX to Base64 ==460 +== 7.1 Convert HEX to Base64 == 419 419 420 420 421 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.** ... ... @@ -431,7 +431,7 @@ 431 431 [[image:image-20221010193621-2.png]] 432 432 433 433 434 -== 6.2 Chirpstack Downlink Note ==476 +== 7.2 Chirpstack Downlink Note == 435 435 436 436 437 437 [[image:image-20220601102543-2.png]] ... ... @@ -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 ==497 +== 7.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 ... ... @@ -569,7 +569,7 @@ 569 569 ))) 570 570 571 571 572 -== 6.4 Add the decode function in Chirpstack for the payload ==614 +== 7.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. ... ... @@ -587,7 +587,7 @@ 587 587 [[image:image-20220531174046-19.png]] 588 588 589 589 590 -= 7. Multiply Uplink in ChirpStack =632 += 8. Multiply Uplink in ChirpStack = 591 591 592 592 593 593 ((( ... ... @@ -630,7 +630,7 @@ 630 630 [[image:image-20220601102430-1.png||height="598" width="1319"]] 631 631 632 632 633 -== 7.1 Solution ==675 +== 8.1 Solution == 634 634 635 635 636 636 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]] ... ... @@ -752,7 +752,7 @@ 752 752 Finish. 753 753 754 754 755 -= 8. How to store/get all data traffic for a specific sensor, including raw payload, and uplink/ downlink history. =797 += 9. How to store/get all data traffic for a specific sensor, including raw payload, and uplink/ downlink history. = 756 756 757 757 758 758 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. ... ... @@ -800,7 +800,7 @@ 800 800 801 801 [[image:image-20221012173639-1.png]] 802 802 803 -= 9. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 =845 += 10. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 = 804 804 805 805 806 806 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: ... ... @@ -811,7 +811,7 @@ 811 811 Below are the steps to plot the sensor data on LPS8v2 Node-Red. 812 812 813 813 814 -== 9.1 Link Node-Red to Local ChirpStack ==856 +== 10.1 Link Node-Red to Local ChirpStack == 815 815 816 816 817 817 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"]]** ... ... @@ -845,7 +845,7 @@ 845 845 [[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"]] 846 846 847 847 848 -== 9.2 Check result. ==890 +== 10.2 Check result. == 849 849 850 850 851 851 Users can check logs by adding debug. ... ... @@ -855,9 +855,9 @@ 855 855 [[image:image-20230529150923-1.png||height="424" width="1118"]] 856 856 857 857 858 -= 1 0. Trouble Shooting =900 += 11. Trouble Shooting = 859 859 860 -== 1 0.1 MIC Mismatch or MIC Failed ==902 +== 11.1 MIC Mismatch or MIC Failed == 861 861 862 862 863 863 (((