Changes for page Notes for LORIOT
Last modified by Kilight Cao on 2024/01/11 09:02
Change comment:
Uploaded new attachment "image-20220831114647-9.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 7 removed)
Details
- Page properties
-
- Content
-
... ... @@ -11,196 +11,199 @@ 11 11 12 12 ((( 13 13 ((( 14 -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: 15 15 ))) 16 16 ))) 17 17 18 18 ((( 19 19 ((( 20 -Below list the products and requirementsthat support communication with LORIOT using Semtech UDP:20 +Below list the support products and Requirements: 21 21 ))) 22 22 ))) 23 23 24 +1. ((( 24 24 ((( 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. ((( 25 25 ((( 26 - ~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/]] 27 27 28 -((( 29 -((( 30 - 2. Firmware version since : [[lgw~~-~~-build-v5.4.1661158991-20220822-1704>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]] 31 31 32 32 33 33 ))) 34 34 ))) 35 -))) 36 -))) 37 37 38 -= 2. Gateway Registrationfor Semtech UDP=38 += 2. Gateway Setup Instruction = 39 39 40 40 == 2.1 Step 1: Get Gateway ETH0 MAC Address == 41 41 42 42 43 -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. 43 +((( 44 +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. 44 44 46 + 47 +))) 45 45 46 -[[image:image-20220 831110558-1.png||height="595" width="909"]]49 +[[image:image-20220524175559-2.png]] 47 47 51 +Get ETH0 MAC address 48 48 49 -== 2.2 Step 2: Register Gateway == 50 50 54 +((( 55 +(% style="color:red" %)**Note**: **To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.** 51 51 52 -[[image:image-20220831111032-2.png||height="617" width="1263"]] 53 53 58 + 59 +))) 54 54 55 - (%style="color:blue"%)**Choosegatewaymodel**61 +== 2.2 Step 2: Choose LORIOT service == 56 56 57 -[[image:image-20220831111132-3.png||height="596" width="1223"]] 58 58 64 +[[image:image-20220531182035-1.png]] 59 59 60 - (% style="color:red"%)**Special reminder: **(%%)Iftheuserdoesnot find the gatewayModel, then (%style="color:blue" %)**git ~-~-> PacketForwarderSemtech**(%%) can be selected66 +Choose to use LORIOT as LoRaWAN service provider 61 61 62 -[[image:image-20220831115222-11.png||height="596" width="1221"]] 63 63 64 64 65 - (% style="color:blue" %)**Enter the ETH0MAC of thegateway**70 +[[image:image-20220531182109-2.png]] 66 66 67 - [[image:image-20220831111307-4.png||height="850"width="1237"]]72 +Install and choose the LORIOT server to be used 68 68 69 69 70 -[[image:image-20220831111821-5.png||height="604" width="1239"]] 71 71 76 +== 2.3 Step 3: Checking Connection Status == 72 72 73 -== 2.3 Step 3: Back to Semtech UDP page == 74 74 79 +[[image:image-20220531182202-3.png]] 75 75 76 - Back tothe pageofSemtechUDP check thesecondary server settings andclickthe buttonof (%style="color:blue" %)**Save&Apply.**81 +Click to Home page and check the connection status 77 77 78 -(% class="box infomessage" %) 79 -((( 80 -Server Address: ~-~-> LORIOT Different servers use different addresses, Such as: **next.loriot.io** 81 81 82 -Uplink /Downlink Port : ~-~-> 1780 83 -))) 84 84 85 - [[image:image-20220831112553-7.png]]85 +== 2.4 Step 4: Setup Account in LORIOT == 86 86 87 87 88 - == 2.4 Step4:Check Connection==88 +Login [[LORIOT>>url:https://www.loriot.io/]] and create account 89 89 90 +[[image:image-20220531182253-4.png]] 90 90 91 -((( 92 -LORIOT will show disconnect if Gateway doesn't connect 93 -))) 92 +Log in LORIOT portal 94 94 95 -((( 96 -LORIOT will show connect if Gateway connect to LORIOT ok. 97 -))) 98 98 99 -[[image:image-20220831114125-8.png||height="561" width="1150"]] 100 100 96 +Choose to use the server same as the gateway setting 101 101 102 - ==2.5Trouble Shooting ==98 +[[image:image-20220526111312-1.png||height="493" width="1098"]] 103 103 100 +Choose server 104 104 105 -User can check the station log in the(% style="color:blue" %)** LogRead ~-~-> System Log **(%%)page. 106 106 107 -[[image:image-20220831114647-9.png||height="706" width="894"]] 108 108 104 +Create a New Network 109 109 110 -a nd recodethestation login the (% style="color:blue"%)** LogRead~-~-> Recode Log**(%%) page.106 +[[image:image-20220526111425-2.png||height="579" width="1378"]] 111 111 112 - [[image:image-20220831114746-10.png||height="292"width="972"]]108 +Create a New Network 113 113 114 114 111 +[[image:image-20220526111500-3.png]] 115 115 116 - = 3. GatewayRegistrationfor Basics Station =113 +Create a New Network 117 117 118 118 119 -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/]] 120 120 121 -((( 122 -(% style="color:blue" %)**Below list the support products and Requirements:** 123 -))) 117 +== 2.5 Step 5: Register the gateway == 124 124 125 -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]] 126 126 127 - 2. Firmwareversion since:120 +[[image:image-20220526111650-4.png]] 128 128 122 +Register the Gateway in LORIOT 129 129 130 -(% style="color:blue" %)**What do you need to prepare?** 131 131 132 -A gateway that can access the internet normally 133 133 126 +Choose LG308 as gateway model 134 134 135 - == 3.1 Step 1:RegisterGateway==128 +[[image:image-20220526111742-5.png||height="496" width="1372"]] 136 136 137 - [[image:image-20231101162122-1.png||height="528"width="1022"]]130 +Choose LG308 as gateway model 138 138 139 139 140 -Enter the gateway ID into the Custom EUI 141 141 142 - [[image:image-20231101162623-2.png||height="526"width="1024"]]134 +Input Gateway ETH0 address 143 143 136 +[[image:image-20220526111918-6.png||height="744" width="1336"]] 144 144 145 - ==3.2Step 2: Generate andDownloadTLSCertificate ==138 +Choose SX1301 Reference and use SPI protocol 146 146 147 -[[image:image-20231101163647-3.png||height="529" width="1024"]] 148 148 149 149 150 - Download LORIOT's threeTLS certificates,whichare:142 +Choose the right Frequency Band and input location 151 151 152 - (% style="color:red" %)**DigiCert_Global_Root_G2.crt , "Gateway EUI".gws.loriot.io.crt ,"Gateway EUI".gws.loriot.io.key**144 +[[image:image-20220526112029-7.png||height="620" width="1306"]] 153 153 154 - [[image:image-20231101163743-4.png||height="528" width="1024"]]146 +Set up regional settings. 155 155 156 156 157 157 158 -== 3.3Step3:Access thegatewayGUI==150 +== 2.6 Step 6: Check Connection == 159 159 160 -User need to upload the TLS certificate and configure the LNS URI 161 161 153 +((( 154 +LORIOT will show disconnect if Gateway doesn't connect 155 +))) 162 162 163 -== 3.4 Step 4: Configure Station == 157 +((( 158 +LORIOT will show connect if Gateway connect to LORIOT ok. 164 164 165 -User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate. 160 + 161 +))) 166 166 167 - (% style="color:blue"%)**just to clarify:**163 +[[image:image-20220526112143-8.png||height="654" width="1373"]] 168 168 169 - Server URI ~-~-> Server Address, Example: wss:~/~/ap2.loriot.io:717 170 - TLS CA Certificate ~-~-> 171 - TLS Key ~-~-> 172 - TLS Certificate ~-~-> 165 +Status: Connected 173 173 174 174 175 -== 3.5 Start Station == 176 176 177 - Whentheuserhasfinishedtheconfiguration, Pleaseclick "Save&Apply" tostartstation toconnectLORIOT.169 +== 2.7 Debug If there is connection issue == 178 178 179 179 180 - ==3.6CheckConnection==172 +User can check if loriot is running by checking the web ui 181 181 182 -If user completes the above steps,which will see Log in the LORIOT. 183 183 184 -[[image:image-202 31101165306-5.png||height="542" width="1050"]]175 +[[image:image-20220526112917-18.png]] 185 185 177 +Status: Connected 186 186 187 -== 3.7 Trouble Shooting == 188 188 189 -User can check the station log in the** LogRead ~-~-> System Log **page. 180 +((( 181 +If user want to see more log, he can run below commands in Linux and see the full log: 182 +))) 190 190 191 -[[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"]] 184 +(% class="box" %) 185 +((( 186 +((( 187 +ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9 188 +/usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io 189 +))) 190 +))) 192 192 192 +((( 193 + 193 193 194 -and recode the station log in the** LogRead ~-~-> Recode Log** page. 195 +Above two commands will first kill the loriot process and run it again to get more output. 196 +))) 195 195 196 -[[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"]]198 +[[image:image-20220530145011-1.png]] 197 197 200 +Get more debug info 198 198 199 199 200 200 201 -= 4. End Device Note =204 += 3. End Device Note = 202 202 203 -== 4.1 Downlink Setup ==206 +== 3.1 Downlink Setup == 204 204 205 205 206 206 [[image:image-20220530145133-2.png]]
- 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