Changes for page Notes for LORIOT
Last modified by Kilight Cao on 2024/01/11 09:02
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,9 +1,6 @@ 1 1 (% class="wikigeneratedid" %) 2 -**~ ** 2 +**~ Table of Contents:** 3 3 4 -(% class="wikigeneratedid" %) 5 -**Table of Contents:** 6 - 7 7 {{toc/}} 8 8 9 9 ... ... @@ -35,9 +35,21 @@ 35 35 36 36 ))) 37 37 ))) 35 + 36 +Below list the products and requirements that support the use of LORIOT software: 38 38 ))) 39 39 ))) 40 40 40 + ~1. LoRaWAN Gateway model: [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] 41 + 42 +((( 43 +((( 44 + 2. Firmware version since :[[dragino-LORIOT~~-~~-v5.4.1676942123-squashfs-sysupgrade.bin>>http://repo.dragino.com/release/openwrt-firmware/lgw/dragino-LORIOT--v5.4.1676942123-squashfs-sysupgrade.bin]] 45 + 46 + 47 +))) 48 +))) 49 + 41 41 = 2. Gateway Registration for Semtech UDP = 42 42 43 43 == 2.1 Step 1: Get Gateway ETH0 MAC Address == ... ... @@ -52,12 +52,12 @@ 52 52 == 2.2 Step 2: Register Gateway == 53 53 54 54 55 -[[image:image-20220831111032-2.png||height=" 595" width="1219"]]64 +[[image:image-20220831111032-2.png||height="617" width="1263"]] 56 56 57 57 58 58 (% style="color:blue" %)**Choose gateway model** 59 59 60 -[[image:image-20220831111132-3.png||height="596" width="1223"]] (% style="display:none" %)69 +[[image:image-20220831111132-3.png||height="596" width="1223"]] 61 61 62 62 63 63 (% style="color:red" %)**Special reminder: **(%%)If the user does not find the gateway Model, then (% style="color:blue" %)**git ~-~-> Packet Forwarder Semtech**(%%) can be selected ... ... @@ -102,7 +102,7 @@ 102 102 [[image:image-20220831114125-8.png||height="561" width="1150"]] 103 103 104 104 105 -== 2.5 114 +== 2.5 Trouble Shooting == 106 106 107 107 108 108 User can check the station log in the(% style="color:blue" %)** LogRead ~-~-> System Log **(%%)page. ... ... @@ -114,8 +114,8 @@ 114 114 115 115 [[image:image-20220831114746-10.png||height="292" width="972"]] 116 116 117 -(% style="display:none" %) (%%) 118 118 127 + 119 119 = 3. Gateway Registration for Basics Station = 120 120 121 121 ... ... @@ -125,9 +125,9 @@ 125 125 (% style="color:blue" %)**Below list the support products and Requirements:** 126 126 ))) 127 127 128 -1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] ,[[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]] ,[[LPS8N>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]],[[LG308N>>https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]]137 +1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] ,[[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]] 129 129 130 - 2. Firmware version since : [[lgw~~-~~-build-v5.4.1704801796-20240109-2005>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/lgw--build-v5.4.1704801796-20240109-2005/]]139 + 2. Firmware version since : 131 131 132 132 133 133 (% style="color:blue" %)**What do you need to prepare?** ... ... @@ -135,10 +135,8 @@ 135 135 A gateway that can access the internet normally 136 136 137 137 138 -== 3.1 147 +== 3.1 Step 1: Register Gateway == 139 139 140 -(% style="display:none" %) (%%) 141 - 142 142 [[image:image-20231101162122-1.png||height="528" width="1022"]] 143 143 144 144 ... ... @@ -149,7 +149,6 @@ 149 149 150 150 == 3.2 Step 2: Generate and Download TLS Certificate == 151 151 152 - 153 153 [[image:image-20231101163647-3.png||height="529" width="1024"]] 154 154 155 155 ... ... @@ -160,91 +160,232 @@ 160 160 [[image:image-20231101163743-4.png||height="528" width="1024"]] 161 161 162 162 163 -== 3.3 Step 3: Configure frequency == 164 164 170 +== 3.3 Step 3: Access the gateway GUI == 165 165 166 - (%style="color:red"%)**Note:** **TheDragino gatewaysupports onlyoneChannelplan**172 +User need to upload the TLS certificate and configure the LNS URI 167 167 168 -[[image:image-20231121102920-1.png||height="531" width="1028"]] 169 169 170 -== 3.4 Step 4: Accessthe gatewayGUI==175 +== 3.4 Step 4: Configure Station == 171 171 177 +User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate. 172 172 173 - UserneedtouploadtheTLS CA Certificate,TLS Key,TLS Certificate and configure the LNS URI179 +(% style="color:blue" %)**just to clarify:** 174 174 181 + Server URI ~-~-> Server Address, Example: wss:~/~/ap2.loriot.io:717 182 + TLS CA Certificate ~-~-> 183 + TLS Key ~-~-> 184 + TLS Certificate ~-~-> 175 175 176 -== 3.5 Step 5: Configure Station == 177 177 187 +== 3.5 Start Station == 178 178 179 - User need toinputServerURI,Server CUPS KeyandLNS Key, aswellasinstallCUPScertificate.189 +When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT. 180 180 181 -(% style="color:blue" %)**just to clarify:** 182 182 183 -(% class="box" %) 192 +== 3.6 Check Connection == 193 + 194 +If user completes the above steps,which will see Log in the LORIOT. 195 + 196 +[[image:image-20231101165306-5.png||height="542" width="1050"]] 197 + 198 + 199 +== 3.7 Trouble Shooting == 200 + 201 +User can check the station log in the** LogRead ~-~-> System Log **page. 202 + 203 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135845-15.png?rev=1.1||alt="image-20220526135845-15.png"]] 204 + 205 + 206 +and recode the station log in the** LogRead ~-~-> Recode Log** page. 207 + 208 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135940-16.png?rev=1.1||alt="image-20220526135940-16.png"]] 209 + 210 + 211 + 212 += 4. Gateways are connected using LORIOT software = 213 + 214 +== 4.1 Step 1: Get Gateway ETH0 MAC Address == 215 + 216 + 184 184 ((( 185 - Server URI ~-~-> Server Address, Example: **wss:~/~/ap2.loriot.io:717** 186 - TLS CA Certificate ~-~-> (% style="color:red" %)**DigiCert_Global_Root_G2.crt **(%%) 187 - TLS Key ~-~-> (% style="color:red" %)**"Gateway EUI".gws.loriot.io.key**(%%) 188 - TLS Certificate ~-~-> (% style="color:red" %)**"Gateway EUI".gws.loriot.io.crt** 218 +Dragino LoRaWAN gateway use ETH0 MAC address to generate Gateway ID to communicate with LORIOT, User can get the ETH0 MAC address from SSH access and run **ifconfig** command. 219 + 220 + 189 189 ))) 190 190 191 -(% class="wikigeneratedid" %) 192 -[[image:image-20231121104529-3.png||height="525" width="1032"]] 223 +[[image:image-20220524175559-2.png]] 193 193 225 +Get ETH0 MAC address 194 194 195 -== 3.6 Start Station == 196 196 228 +((( 229 +(% style="color:red" %)**Note**: **To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.** 197 197 198 -When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT. 231 + 232 +))) 199 199 234 +== 4.2 Step 2: Choose LORIOT service == 200 200 201 -== 3.7 Check Connection == 202 202 237 +[[image:image-20220531182035-1.png]] 203 203 204 - If usercompletesthe abovesteps,which will seeLogin theLORIOT.239 +Choose to use LORIOT as LoRaWAN service provider 205 205 206 -[[image:image-20231101165306-5.png||height="542" width="1050"]] 207 207 208 208 209 - == 3.8 TroubleShooting==243 +[[image:image-20220531182109-2.png]] 210 210 245 +Install and choose the LORIOT server to be used 211 211 212 -User can check the station log in the** LogRead ~-~-> System Log **page. 213 213 214 - [[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135845-15.png?rev=1.1||alt="image-20220526135845-15.png"]]248 +== 4.3 Step 3: Checking Connection Status == 215 215 216 216 217 -a nd recode the station login the** LogRead ~-~-> Recode Log**page.251 +[[image:image-20220531182202-3.png]] 218 218 219 - [[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135940-16.png?rev=1.1||alt="image-20220526135940-16.png"]]253 +Click to Home page and check the connection status 220 220 221 221 222 -= 4. EndDeviceNote=256 +== 4.4 Step 4: Setup Account in LORIOT == 223 223 224 -== 4.1 Downlink Setup == 225 225 259 +Login [[LORIOT>>url:https://www.loriot.io/]] and create account 226 226 227 -[[image:image-2022053 0145133-2.png||height="523" width="1170"]]261 +[[image:image-20220531182253-4.png]] 228 228 263 +Log in LORIOT portal 229 229 230 -[[image:image-20220526112416-11.png||height="576" width="1171"]] 231 231 232 232 233 - [[image:image-20220526112459-12.png||height="403"width="1176"]]267 +Choose to use the server same as the gateway setting 234 234 269 +[[image:image-20220526111312-1.png||height="493" width="1098"]] 235 235 236 - [[image:image-20220526112537-13.png||height="392"width="1180"]]271 +Choose server 237 237 238 238 239 -[[image:image-20220526112608-14.png||height="520" width="1178"]] 240 240 275 +Create a New Network 241 241 242 -[[image:image-20220526112 655-15.png||height="238" width="1181"]]277 +[[image:image-20220526111425-2.png||height="579" width="1378"]] 243 243 279 +Create a New Network 244 244 245 -[[image:image-20220526112719-16.png||height="316" width="1188"]] 246 246 282 +[[image:image-20220526111500-3.png]] 247 247 248 - [[image:image-20220526112759-17.png||height="415"width="1191"]]284 +Create a New Network 249 249 286 + 287 +== 4.5 Step 5: Register the gateway == 288 + 289 + 290 +[[image:image-20220526111650-4.png]] 291 + 292 +Register the Gateway in LORIOT 293 + 294 + 295 + 296 +Choose LG308 as gateway model 297 + 298 +[[image:image-20220526111742-5.png||height="496" width="1372"]] 299 + 300 +Choose LG308 as gateway model 301 + 302 + 303 + 304 +Input Gateway ETH0 address 305 + 306 +[[image:image-20220526111918-6.png||height="744" width="1336"]] 307 + 308 +Choose SX1301 Reference and use SPI protocol 309 + 310 + 311 + 312 +Choose the right Frequency Band and input location 313 + 314 +[[image:image-20220526112029-7.png||height="620" width="1306"]] 315 + 316 +Set up regional settings. 317 + 318 + 319 +== 4.6 Step 6: Check Connection == 320 + 321 + 322 +((( 323 +LORIOT will show disconnect if Gateway doesn't connect 324 +))) 325 + 326 +((( 327 +LORIOT will show connect if Gateway connect to LORIOT ok. 328 + 250 250 330 +))) 331 + 332 +[[image:image-20220526112143-8.png||height="654" width="1373"]] 333 + 334 +Status: Connected 335 + 336 + 337 +== 4.7 Debug If there is connection issue == 338 + 339 + 340 +User can check if loriot is running by checking the web ui 341 + 342 + 343 +[[image:image-20220526112917-18.png]] 344 + 345 +Status: Connected 346 + 347 + 348 +((( 349 +If user want to see more log, he can run below commands in Linux and see the full log: 350 +))) 351 + 352 +(% class="box" %) 353 +((( 354 +((( 355 +ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9 356 +/usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io 357 +))) 358 +))) 359 + 360 +((( 361 + 362 + 363 +Above two commands will first kill the loriot process and run it again to get more output. 364 +))) 365 + 366 +[[image:image-20220530145011-1.png]] 367 + 368 +Get more debug info 369 + 370 + 371 += 5. End Device Note = 372 + 373 +== 5.1 Downlink Setup == 374 + 375 + 376 +[[image:image-20220530145133-2.png]] 377 + 378 + 379 +[[image:image-20220526112416-11.png]] 380 + 381 + 382 +[[image:image-20220526112459-12.png]] 383 + 384 + 385 +[[image:image-20220526112537-13.png]] 386 + 387 + 388 +[[image:image-20220526112608-14.png||height="610" width="1382"]] 389 + 390 + 391 +[[image:image-20220526112655-15.png]] 392 + 393 + 394 +[[image:image-20220526112719-16.png]] 395 + 396 + 397 +[[image:image-20220526112759-17.png||height="483" width="1386"]]
- image-20231121102920-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -112.6 KB - Content
- image-20231121103451-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -65.1 KB - Content
- image-20231121104529-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -99.1 KB - Content