Changes for page Lorawan-server by Petr Gotthard
Last modified by Xiaoling on 2023/04/21 17:42
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 25 added, 0 removed)
- image-20220524180555-1.png
- image-20220524180614-2.png
- image-20220524180641-3.png
- image-20220524180700-4.png
- image-20220526113607-1.png
- image-20220526113654-2.png
- image-20220526113743-3.png
- image-20220526113853-4.png
- image-20220526171716-1.png
- image-20220526172628-2.png
- image-20220527085338-1.png
- image-20220527091541-2.png
- image-20220531144134-1.png
- image-20220531144640-2.png
- image-20220531144914-3.png
- image-20220531144957-4.png
- image-20220531151807-5.png
- image-20220601184816-1.png
- image-20220601185451-2.png
- image-20220601190313-3.png
- image-20220601200220-4.png
- image-20220601203544-5.png
- image-20220601203837-6.png
- image-20220601204155-7.png
- image-20220601204545-8.png
Details
- Page properties
-
- Content
-
... ... @@ -1,32 +1,217 @@ 1 -{{box cssClass="floatinginfobox" title="**Contents**"}} 1 +**~ Table of Contents:** 2 + 2 2 {{toc/}} 3 -{{/box}} 4 4 5 -= Paragraph 1 = 6 6 7 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 8 8 9 -== Sub-paragraph == 10 10 11 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 12 12 13 -= =Sub-paragraph==9 += 1. Introduction = 14 14 15 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 16 16 17 - ===Sub-subparagraph===12 +This is an Open Source LoRaWAN server from [[https:~~/~~/github.com/gotthardp/lorawan-server>>url:https://github.com/gotthardp/lorawan-server]]. 18 18 19 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 20 20 21 21 22 -= Paragraph2=16 += 2. Support Devices = 23 23 24 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 25 25 26 - ==Sub-paragraph==19 +All current LoRaWAN gateway can support the connection to this LoRaWAN server. Some gateway models have this lorawan server built-in by default. They are: 27 27 28 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 21 +* HP0A 22 +* HP0C 23 +* LPS8v2 29 29 30 - ==Sub-paragraph==25 +If for some reason, if the above model doesn't have this lorawan server in it. Users can install them manually. 31 31 32 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 27 + 28 + 29 +== 2.1 Install lorawan server in Armbian System == 30 + 31 + 32 +=== 2.1.1 Check if you have the Armbian system === 33 + 34 + 35 +(% style="color:blue" %)**Run command:** 36 + 37 +(% class="box infomessage" %) 38 +((( 39 +**uname -a** 40 + 41 +**cat /etc/debian_version ** 42 +))) 43 + 44 +[[image:image-20220526172628-2.png]] 45 + 46 + 47 + 48 +=== 2.1.2 Install lorawan server === 49 + 50 + 51 +(% style="color:blue" %)**Run command:** 52 + 53 +(% class="box infomessage" %) 54 +((( 55 +**wget https://github.com/gotthardp/lorawan-server/releases/download/v0.6.7/lorawan-server_0.6.7_all.deb****** 56 + 57 +**dpkg -i lorawan-server_0.6.7_all.deb ** 58 +))) 59 + 60 +[[image:image-20220527085338-1.png||height="271" width="1145"]] 61 + 62 +At this point, lorawan-server is installed 63 + 64 + 65 + 66 +== 2.2 How do start lorawan server == 67 + 68 +=== 2.2.1 Setting the automatic startup and start/stop lorawan-server via systemctl === 69 + 70 + 71 +(% style="color:blue" %)**If users want the server to start automatically after system reboot, run the command:** 72 + 73 +(% class="box infomessage" %) 74 +((( 75 + systemctl enable lorawan-server 76 +))) 77 + 78 + 79 +(% style="color:blue" %)**start/stop lorawan-server via systemctl:** 80 + 81 +(% class="box infomessage" %) 82 +((( 83 + systemctl start lorawan-server 84 + systemctl stop lorawan-server 85 +))) 86 + 87 +[[image:image-20220527091541-2.png||height="81" width="896"]] 88 + 89 + 90 +By default, the server listens on HTTP port 8080 and expects "admin" as both username and password. Users can access it via a web browser by entering the URL, where is the IP or the hostname of your server. [[http:~~/~~/ip_address:8080>>http://ip_address:8080]] 91 + 92 + 93 + 94 += 3. Configure Gateway = 95 + 96 +== 3.1 Register Gateway == 97 + 98 + 99 +[[image:image-20220531144134-1.png||height="623" width="965"]] 100 + 101 + 102 +Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply** 103 + 104 + 105 + 106 +[[image:image-20220531144640-2.png]] 107 + 108 + 109 +If the user completes the above steps, you can check your gateway status on the built-in Lorawan server. 110 + 111 + 112 +[[image:image-20220531144914-3.png||height="657" width="964"]] 113 + 114 + 115 +[[image:image-20220531144957-4.png||height="425" width="970"]] 116 + 117 + 118 + 119 += 4. Configure Sensors = 120 + 121 + 122 +== 4.1 Step 1. Add the Networks == 123 + 124 + 125 +**The following are examples of adding EU868 frequency nodes** 126 + 127 +See this link for more frequency configurations [[https:~~/~~/github.com/gotthardp/lorawan-server/blob/master/doc/Regions.md>>https://github.com/gotthardp/lorawan-server/blob/master/doc/Regions.md]] 128 + 129 + 130 +(% class="box" %) 131 +((( 132 +1. Input the NetID* ~-~-> Random 6 digits 133 + 134 +2. Choose the Region* ~-~-> EU 863-870MHz 135 + 136 +3. Gateway Power ~-~-> Default value of EU868 is 16dBm 137 +))) 138 + 139 +[[image:image-20220601184816-1.png||height="608" width="958"]] 140 + 141 + 142 +**Configuration of ADR** 143 + 144 +(% class="box" %) 145 +((( 146 +Max EIRP(dBm) * ~-~-> 16 147 + 148 +Max Power * ~-~-> Max 149 + 150 +Min Power * ~-~-> Max - 14 dB 151 + 152 +Max Date Rate * ~-~-> SF7 125kHz (5470 bit/s) 153 + 154 +Initial RX2 DR * ~-~-> SF12 125kHz (250 bit/s) 155 + 156 +Initial Duty Cycle ~-~-> 1 (100%) 157 + 158 +Initial RX1 DR Offset ~-~-> 0 159 + 160 +Initial RX2 Freq (MHz)* ~-~-> 869.525 161 +))) 162 + 163 +[[image:image-20220601185451-2.png||height="612" width="953"]] 164 + 165 + 166 + 167 +**Configuration of Channels** 168 + 169 +(% class="box" %) 170 +((( 171 +Initial Channels ~-~-> eg. 0 - 2 172 +))) 173 + 174 +[[image:image-20220601190313-3.png||height="549" width="958"]] 175 + 176 + 177 +Finally, click** "(% style="color:blue" %)submit"(%%)**, Complete the Add Networks step. 178 + 179 + 180 + 181 +== 4.2 Step 2. Create new group == 182 + 183 + 184 +(% class="box" %) 185 +((( 186 +Name ~-~-> custom 187 + 188 +Network ~-~-> Enter the Networks configured in the preceding steps 189 +))) 190 + 191 +[[image:image-20220601200220-4.png||height="533" width="968"]] 192 + 193 + 194 + 195 +== 4.3 Step 3. Create new profile == 196 + 197 + 198 +[[image:image-20220601203544-5.png||height="494" width="982"]] 199 + 200 + 201 + 202 +== 4.4 Step 4. Create new device == 203 + 204 + 205 +[[image:image-20220601203837-6.png||height="577" width="983"]] 206 + 207 + 208 + 209 +== 4.5 Checking node Status == 210 + 211 + 212 +[[image:image-20220601204155-7.png||height="484" width="990"]] 213 + 214 + 215 +[[image:image-20220601204545-8.png||height="404" width="995"]] 216 + 217 +
- image-20220524180555-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +20.9 KB - Content
- image-20220524180614-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.8 KB - Content
- image-20220524180641-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +59.1 KB - Content
- image-20220524180700-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.8 KB - Content
- image-20220526113607-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +87.8 KB - Content
- image-20220526113654-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +102.3 KB - Content
- image-20220526113743-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +112.2 KB - Content
- image-20220526113853-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +284.3 KB - Content
- image-20220526171716-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.7 KB - Content
- image-20220526172628-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.8 KB - Content
- image-20220527085338-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.5 KB - Content
- image-20220527091541-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.9 KB - Content
- image-20220531144134-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.2 KB - Content
- image-20220531144640-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +61.5 KB - Content
- image-20220531144914-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +75.2 KB - Content
- image-20220531144957-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +150.8 KB - Content
- image-20220531151807-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +58.9 KB - Content
- image-20220601184816-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +67.6 KB - Content
- image-20220601185451-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +76.6 KB - Content
- image-20220601190313-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +50.6 KB - Content
- image-20220601200220-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +89.3 KB - Content
- image-20220601203544-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +80.6 KB - Content
- image-20220601203837-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +102.5 KB - Content
- image-20220601204155-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +91.7 KB - Content
- image-20220601204545-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +197.6 KB - Content