Changes for page Notes for LORIOT
Last modified by Kilight Cao on 2024/01/11 09:02
Change comment:
Uploaded new attachment "image-20231101162122-1.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 4 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 ... ... @@ -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,125 +114,190 @@ 114 114 115 115 [[image:image-20220831114746-10.png||height="292" width="972"]] 116 116 117 -(% style="display:none" %) (%%) 118 118 119 -= 3. Registrationfor BasicsStation=127 += 3. Gateways are connected using LORIOT software = 120 120 129 +== 3.1 Step 1: Get Gateway ETH0 MAC Address == 121 121 122 -The LoRa Basics™ Station protocol simplifies the management of large-scale LoRaWAN networks. LoRa Basics™ Station is the preferred way of connecting Gateways to LORIOT. [[The LoRa Basics Station doc>>url:https://www.thethingsindustries.com/docs/gateways/lora-basics-station/]] 123 123 124 124 ((( 125 -(% style="color:blue" %)**Below list the support products and Requirements:** 133 +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. 134 + 135 + 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]]138 +[[image:image-20220524175559-2.png]] 129 129 130 - 2. Firmwareversionsince :140 +Get ETH0 MAC address 131 131 132 132 133 -(% style="color:blue" %)**What do you need to prepare?** 143 +((( 144 +(% style="color:red" %)**Note**: **To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.** 134 134 135 -A gateway that can access the internet normally 146 + 147 +))) 136 136 149 +== 3.2 Step 2: Choose LORIOT service == 137 137 138 -== 3.1 Step 1: Register Gateway == 139 139 140 - (% style="display:none" %) (%%)152 +[[image:image-20220531182035-1.png]] 141 141 142 - [[image:image-20231101162122-1.png||height="528" width="1022"]]154 +Choose to use LORIOT as LoRaWAN service provider 143 143 144 144 145 -Enter the gateway ID into the Custom EUI 146 146 147 -[[image:image-202311 01162623-2.png||height="526" width="1024"]]158 +[[image:image-20220531182109-2.png]] 148 148 160 +Install and choose the LORIOT server to be used 149 149 150 -== 3.2 Step 2: Generate and Download TLS Certificate == 151 151 163 +== 3.3 Step 3: Checking Connection Status == 152 152 153 -[[image:image-20231101163647-3.png||height="529" width="1024"]] 154 154 166 +[[image:image-20220531182202-3.png]] 155 155 156 - DownloadLORIOT'sthreeTLScertificates, whichare:168 +Click to Home page and check the connection status 157 157 158 -(% style="color:red" %)**DigiCert_Global_Root_G2.crt , "Gateway EUI".gws.loriot.io.crt , "Gateway EUI".gws.loriot.io.key** 159 159 160 - [[image:image-20231101163743-4.png||height="528"width="1024"]]171 +== 3.4 Step 4: Setup Account in LORIOT == 161 161 162 162 174 +Login [[LORIOT>>url:https://www.loriot.io/]] and create account 163 163 164 - == 3.3 Step 3:Access the gateway GUI ==176 +[[image:image-20220531182253-4.png]] 165 165 178 +Log in LORIOT portal 166 166 167 -User need to upload the TLS certificate and configure the LNS URI 168 168 169 169 170 - ==3.4Step4: ConfigureStation==182 +Choose to use the server same as the gateway setting 171 171 184 +[[image:image-20220526111312-1.png||height="493" width="1098"]] 172 172 173 - User need to input Server URI, ServerCUPS Key and LNS Key, aswellasinstall CUPS certificate.186 +Choose server 174 174 175 -(% style="color:blue" %)**just to clarify:** 176 176 177 - Server URI ~-~-> Server Address, Example: wss:~/~/ap2.loriot.io:717 178 - TLS CA Certificate ~-~-> 179 - TLS Key ~-~-> 180 - TLS Certificate ~-~-> 181 181 190 +Create a New Network 182 182 183 - == 3.5 Start Station ==192 +[[image:image-20220526111425-2.png||height="579" width="1378"]] 184 184 194 +Create a New Network 185 185 186 -When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT. 187 187 197 +[[image:image-20220526111500-3.png]] 188 188 189 - ==3.6CheckConnection ==199 +Create a New Network 190 190 191 191 192 - Ifusercompletestheaboveps,whichwill seeLogintheLORIOT.202 +== 3.5 Step 5: Register the gateway == 193 193 194 -[[image:image-20231101165306-5.png||height="542" width="1050"]] 195 195 205 +[[image:image-20220526111650-4.png]] 196 196 197 - == 3.7 TroubleShooting==207 +Register the Gateway in LORIOT 198 198 199 199 200 -User can check the station log in the** LogRead ~-~-> System Log **page. 201 201 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"]]211 +Choose LG308 as gateway model 203 203 213 +[[image:image-20220526111742-5.png||height="496" width="1372"]] 204 204 205 - and recodethestationloginthe** LogRead~-~-> RecodeLog** page.215 +Choose LG308 as gateway model 206 206 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. EndDevice Note=219 +Input Gateway ETH0 address 211 211 212 -= =4.1Downlink Setup==221 +[[image:image-20220526111918-6.png||height="744" width="1336"]] 213 213 223 +Choose SX1301 Reference and use SPI protocol 214 214 215 -[[image:image-20220530145133-2.png||height="523" width="1170"]] 216 216 217 217 218 - [[image:image-20220526112416-11.png||height="576"width="1171"]]227 +Choose the right Frequency Band and input location 219 219 229 +[[image:image-20220526112029-7.png||height="620" width="1306"]] 220 220 221 - [[image:image-20220526112459-12.png||height="403" width="1176"]]231 +Set up regional settings. 222 222 223 223 224 - [[image:image-20220526112537-13.png||height="392"width="1180"]]234 +== 3.6 Step 6: Check Connection == 225 225 226 226 227 -[[image:image-20220526112608-14.png||height="520" width="1178"]] 237 +((( 238 +LORIOT will show disconnect if Gateway doesn't connect 239 +))) 228 228 241 +((( 242 +LORIOT will show connect if Gateway connect to LORIOT ok. 229 229 230 -[[image:image-20220526112655-15.png||height="238" width="1181"]] 244 + 245 +))) 231 231 247 +[[image:image-20220526112143-8.png||height="654" width="1373"]] 232 232 233 - [[image:image-20220526112719-16.png||height="316" width="1188"]]249 +Status: Connected 234 234 235 235 236 - [[image:image-20220526112759-17.png||height="415"width="1191"]]252 +== 3.7 Debug If there is connection issue == 237 237 254 + 255 +User can check if loriot is running by checking the web ui 256 + 257 + 258 +[[image:image-20220526112917-18.png]] 259 + 260 +Status: Connected 261 + 262 + 263 +((( 264 +If user want to see more log, he can run below commands in Linux and see the full log: 265 +))) 266 + 267 +(% class="box" %) 268 +((( 269 +((( 270 +ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9 271 +/usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io 272 +))) 273 +))) 274 + 275 +((( 238 238 277 + 278 +Above two commands will first kill the loriot process and run it again to get more output. 279 +))) 280 + 281 +[[image:image-20220530145011-1.png]] 282 + 283 +Get more debug info 284 + 285 + 286 += 4. End Device Note = 287 + 288 +== 4.1 Downlink Setup == 289 + 290 + 291 +[[image:image-20220530145133-2.png]] 292 + 293 + 294 +[[image:image-20220526112416-11.png]] 295 + 296 + 297 +[[image:image-20220526112459-12.png]] 298 + 299 + 300 +[[image:image-20220526112537-13.png]] 301 + 302 + 303 +[[image:image-20220526112608-14.png||height="610" width="1382"]] 304 + 305 + 306 +[[image:image-20220526112655-15.png]] 307 + 308 + 309 +[[image:image-20220526112719-16.png]] 310 + 311 + 312 +[[image:image-20220526112759-17.png||height="483" width="1386"]]
- image-20231101162623-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -242.0 KB - Content
- image-20231101163647-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -124.7 KB - Content
- image-20231101163743-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -167.6 KB - Content
- image-20231101165306-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -219.7 KB - Content