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, 9 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 ... ... @@ -20,23 +20,22 @@ 20 20 21 21 ((( 22 22 ((( 23 -Below list the products and requirementsthat support communication with LORIOT using Semtech UDP:20 +Below list the support products and Requirements: 24 24 ))) 25 25 ))) 26 26 24 +1. ((( 27 27 ((( 26 +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]] 27 +))) 28 +))) 29 +1. ((( 28 28 ((( 29 - ~1. LoRaWAN Gatewaymodel: [[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]],[[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]]31 +Firmware version since :[[LG02_LG08~~-~~-build-v5.4.1590459021-20200526-1012>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]] 30 30 31 -((( 32 -((( 33 - 2. Firmware version since : [[lgw~~-~~-build-v5.4.1661158991-20220822-1704>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]] 34 - 35 35 36 36 ))) 37 37 ))) 38 -))) 39 -))) 40 40 41 41 = 2. Gateway Registration for Semtech UDP = 42 42 ... ... @@ -43,7 +43,7 @@ 43 43 == 2.1 Step 1: Get Gateway ETH0 MAC Address == 44 44 45 45 46 -Dragino LoRaWAN gateway uses ETH0 MAC address to generate Gateway EUI to communicate with LORIOT, The user needs to find the ETH0 MAC in the "(% style="color:blue" %)**System -> System Overview**"(%%)menu.42 +Dragino LoRaWAN gateway uses ETH0 MAC address to generate Gateway ID to communicate with LORIOT, The user needs to find the ETH0 MAC in the "System -> System Overview" menu. 47 47 48 48 49 49 [[image:image-20220831110558-1.png||height="595" width="909"]] ... ... @@ -52,21 +52,16 @@ 52 52 == 2.2 Step 2: Register Gateway == 53 53 54 54 55 -[[image:image-20220831111032-2.png||height=" 595" width="1219"]]51 +[[image:image-20220831111032-2.png||height="617" width="1263"]] 56 56 57 57 58 - (% style="color:blue" %)**Choose gateway model**54 +**Choose gateway model** 59 59 60 -[[image:image-20220831111132-3.png||height=" 596" width="1223"]](% style="display:none" %)56 +[[image:image-20220831111132-3.png||height="617" width="1263"]] 61 61 62 62 63 - (% style="color:red" %)**Special reminder:**(%%)Iftheuserdoesnotfindthe gatewayModel, then (% style="color:blue" %)**git ~-~-> Packet Forwarder Semtech**(%%) can be selected59 +**Enter the ETH0 MAC of the gateway** 64 64 65 -[[image:image-20220831115222-11.png||height="596" width="1221"]] 66 - 67 - 68 -(% style="color:blue" %)**Enter the ETH0 MAC of the gateway** 69 - 70 70 [[image:image-20220831111307-4.png||height="850" width="1237"]] 71 71 72 72 ... ... @@ -88,6 +88,7 @@ 88 88 [[image:image-20220831112553-7.png]] 89 89 90 90 82 + 91 91 == 2.4 Step 4: Check Connection == 92 92 93 93 ... ... @@ -102,7 +102,7 @@ 102 102 [[image:image-20220831114125-8.png||height="561" width="1150"]] 103 103 104 104 105 -== 2.5 97 +== 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,137 +114,195 @@ 114 114 115 115 [[image:image-20220831114746-10.png||height="292" width="972"]] 116 116 117 - (%style="display:none"%) (%%)109 += 3. Gateway Setup Instruction = 118 118 119 -= 3. RegistrationforBasicsStation=111 +== 3.1 Step 1: Get Gateway ETH0 MAC Address == 120 120 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/]] 114 +((( 115 +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. 123 123 117 + 118 +))) 119 + 120 +[[image:image-20220524175559-2.png]] 121 + 122 +Get ETH0 MAC address 123 + 124 + 124 124 ((( 125 -(% style="color:blue" %)**Below list the support products and Requirements:** 126 +(% style="color:red" %)**Note**: **To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.** 127 + 128 + 126 126 ))) 127 127 128 - 1.LoRaWAN Gatewaymodel:[[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]]131 +== 3.2 Step 2: Choose LORIOT service == 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/]] 131 131 134 +[[image:image-20220531182035-1.png]] 132 132 133 - (% style="color:blue"%)**Whatdoyouneedtoprepare?**136 +Choose to use LORIOT as LoRaWAN service provider 134 134 135 -A gateway that can access the internet normally 136 136 137 137 138 - == 3.1 Step 1:Register Gateway ==140 +[[image:image-20220531182109-2.png]] 139 139 140 - (%style="display:none"%)(%%)142 +Install and choose the LORIOT server to be used 141 141 142 -[[image:image-20231101162122-1.png||height="528" width="1022"]] 143 143 144 144 145 - EnterthegatewayIDinto the CustomEUI146 +== 3.3 Step 3: Checking Connection Status == 146 146 147 -[[image:image-20231101162623-2.png||height="526" width="1024"]] 148 148 149 +[[image:image-20220531182202-3.png]] 149 149 150 - ==3.2 Step2: Generate andDownloadTLSCertificate ==151 +Click to Home page and check the connection status 151 151 152 152 153 -[[image:image-20231101163647-3.png||height="529" width="1024"]] 154 154 155 +== 3.4 Step 4: Setup Account in LORIOT == 155 155 156 -Download LORIOT's three TLS certificates, which are: 157 157 158 - (% style="color:red" %)**DigiCert_Global_Root_G2.crt, "Gateway EUI".gws.loriot.io.crt , "GatewayEUI".gws.loriot.io.key**158 +Login [[LORIOT>>url:https://www.loriot.io/]] and create account 159 159 160 -[[image:image-202311 01163743-4.png||height="528" width="1024"]]160 +[[image:image-20220531182253-4.png]] 161 161 162 +Log in LORIOT portal 162 162 163 -== 3.3 Step 3: Configure frequency == 164 164 165 165 166 - (%style="color:red"%)**Note:** **TheDragino gateway supports only one Channel plan**166 +Choose to use the server same as the gateway setting 167 167 168 -[[image:image-202 31121102920-1.png||height="531" width="1028"]]168 +[[image:image-20220526111312-1.png||height="493" width="1098"]] 169 169 170 - == 3.4 Step4: Access thegateway GUI ==170 +Choose server 171 171 172 172 173 -User need to upload the TLS CA Certificate,TLS Key,TLS Certificate and configure the LNS URI 174 174 174 +Create a New Network 175 175 176 - == 3.5 Step 5:ConfigureStation ==176 +[[image:image-20220526111425-2.png||height="579" width="1378"]] 177 177 178 +Create a New Network 178 178 179 -User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate. 180 180 181 - (% style="color:blue" %)**just to clarify:**181 +[[image:image-20220526111500-3.png]] 182 182 183 -(% class="box" %) 183 +Create a New Network 184 + 185 + 186 + 187 +== 3.5 Step 5: Register the gateway == 188 + 189 + 190 +[[image:image-20220526111650-4.png]] 191 + 192 +Register the Gateway in LORIOT 193 + 194 + 195 + 196 +Choose LG308 as gateway model 197 + 198 +[[image:image-20220526111742-5.png||height="496" width="1372"]] 199 + 200 +Choose LG308 as gateway model 201 + 202 + 203 + 204 +Input Gateway ETH0 address 205 + 206 +[[image:image-20220526111918-6.png||height="744" width="1336"]] 207 + 208 +Choose SX1301 Reference and use SPI protocol 209 + 210 + 211 + 212 +Choose the right Frequency Band and input location 213 + 214 +[[image:image-20220526112029-7.png||height="620" width="1306"]] 215 + 216 +Set up regional settings. 217 + 218 + 219 + 220 +== 3.6 Step 6: Check Connection == 221 + 222 + 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** 224 +LORIOT will show disconnect if Gateway doesn't connect 189 189 ))) 190 190 191 -( % class="wikigeneratedid" %)192 - [[image:image-20231121104529-3.png||height="525"width="1032"]]227 +((( 228 +LORIOT will show connect if Gateway connect to LORIOT ok. 193 193 230 + 231 +))) 194 194 195 - ==3.6Start Station==233 +[[image:image-20220526112143-8.png||height="654" width="1373"]] 196 196 235 +Status: Connected 197 197 198 -When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT. 199 199 200 200 201 -== 3.7 CheckConnection ==239 +== 3.7 Debug If there is connection issue == 202 202 203 203 204 - If user completes theabovesteps,whichwillseeLog in theLORIOT.242 +User can check if loriot is running by checking the web ui 205 205 206 -[[image:image-20231101165306-5.png||height="542" width="1050"]] 207 207 245 +[[image:image-20220526112917-18.png]] 208 208 209 - == 3.8 TroubleShooting ==247 +Status: Connected 210 210 211 211 212 -User can check the station log in the** LogRead ~-~-> System Log **page. 250 +((( 251 +If user want to see more log, he can run below commands in Linux and see the full log: 252 +))) 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"]] 254 +(% class="box" %) 255 +((( 256 +((( 257 +ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9 258 +/usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io 259 +))) 260 +))) 215 215 262 +((( 263 + 216 216 217 -and recode the station log in the** LogRead ~-~-> Recode Log** page. 265 +Above two commands will first kill the loriot process and run it again to get more output. 266 +))) 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"]]268 +[[image:image-20220530145011-1.png]] 220 220 270 +Get more debug info 221 221 272 + 273 + 222 222 = 4. End Device Note = 223 223 224 224 == 4.1 Downlink Setup == 225 225 226 226 227 -[[image:image-20220530145133-2.png ||height="523" width="1170"]]279 +[[image:image-20220530145133-2.png]] 228 228 229 229 230 -[[image:image-20220526112416-11.png ||height="576" width="1171"]]282 +[[image:image-20220526112416-11.png]] 231 231 232 232 233 -[[image:image-20220526112459-12.png ||height="403" width="1176"]]285 +[[image:image-20220526112459-12.png]] 234 234 235 235 236 -[[image:image-20220526112537-13.png ||height="392" width="1180"]]288 +[[image:image-20220526112537-13.png]] 237 237 238 238 239 -[[image:image-20220526112608-14.png||height=" 520" width="1178"]]291 +[[image:image-20220526112608-14.png||height="610" width="1382"]] 240 240 241 241 242 -[[image:image-20220526112655-15.png ||height="238" width="1181"]]294 +[[image:image-20220526112655-15.png]] 243 243 244 244 245 -[[image:image-20220526112719-16.png ||height="316" width="1188"]]297 +[[image:image-20220526112719-16.png]] 246 246 247 247 248 -[[image:image-20220526112759-17.png||height="415" width="1191"]] 249 - 250 - 300 +[[image:image-20220526112759-17.png||height="483" width="1386"]]
- image-20220831115222-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -133.7 KB - Content
- image-20231101162122-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -377.7 KB - Content
- 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
- 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