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 (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Kilight - 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 ... ... @@ -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 ... ... @@ -135,13 +135,10 @@ 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 - 145 145 Enter the gateway ID into the Custom EUI 146 146 147 147 [[image:image-20231101162623-2.png||height="526" width="1024"]] ... ... @@ -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 ... ... @@ -163,13 +163,11 @@ 163 163 164 164 == 3.3 Step 3: Access the gateway GUI == 165 165 166 - 167 167 User need to upload the TLS certificate and configure the LNS URI 168 168 169 169 170 170 == 3.4 Step 4: Configure Station == 171 171 172 - 173 173 User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate. 174 174 175 175 (% style="color:blue" %)**just to clarify:** ... ... @@ -182,13 +182,11 @@ 182 182 183 183 == 3.5 Start Station == 184 184 185 - 186 186 When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT. 187 187 188 188 189 189 == 3.6 Check Connection == 190 190 191 - 192 192 If user completes the above steps,which will see Log in the LORIOT. 193 193 194 194 [[image:image-20231101165306-5.png||height="542" width="1050"]] ... ... @@ -196,7 +196,6 @@ 196 196 197 197 == 3.7 Trouble Shooting == 198 198 199 - 200 200 User can check the station log in the** LogRead ~-~-> System Log **page. 201 201 202 202 [[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"]] ... ... @@ -207,32 +207,190 @@ 207 207 [[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"]] 208 208 209 209 210 -= 4. End Device Note = 211 211 212 -= =4.1Downlink Setup==211 += 4. Gateways are connected using LORIOT software = 213 213 213 +== 4.1 Step 1: Get Gateway ETH0 MAC Address == 214 214 215 -[[image:image-20220530145133-2.png||height="523" width="1170"]] 216 216 216 +((( 217 +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. 217 217 218 -[[image:image-20220526112416-11.png||height="576" width="1171"]] 219 + 220 +))) 219 219 222 +[[image:image-20220524175559-2.png]] 220 220 221 - [[image:image-20220526112459-12.png||height="403"width="1176"]]224 +Get ETH0 MAC address 222 222 223 223 224 -[[image:image-20220526112537-13.png||height="392" width="1180"]] 227 +((( 228 +(% style="color:red" %)**Note**: **To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.** 225 225 230 + 231 +))) 226 226 227 - [[image:image-20220526112608-14.png||height="520"width="1178"]]233 +== 4.2 Step 2: Choose LORIOT service == 228 228 229 229 230 -[[image:image-202205 26112655-15.png||height="238" width="1181"]]236 +[[image:image-20220531182035-1.png]] 231 231 238 +Choose to use LORIOT as LoRaWAN service provider 232 232 233 -[[image:image-20220526112719-16.png||height="316" width="1188"]] 234 234 235 235 236 -[[image:image-202205 26112759-17.png||height="415" width="1191"]]242 +[[image:image-20220531182109-2.png]] 237 237 244 +Install and choose the LORIOT server to be used 245 + 246 + 247 +== 4.3 Step 3: Checking Connection Status == 248 + 249 + 250 +[[image:image-20220531182202-3.png]] 251 + 252 +Click to Home page and check the connection status 253 + 254 + 255 +== 4.4 Step 4: Setup Account in LORIOT == 256 + 257 + 258 +Login [[LORIOT>>url:https://www.loriot.io/]] and create account 259 + 260 +[[image:image-20220531182253-4.png]] 261 + 262 +Log in LORIOT portal 263 + 264 + 265 + 266 +Choose to use the server same as the gateway setting 267 + 268 +[[image:image-20220526111312-1.png||height="493" width="1098"]] 269 + 270 +Choose server 271 + 272 + 273 + 274 +Create a New Network 275 + 276 +[[image:image-20220526111425-2.png||height="579" width="1378"]] 277 + 278 +Create a New Network 279 + 280 + 281 +[[image:image-20220526111500-3.png]] 282 + 283 +Create a New Network 284 + 285 + 286 +== 4.5 Step 5: Register the gateway == 287 + 288 + 289 +[[image:image-20220526111650-4.png]] 290 + 291 +Register the Gateway in LORIOT 292 + 293 + 294 + 295 +Choose LG308 as gateway model 296 + 297 +[[image:image-20220526111742-5.png||height="496" width="1372"]] 298 + 299 +Choose LG308 as gateway model 300 + 301 + 302 + 303 +Input Gateway ETH0 address 304 + 305 +[[image:image-20220526111918-6.png||height="744" width="1336"]] 306 + 307 +Choose SX1301 Reference and use SPI protocol 308 + 309 + 310 + 311 +Choose the right Frequency Band and input location 312 + 313 +[[image:image-20220526112029-7.png||height="620" width="1306"]] 314 + 315 +Set up regional settings. 316 + 317 + 318 +== 4.6 Step 6: Check Connection == 319 + 320 + 321 +((( 322 +LORIOT will show disconnect if Gateway doesn't connect 323 +))) 324 + 325 +((( 326 +LORIOT will show connect if Gateway connect to LORIOT ok. 327 + 238 238 329 +))) 330 + 331 +[[image:image-20220526112143-8.png||height="654" width="1373"]] 332 + 333 +Status: Connected 334 + 335 + 336 +== 4.7 Debug If there is connection issue == 337 + 338 + 339 +User can check if loriot is running by checking the web ui 340 + 341 + 342 +[[image:image-20220526112917-18.png]] 343 + 344 +Status: Connected 345 + 346 + 347 +((( 348 +If user want to see more log, he can run below commands in Linux and see the full log: 349 +))) 350 + 351 +(% class="box" %) 352 +((( 353 +((( 354 +ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9 355 +/usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io 356 +))) 357 +))) 358 + 359 +((( 360 + 361 + 362 +Above two commands will first kill the loriot process and run it again to get more output. 363 +))) 364 + 365 +[[image:image-20220530145011-1.png]] 366 + 367 +Get more debug info 368 + 369 + 370 += 5. End Device Note = 371 + 372 +== 5.1 Downlink Setup == 373 + 374 + 375 +[[image:image-20220530145133-2.png]] 376 + 377 + 378 +[[image:image-20220526112416-11.png]] 379 + 380 + 381 +[[image:image-20220526112459-12.png]] 382 + 383 + 384 +[[image:image-20220526112537-13.png]] 385 + 386 + 387 +[[image:image-20220526112608-14.png||height="610" width="1382"]] 388 + 389 + 390 +[[image:image-20220526112655-15.png]] 391 + 392 + 393 +[[image:image-20220526112719-16.png]] 394 + 395 + 396 +[[image:image-20220526112759-17.png||height="483" width="1386"]]