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)
-
Attachments (0 modified, 0 added, 11 removed)
Details
- Page properties
-
- Content
-
... ... @@ -37,28 +37,24 @@ 37 37 ))) 38 38 ))) 39 39 40 - 41 41 = 2. Node usage introduction = 42 42 43 43 == 2.1 Register Node == 44 44 44 +Step 1: Add application 45 45 46 -**Step 1: Add application** 47 - 48 48 [[image:image-20230702094608-1.png||height="537" width="1015"]] 49 49 48 +Step 2:Fill name 50 50 51 -**Step 2:Fill name** 52 - 53 53 [[image:image-20230702094852-2.png]] 54 54 52 +Step4 :Add device profile 55 55 56 -**Step3 :Add device profile** 57 - 58 58 [[image:image-20230702095114-4.png||height="448" width="1061"]] 59 59 60 60 61 - **Step4:Configure your device profile**57 +Step5 :Configure your device profile 62 62 63 63 [[image:image-20230702095557-5.png||height="648" width="1121"]] 64 64 ... ... @@ -71,17 +71,16 @@ 71 71 [[image:image-20230702095827-7.png||height="490" width="1138"]] 72 72 73 73 74 - **Step5:add device**70 +Step6 :add device 75 75 76 76 [[image:image-20230702094944-3.png||height="439" width="1153"]] 77 77 78 78 79 -[[image:image-20230702100312-8.png||height="550" width="1106"]] 80 80 76 +[[image:image-20230702100312-8.png||height="585" width="1176"]] 81 81 82 82 [[image:image-20230702100543-10.png||height="313" width="1099"]] 83 83 84 - 85 85 [[image:image-20230702100930-11.png||height="613" width="1098"]] 86 86 87 87 ... ... @@ -101,6 +101,7 @@ 101 101 102 102 (% style="color:red" %)**If the user cannot add network-Servers, re-check the ChirpStack code or the server building process.** 103 103 99 + 104 104 [[image:image-20220531171609-1.png||height="638" width="1268"]](% style="display:none" %) 105 105 106 106 Add the Network-servers ... ... @@ -136,6 +136,8 @@ 136 136 137 137 ((( 138 138 (% style="color:red" %)**Note : The Gateway EUI and server addresses must match the ChirpStack configuration.** 135 + 136 + 139 139 ))) 140 140 141 141 [[image:image-20220531171923-4.png||height="745" width="1253"]](% style="display:none" %) ... ... @@ -143,6 +143,7 @@ 143 143 Add the gateway 144 144 145 145 144 + 146 146 [[image:image-20220531172031-5.png]] 147 147 148 148 Configure the gateway ... ... @@ -161,12 +161,11 @@ 161 161 162 162 gateway Status 163 163 164 - 165 165 = 4. Semtech UDP for ChirpStack v4 = 166 166 165 + 167 167 == 4.1 Step 1. Add the gateway == 168 168 169 - 170 170 [[image:image-20230926092907-1.png||height="598" width="1007"]] 171 171 172 172 ... ... @@ -435,7 +435,6 @@ 435 435 436 436 [[image:image-20221222140203-4.png||height="875" width="806"]] 437 437 438 - 439 439 [[image:image-20221230094246-1.png||height="768" width="783"]] 440 440 441 441 (% class="wikigeneratedid" id="H" %) ... ... @@ -474,25 +474,32 @@ 474 474 475 475 = 8. Downlink = 476 476 474 +== 8.1 Convert HEX to Base64 == 477 477 478 -=== 8.1 Chirpstack Downlink Note === 479 479 477 +(% 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.** 480 480 481 - ==== SelectHEXformatfordownlink ====479 +**[[Online HEX to Base64 Converter>>https://base64.guru/converter/encode/hex]]:** 482 482 481 +[[image:image-20221010193350-1.png]] 483 483 484 -(% style="color:red" %)**Note: The end node user manual provides HEX format of the downlink commands, so users can directly select HEX format downlink.** 485 485 486 486 487 -[[i mage:image-20231108171112-5.png||height="629" width="1117"]]485 +**[[Online Base64 to Hex converter>>https://base64.guru/converter/decode/hex]]** 488 488 487 +[[image:image-20221010193621-2.png]] 489 489 490 -[[image:image-20231108171145-6.png||height="497" width="1101"]] 491 491 490 +== 8.2 Chirpstack Downlink Note == 492 492 493 493 493 +[[image:image-20220601102543-2.png]] 494 494 495 +**Convert the data to Base64** 495 495 497 +(% style="display:none" %) (%%) 498 + 499 + 496 496 [[image:image-20220531173236-10.png||height="597" width="1215"]] 497 497 498 498 **Check ChripStack downlink DataRate** ... ... @@ -554,11 +554,13 @@ 554 554 **MQTT Connect to ChirpStack** 555 555 556 556 561 +**If we want to send downstream hex 030101 to end node, the BASE64 payload is AwEB** 557 557 558 -((( 559 -Downlink payload encode javescript code. 563 +[[image:image-20220531173658-14.png]] 560 560 561 -We can run the following Javsscript code on the site: 565 + 566 +((( 567 +Downlink payload encode javescript code: 可以在网站上运行以下Javsscript代码: 562 562 ))) 563 563 564 564 (% class="box" %) ... ... @@ -677,7 +677,7 @@ 677 677 678 678 **Duplicate transmission in short time** 679 679 680 -[[image:image-20220601102430-1.png||height="5 08" width="1120"]]686 +[[image:image-20220601102430-1.png||height="598" width="1319"]] 681 681 682 682 683 683 == 9.1 Solution == ... ... @@ -685,8 +685,11 @@ 685 685 686 686 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]] 687 687 694 + 688 688 ((( 689 689 (% 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.** 697 + 698 + 690 690 ))) 691 691 692 692 [[image:image-20220525104532-24.png]] ... ... @@ -809,7 +809,7 @@ 809 809 (% style="color:blue" %)**//1). Chirpstack ~-~-> Node-red//** 810 810 811 811 812 -[[image:image-20221012184501-1.png ||height="608" width="1041"]]821 +[[image:image-20221012184501-1.png]] 813 813 814 814 815 815 Use MQTT in Nore-red to subscribe to topics published by the chirpstack-application and then continuously write to a file ... ... @@ -845,31 +845,11 @@ 845 845 **mosquitto_sub -h IPADDRESS -p 8883 ~-~-insecure ~-~-cafile ca.pem ~-~-cert cert.pem ~-~-key key.pem -t "application/#" -v** 846 846 ))) 847 847 848 -[[image:image-20221012173639-1.png ||height="273" width="1206"]]857 +[[image:image-20221012173639-1.png]] 849 849 859 += 11. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 = 850 850 851 -= 11. How to use Chirpstack API to batch register Sensor Node/Gateway in Chistapstack Server = 852 852 853 -The following example is based on the built-in ChirpStack server for LPS8V2 854 - 855 -[[image:image-20231201174640-1.png||height="584" width="1148"]] 856 - 857 - 858 -**11.1 Generate API Tokens** 859 - 860 -Access the built-in chirpstack , click "API Key" and "Add API Key". 861 - 862 -[[image:image-20231201175118-2.png||height="597" width="1156"]] 863 - 864 -Save the generated API Tokens 865 - 866 -[[image:image-20231201175648-3.png||height="596" width="1155"]] 867 - 868 -[[image:image-20231201180103-4.png||height="413" width="1151"]] 869 - 870 -= 12. Example: Use Local Server ChirpStack and Node-Red in LPS8v2 = 871 - 872 - 873 873 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: 874 874 875 875 * LHT65N register on LPS8v2 Built-In ChirpStack server already ... ... @@ -878,7 +878,7 @@ 878 878 Below are the steps to plot the sensor data on LPS8v2 Node-Red. 879 879 880 880 881 -== 1 2.1 Link Node-Red to Local ChirpStack ==870 +== 11.1 Link Node-Red to Local ChirpStack == 882 882 883 883 884 884 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"]]** ... ... @@ -905,7 +905,7 @@ 905 905 [[image:image-20230527144206-2.png||height="590" width="1136"]] 906 906 907 907 908 -(% style="color:blue" %) **3.****Finally, click "Update" and Deploy**897 +(% style="color:blue" %)3. **Finally, click "Update" and Deploy** 909 909 910 910 "Connected" indicates that the Link Node-red to Local Chirpstack is normal. 911 911 ... ... @@ -912,7 +912,7 @@ 912 912 [[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"]] 913 913 914 914 915 -== 1 2.2 Check result. ==904 +== 11.2 Check result. == 916 916 917 917 918 918 Users can check logs by adding debug. ... ... @@ -922,9 +922,9 @@ 922 922 [[image:image-20230529150923-1.png||height="424" width="1118"]] 923 923 924 924 925 -= 1 3. Trouble Shooting =914 += 12. Trouble Shooting = 926 926 927 -== 1 3.1 MIC Mismatch or MIC Failed ==916 +== 12.1 MIC Mismatch or MIC Failed == 928 928 929 929 930 930 ((( ... ... @@ -935,9 +935,8 @@ 935 935 Under normal circumstances, users need to change the APPKEY to solve this problem. 936 936 937 937 938 -== 1 3.2 The node is very close to the gateway, but the signal is poor ==927 +== 12.2 The node is very close to the gateway, but the signal is poor == 939 939 940 - 941 941 If you are using US915 or AU915, you found the frequency points of different subband ranges in your uplink 942 942 943 943 Like that:Both 905.1Mhz and 902.3Mhz appear on uplink ... ... @@ -961,7 +961,5 @@ 961 961 962 962 [[image:image-20230821113618-3.png]] 963 963 964 -**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]]** 965 - 966 - 952 +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]] 967 967 )))
- image-20231108140540-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -46.3 KB - Content
- image-20231108164914-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.2 KB - Content
- image-20231108165128-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -43.3 KB - Content
- image-20231108165158-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -60.8 KB - Content
- image-20231108171112-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -47.7 KB - Content
- image-20231108171145-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -39.1 KB - Content
- image-20231201174640-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -43.6 KB - Content
- image-20231201175118-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -83.2 KB - Content
- image-20231201175648-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -103.2 KB - Content
- image-20231201180103-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -52.6 KB - Content
- image-20231204104802-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -42.4 KB - Content