Changes for page Notes for LORIOT
Last modified by Kilight Cao on 2024/01/11 09:02
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 16 removed)
- image-20220831110558-1.png
- image-20220831111032-2.png
- image-20220831111132-3.png
- image-20220831111307-4.png
- image-20220831111821-5.png
- image-20220831111946-6.png
- image-20220831112553-7.png
- image-20220831114125-8.png
- image-20220831114647-9.png
- image-20220831114746-10.png
- image-20220831115222-11.png
- image-20231101162122-1.png
- image-20231101162623-2.png
- image-20231101163647-3.png
- image-20231101163743-4.png
- image-20231101165306-5.png
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 ... ... @@ -14,225 +14,190 @@ 14 14 15 15 ((( 16 16 ((( 17 -The Dragino LoRaWAN gateway can commu nicate with [[LORIOT>>url:https://www.loriot.io/]] LoRaWAN Network Server:14 +The Dragino LoRaWAN gateway can commuicate with [[LORIOT>>url:https://www.loriot.io/]] LoRaWAN Network Server: 18 18 ))) 19 19 ))) 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 34 35 35 36 36 ))) 37 37 ))) 38 -))) 39 -))) 40 40 41 -= 2. Gateway Registrationfor Semtech UDP=38 += 2. Gateway Setup Instruction = 42 42 43 43 == 2.1 Step 1: Get Gateway ETH0 MAC Address == 44 44 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. 47 - 48 - 49 -[[image:image-20220831110558-1.png||height="595" width="909"]] 50 - 51 - 52 -== 2.2 Step 2: Register Gateway == 53 - 54 - 55 -[[image:image-20220831111032-2.png||height="595" width="1219"]] 56 - 57 - 58 -(% style="color:blue" %)**Choose gateway model** 59 - 60 -[[image:image-20220831111132-3.png||height="596" width="1223"]](% style="display:none" %) 61 - 62 - 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 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 -[[image:image-20220831111307-4.png||height="850" width="1237"]] 71 - 72 - 73 -[[image:image-20220831111821-5.png||height="604" width="1239"]] 74 - 75 - 76 -== 2.3 Step 3: Back to Semtech UDP page == 77 - 78 - 79 -Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply.** 80 - 81 -(% class="box infomessage" %) 82 82 ((( 83 -Server Address: ~-~-> LORIOT Different servers use different addresses, Such as: **next.loriot.io** 84 - 85 -Uplink /Downlink Port : ~-~-> 1780 43 +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. 86 86 ))) 87 87 88 -[[image:image-20220 831112553-7.png]]46 +[[image:image-20220524175559-2.png]] 89 89 48 +Get ETH0 MAC address 90 90 91 -== 2.4 Step 4: Check Connection == 92 - 93 - 94 94 ((( 95 -LORIOT will show disconnect if Gateway doesn't connect 96 -))) 51 +**Note**: To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version. 97 97 98 -((( 99 -LORIOT will show connect if Gateway connect to LORIOT ok. 53 + 100 100 ))) 101 101 102 - [[image:image-20220831114125-8.png||height="561"width="1150"]]56 +== 2.2 Step 2: Choose LORIOT service == 103 103 58 +[[image:image-20220531182035-1.png]] 104 104 105 - ==2.5 TroubleShooting==60 +Choose to use LORIOT as LoRaWAN service provider 106 106 107 107 108 - User can check the station login the(% style="color:blue" %)** LogRead ~-~-> System Log **(%%)page.63 +[[image:image-20220531182109-2.png]] 109 109 110 - [[image:image-20220831114647-9.png||height="706"width="894"]]65 +Install and choose the LORIOT server to be used 111 111 112 112 113 - andrecodethestationlog in the(% style="color:blue"%)** LogRead ~-~-> RecodeLog**(%%) page.68 +== 2.3 Step 3: Checking Connection Status == 114 114 115 -[[image:image-20220 831114746-10.png||height="292" width="972"]]70 +[[image:image-20220531182202-3.png]] 116 116 117 - (%style="display:none"%)(%%)72 +Click to Home page and check the connection status 118 118 119 -= 3. Gateway Registration for Basics Station = 120 120 75 +== 2.4 Step 4: Setup Account in LORIOT == 121 121 122 - TheLoRa Basics™ Station protocol simplifies the management of large-scale LoRaWAN networks. LoRa Basics™ Stationis the preferred way of connecting Gateways toLORIOT. [[The LoRa Basics Station doc>>url:https://www.thethingsindustries.com/docs/gateways/lora-basics-station/]]77 +Login [[LORIOT>>url:https://www.loriot.io/]] and create account 123 123 124 -((( 125 -(% style="color:blue" %)**Below list the support products and Requirements:** 126 -))) 79 +[[image:image-20220531182253-4.png]] 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]]81 +Log in LORIOT portal 129 129 130 - 2. Firmware version since : 131 131 84 +Choose to use the server same as the gateway setting 132 132 133 - (% style="color:blue" %)**What do you needto prepare?**86 +[[image:image-20220526111312-1.png||height="493" width="1098"]] 134 134 135 - A gateway that can access theinternet normally88 +Choose server 136 136 137 137 138 - == 3.1 Step 1: RegisterGateway==91 +Create a New Network 139 139 140 - (% style="display:none"%) (%%)93 +[[image:image-20220526111425-2.png||height="579" width="1378"]] 141 141 142 - [[image:image-20231101162122-1.png||height="528"width="1022"]]95 +Create a New Network 143 143 144 144 145 - Enter the gateway IDinto the CustomEUI98 +[[image:image-20220526111500-3.png]] 146 146 147 - [[image:image-20231101162623-2.png||height="526"width="1024"]]100 +Create a New Network 148 148 149 149 150 -== 3.22:Generate and DownloadTLS Certificate==103 +== 2.5 Step 5: Register the gateway == 151 151 105 +[[image:image-20220526111650-4.png]] 152 152 153 - [[image:image-20231101163647-3.png||height="529"width="1024"]]107 +Register the Gateway in LORIOT 154 154 155 155 156 - Download LORIOT'sthreeTLScertificates,whichare:110 +Choose LG308 as gateway model 157 157 158 - (% style="color:red" %)**DigiCert_Global_Root_G2.crt , "Gateway EUI".gws.loriot.io.crt ,"Gateway EUI".gws.loriot.io.key**112 +[[image:image-20220526111742-5.png||height="496" width="1372"]] 159 159 160 - [[image:image-20231101163743-4.png||height="528"width="1024"]]114 +Choose LG308 as gateway model 161 161 162 162 117 +Input Gateway ETH0 address 163 163 164 - == 3.3 Step 3:Access theatewayGUI==119 +[[image:image-20220526111918-6.png||height="744" width="1336"]] 165 165 121 +Choose SX1301 Reference and use SPI protocol 166 166 167 -User need to upload the TLS certificate and configure the LNS URI 168 168 124 +Choose the right Frequency Band and input location 169 169 170 - == 3.4 Step 4:ConfigureStation ==126 +[[image:image-20220526112029-7.png||height="620" width="1306"]] 171 171 128 +Set up regional settings. 172 172 173 -User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate. 174 174 175 - (%style="color:blue"%)**just tolarify:**131 +== 2.6 Step 6: Check Connection == 176 176 177 - Server URI ~-~-> Server Address, Example: wss:~/~/ap2.loriot.io:717 178 - TLS CA Certificate ~-~-> 179 - TLS Key ~-~-> 180 - TLS Certificate ~-~-> 133 +((( 134 +LORIOT will show disconnect if Gateway doesn't connect 135 +))) 181 181 137 +((( 138 +LORIOT will show connect if Gateway connect to LORIOT ok. 139 +))) 182 182 183 - ==3.5Start Station==141 +[[image:image-20220526112143-8.png||height="654" width="1373"]] 184 184 143 +Status: Connected 185 185 186 -When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT. 187 187 146 +== 2.7 Debug If there is connection issue == 188 188 189 - ==3.6CheckConnection==148 +User can check if loriot is running by checking the web ui 190 190 150 +[[image:image-20220526112917-18.png]] 191 191 192 - If user completes theabove steps,whichwill see Log inheLORIOT.152 +Status: Connected 193 193 194 -[[image:image-20231101165306-5.png||height="542" width="1050"]] 154 +((( 155 +If user want to see more log, he can run below commands in Linux and see the full log: 156 +))) 195 195 158 +(% class="box" %) 159 +((( 160 +((( 161 +ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9 162 +/usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io 163 +))) 164 +))) 196 196 197 -== 3.7 Trouble Shooting == 166 +((( 167 +Above two commands will first kill the loriot process and run it again to get more output. 168 +))) 198 198 170 +[[image:image-20220530145011-1.png]] 199 199 200 - User can checkthestationlog inthe** LogRead ~-~-> System Log **page.172 +Get more debug info 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"]] 203 203 175 += 3. End Device Note = 204 204 205 - andrecodethe stationoginthe** LogRead ~-~-> Recode Log**page.177 +== 3.1 Downlink Setup == 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"]]179 +[[image:image-20220530145133-2.png]] 208 208 209 209 210 - = 4. End DeviceNote =182 +[[image:image-20220526112416-11.png]] 211 211 212 -== 4.1 Downlink Setup == 213 213 185 +[[image:image-20220526112459-12.png]] 214 214 215 -[[image:image-20220530145133-2.png||height="523" width="1170"]] 216 216 188 +[[image:image-20220526112537-13.png]] 217 217 218 -[[image:image-20220526112416-11.png||height="576" width="1171"]] 219 219 191 +[[image:image-20220526112608-14.png||height="610" width="1382"]] 220 220 221 -[[image:image-20220526112459-12.png||height="403" width="1176"]] 222 222 194 +[[image:image-20220526112655-15.png]] 223 223 224 -[[image:image-20220526112537-13.png||height="392" width="1180"]] 225 225 197 +[[image:image-20220526112719-16.png]] 226 226 227 -[[image:image-20220526112608-14.png||height="520" width="1178"]] 228 228 229 - 230 -[[image:image-20220526112655-15.png||height="238" width="1181"]] 231 - 232 - 233 -[[image:image-20220526112719-16.png||height="316" width="1188"]] 234 - 235 - 236 -[[image:image-20220526112759-17.png||height="415" width="1191"]] 237 - 238 - 200 +[[image:image-20220526112759-17.png||height="483" width="1386"]]
- image-20220831110558-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -77.1 KB - Content
- image-20220831111032-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -96.7 KB - Content
- image-20220831111132-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -333.1 KB - Content
- image-20220831111307-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -103.1 KB - Content
- image-20220831111821-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -319.6 KB - Content
- image-20220831111946-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -319.6 KB - Content
- image-20220831112553-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -364.7 KB - Content
- image-20220831114125-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -137.1 KB - Content
- image-20220831114647-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -70.4 KB - Content
- image-20220831114746-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -34.2 KB - Content
- 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