Changes for page Lorawan-server by Petr Gotthard
Last modified by Xiaoling on 2023/04/21 17:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 25 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,207 +1,21 @@ 1 -**~ Table ofContents:**1 +**~ Contents:** 2 2 3 3 {{toc/}} 4 4 5 += 1. Introduction = 5 5 6 - 7 - 8 - 9 -= 1. Introduction = 10 - 11 - 12 12 This is an Open Source LoRaWAN server from [[https:~~/~~/github.com/gotthardp/lorawan-server>>url:https://github.com/gotthardp/lorawan-server]]. 13 13 9 += 2. For Gateway = 14 14 15 -= 2. Support Devices =11 +== 2.1 Register Gateway == 16 16 13 +[[image:https://wiki.dragino.com/images/b/bb/Lorawan-server_00.png||height="152" width="737"]] 17 17 18 - All current LoRaWANgateway can support the connectionto thisLoRaWAN server.Some gatewaymodels havethislorawanbuilt-inbydefault. They are:15 +[[image:https://wiki.dragino.com/images/0/06/Lorawan-server_01.png||height="230" width="730"]] 19 19 20 -* HP0A 21 -* HP0C 22 -* LPS8v2 17 +[[image:https://wiki.dragino.com/images/f/f4/Lorawan-server_02.png||height="315" width="731"]] 23 23 24 - If for some reason,if theabove model doesn't havethislorawanin.Users caninstall them manually.19 +[[image:https://wiki.dragino.com/images/b/b0/Lorawan-server_03.png||height="244" width="771"]] 25 25 26 - 27 -== 2.1 Install lorawan server in Armbian System == 28 - 29 -=== 2.1.1 Check if you have the Armbian system === 30 - 31 - 32 -(% style="color:blue" %)**Run command:** 33 - 34 -(% class="box infomessage" %) 35 -((( 36 -**uname -a** 37 - 38 -**cat /etc/debian_version ** 39 -))) 40 - 41 -[[image:image-20220526172628-2.png]] 42 - 43 - 44 -=== 2.1.2 Install lorawan server === 45 - 46 - 47 -(% style="color:blue" %)**Run command:** 48 - 49 -(% class="box infomessage" %) 50 -((( 51 -**wget https://github.com/gotthardp/lorawan-server/releases/download/v0.6.7/lorawan-server_0.6.7_all.deb************** 52 - 53 -**dpkg -i lorawan-server_0.6.7_all.deb ** 54 -))) 55 - 56 -[[image:image-20220527085338-1.png||height="271" width="1145"]] 57 - 58 -At this point, lorawan-server is installed 59 - 60 - 61 -== 2.2 How do start lorawan server == 62 - 63 -=== 2.2.1 Setting the automatic startup and start/stop lorawan-server via systemctl === 64 - 65 - 66 -(% style="color:blue" %)**If users want the server to start automatically after system reboot, run the command:** 67 - 68 -(% class="box infomessage" %) 69 -((( 70 -**~ systemctl enable lorawan-server** 71 -))) 72 - 73 - 74 -(% style="color:blue" %)**start/stop lorawan-server via systemctl:** 75 - 76 -(% class="box infomessage" %) 77 -((( 78 -**~ systemctl start lorawan-server** 79 - 80 - ** systemctl stop lorawan-server** 81 -))) 82 - 83 -[[image:image-20220527091541-2.png||height="81" width="896"]] 84 - 85 - 86 -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]] 87 - 88 - 89 -= 3. Configure Gateway = 90 - 91 -== 3.1 Register Gateway == 92 - 93 - 94 -[[image:image-20220531144134-1.png||height="623" width="965"]] 95 - 96 - 97 -Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply.** 98 - 99 - 100 - 101 -[[image:image-20220531144640-2.png]] 102 - 103 - 104 -If the user completes the above steps, you can check your gateway status on the built-in Lorawan server. 105 - 106 - 107 -[[image:image-20220531144914-3.png||height="657" width="964"]] 108 - 109 - 110 -[[image:image-20220531144957-4.png||height="425" width="970"]] 111 - 112 - 113 -= 4. Configure Sensors = 114 - 115 -== 4.1 Step 1. Add the Networks == 116 - 117 - 118 -**The following are examples of adding EU868 frequency nodes** 119 - 120 -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]] 121 - 122 - 123 -(% class="box" %) 124 -((( 125 -1. Input the NetID* ~-~-> Random 6 digits 126 - 127 -2. Choose the Region* ~-~-> EU 863-870MHz 128 - 129 -3. Gateway Power ~-~-> Default value of EU868 is 16dBm 130 -))) 131 - 132 -[[image:image-20220601184816-1.png||height="608" width="958"]] 133 - 134 - 135 - 136 -(% style="color:blue" %)**Configuration of ADR** 137 - 138 -(% class="box" %) 139 -((( 140 -Max EIRP(dBm) * ~-~-> 16 141 - 142 -Max Power * ~-~-> Max 143 - 144 -Min Power * ~-~-> Max - 14 dB 145 - 146 -Max Date Rate * ~-~-> SF7 125kHz (5470 bit/s) 147 - 148 -Initial RX2 DR * ~-~-> SF12 125kHz (250 bit/s) 149 - 150 -Initial Duty Cycle ~-~-> 1 (100%) 151 - 152 -Initial RX1 DR Offset ~-~-> 0 153 - 154 -Initial RX2 Freq (MHz)* ~-~-> 869.525 155 -))) 156 - 157 -[[image:image-20220601185451-2.png||height="612" width="953"]] 158 - 159 - 160 - 161 -(% style="color:blue" %)**Configuration of Channels** 162 - 163 -(% class="box" %) 164 -((( 165 -Initial Channels ~-~-> eg. 0 - 2 166 -))) 167 - 168 -[[image:image-20220601190313-3.png||height="549" width="958"]] 169 - 170 - 171 -Finally, click** "(% style="color:blue" %)submit"(%%)**, Complete the Add Networks step. 172 - 173 - 174 -== 4.2 Step 2. Create new group == 175 - 176 - 177 -(% class="box" %) 178 -((( 179 -Name ~-~-> custom 180 - 181 -Network ~-~-> Enter the Networks configured in the preceding steps 182 -))) 183 - 184 -[[image:image-20220601200220-4.png||height="533" width="968"]] 185 - 186 - 187 -== 4.3 Step 3. Create new profile == 188 - 189 - 190 -[[image:image-20220601203544-5.png||height="494" width="982"]] 191 - 192 - 193 -== 4.4 Step 4. Create new device == 194 - 195 - 196 -[[image:image-20220601203837-6.png||height="577" width="983"]] 197 - 198 - 199 -== 4.5 Checking node Status == 200 - 201 - 202 -[[image:image-20220601204155-7.png||height="484" width="990"]] 203 - 204 - 205 -[[image:image-20220601204545-8.png||height="404" width="995"]] 206 - 207 - 21 +lorawan-server set up
- image-20220524180555-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -20.9 KB - Content
- image-20220524180614-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -34.8 KB - Content
- image-20220524180641-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.1 KB - Content
- image-20220524180700-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -60.8 KB - Content
- image-20220526113607-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -87.8 KB - Content
- image-20220526113654-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -102.3 KB - Content
- image-20220526113743-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -112.2 KB - Content
- image-20220526113853-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -284.3 KB - Content
- image-20220526171716-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -14.7 KB - Content
- image-20220526172628-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -9.8 KB - Content
- image-20220527085338-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -82.5 KB - Content
- image-20220527091541-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -13.9 KB - Content
- image-20220531144134-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -43.2 KB - Content
- image-20220531144640-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -61.5 KB - Content
- image-20220531144914-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -75.2 KB - Content
- image-20220531144957-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -150.8 KB - Content
- image-20220531151807-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -58.9 KB - Content
- image-20220601184816-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -67.6 KB - Content
- image-20220601185451-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -76.6 KB - Content
- image-20220601190313-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -50.6 KB - Content
- image-20220601200220-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -89.3 KB - Content
- image-20220601203544-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -80.6 KB - Content
- image-20220601203837-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -102.5 KB - Content
- image-20220601204155-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -91.7 KB - Content
- image-20220601204545-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -197.6 KB - Content