Wiki source code of Notes for LORIOT
Last modified by Kilight Cao on 2024/01/11 09:02
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.4 | 1 | (% class="wikigeneratedid" %) | |
77.2 | 2 | **~ ** | |
1.1 | 3 | ||
77.2 | 4 | (% class="wikigeneratedid" %) | |
5 | **Table of Contents:** | ||
6 | |||
1.6 | 7 | {{toc/}} | |
1.4 | 8 | ||
48.4 | 9 | ||
10 | |||
11 | |||
1.4 | 12 | = 1. Introduction = | |
13 | |||
52.5 | 14 | ||
1.4 | 15 | ((( | |
1.7 | 16 | ((( | |
63.1 | 17 | The Dragino LoRaWAN gateway can communicate with [[LORIOT>>url:https://www.loriot.io/]] LoRaWAN Network Server: | |
1.4 | 18 | ))) | |
1.7 | 19 | ))) | |
1.1 | 20 | ||
1.4 | 21 | ((( | |
1.7 | 22 | ((( | |
67.1 | 23 | Below list the products and requirements that support communication with LORIOT using Semtech UDP: | |
1.4 | 24 | ))) | |
1.7 | 25 | ))) | |
1.1 | 26 | ||
1.7 | 27 | ((( | |
67.1 | 28 | ((( | |
68.2 | 29 | ~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]],[[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]] | |
67.1 | 30 | ||
31 | ((( | ||
32 | ((( | ||
68.2 | 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/]] | |
67.1 | 34 | ||
35 | |||
1.4 | 36 | ))) | |
1.7 | 37 | ))) | |
67.1 | 38 | ))) | |
39 | ))) | ||
40 | |||
63.1 | 41 | = 2. Gateway Registration for Semtech UDP = | |
1.1 | 42 | ||
1.4 | 43 | == 2.1 Step 1: Get Gateway ETH0 MAC Address == | |
1.1 | 44 | ||
52.6 | 45 | ||
68.2 | 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. | |
63.1 | 47 | ||
48 | |||
49 | [[image:image-20220831110558-1.png||height="595" width="909"]] | ||
50 | |||
51 | |||
52 | == 2.2 Step 2: Register Gateway == | ||
53 | |||
54 | |||
77.2 | 55 | [[image:image-20220831111032-2.png||height="595" width="1219"]] | |
63.1 | 56 | ||
57 | |||
68.2 | 58 | (% style="color:blue" %)**Choose gateway model** | |
63.1 | 59 | ||
77.2 | 60 | [[image:image-20220831111132-3.png||height="596" width="1223"]](% style="display:none" %) | |
63.1 | 61 | ||
62 | |||
68.2 | 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 | |
65.1 | 64 | ||
65 | [[image:image-20220831115222-11.png||height="596" width="1221"]] | ||
66 | |||
67 | |||
68.2 | 68 | (% style="color:blue" %)**Enter the ETH0 MAC of the gateway** | |
63.1 | 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" %) | ||
1.4 | 82 | ((( | |
63.1 | 83 | Server Address: ~-~-> LORIOT Different servers use different addresses, Such as: **next.loriot.io** | |
52.6 | 84 | ||
63.1 | 85 | Uplink /Downlink Port : ~-~-> 1780 | |
86 | ))) | ||
87 | |||
88 | [[image:image-20220831112553-7.png]] | ||
89 | |||
90 | |||
91 | == 2.4 Step 4: Check Connection == | ||
92 | |||
93 | |||
94 | ((( | ||
95 | LORIOT will show disconnect if Gateway doesn't connect | ||
96 | ))) | ||
97 | |||
98 | ((( | ||
99 | LORIOT will show connect if Gateway connect to LORIOT ok. | ||
100 | ))) | ||
101 | |||
102 | [[image:image-20220831114125-8.png||height="561" width="1150"]] | ||
103 | |||
104 | |||
77.4 | 105 | == 2.5 Trouble Shooting == | |
63.1 | 106 | ||
107 | |||
108 | User can check the station log in the(% style="color:blue" %)** LogRead ~-~-> System Log **(%%)page. | ||
109 | |||
110 | [[image:image-20220831114647-9.png||height="706" width="894"]] | ||
111 | |||
112 | |||
113 | and recode the station log in the (% style="color:blue" %)** LogRead ~-~-> Recode Log**(%%) page. | ||
114 | |||
115 | [[image:image-20220831114746-10.png||height="292" width="972"]] | ||
116 | |||
77.2 | 117 | (% style="display:none" %) (%%) | |
63.1 | 118 | ||
75.1 | 119 | = 3. Gateway Registration for Basics Station = | |
63.1 | 120 | ||
121 | |||
75.1 | 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 | |||
63.1 | 124 | ((( | |
75.1 | 125 | (% style="color:blue" %)**Below list the support products and Requirements:** | |
126 | ))) | ||
127 | |||
83.1 | 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]] ,[[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]] | |
75.1 | 129 | ||
83.1 | 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/]] | |
75.1 | 131 | ||
132 | |||
133 | (% style="color:blue" %)**What do you need to prepare?** | ||
134 | |||
135 | A gateway that can access the internet normally | ||
136 | |||
137 | |||
77.3 | 138 | == 3.1 Step 1: Register Gateway == | |
75.1 | 139 | ||
77.2 | 140 | (% style="display:none" %) (%%) | |
141 | |||
75.1 | 142 | [[image:image-20231101162122-1.png||height="528" width="1022"]] | |
143 | |||
76.1 | 144 | ||
75.1 | 145 | Enter the gateway ID into the Custom EUI | |
146 | |||
147 | [[image:image-20231101162623-2.png||height="526" width="1024"]] | ||
148 | |||
149 | |||
150 | == 3.2 Step 2: Generate and Download TLS Certificate == | ||
151 | |||
77.2 | 152 | ||
75.1 | 153 | [[image:image-20231101163647-3.png||height="529" width="1024"]] | |
154 | |||
155 | |||
156 | Download LORIOT's three TLS certificates, which are: | ||
157 | |||
158 | (% style="color:red" %)**DigiCert_Global_Root_G2.crt , "Gateway EUI".gws.loriot.io.crt , "Gateway EUI".gws.loriot.io.key** | ||
159 | |||
160 | [[image:image-20231101163743-4.png||height="528" width="1024"]] | ||
161 | |||
162 | |||
81.1 | 163 | == 3.3 Step 3: Configure frequency == | |
75.1 | 164 | ||
165 | |||
81.1 | 166 | (% style="color:red" %)**Note:** **The Dragino gateway supports only one Channel plan** | |
77.2 | 167 | ||
81.1 | 168 | [[image:image-20231121102920-1.png||height="531" width="1028"]] | |
169 | |||
170 | == 3.4 Step 4: Access the gateway GUI == | ||
171 | |||
172 | |||
82.1 | 173 | User need to upload the TLS CA Certificate,TLS Key,TLS Certificate and configure the LNS URI | |
75.1 | 174 | ||
175 | |||
81.1 | 176 | == 3.5 Step 5: Configure Station == | |
75.1 | 177 | ||
77.2 | 178 | ||
75.1 | 179 | User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate. | |
180 | |||
181 | (% style="color:blue" %)**just to clarify:** | ||
182 | |||
81.1 | 183 | (% class="box" %) | |
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** | ||
189 | ))) | ||
75.1 | 190 | ||
81.1 | 191 | (% class="wikigeneratedid" %) | |
192 | [[image:image-20231121104529-3.png||height="525" width="1032"]] | ||
75.1 | 193 | ||
194 | |||
81.1 | 195 | == 3.6 Start Station == | |
77.2 | 196 | ||
81.1 | 197 | ||
75.1 | 198 | When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT. | |
199 | |||
200 | |||
81.1 | 201 | == 3.7 Check Connection == | |
75.1 | 202 | ||
77.2 | 203 | ||
75.1 | 204 | If user completes the above steps,which will see Log in the LORIOT. | |
205 | |||
206 | [[image:image-20231101165306-5.png||height="542" width="1050"]] | ||
207 | |||
208 | |||
81.1 | 209 | == 3.8 Trouble Shooting == | |
75.1 | 210 | ||
77.2 | 211 | ||
75.1 | 212 | User can check the station log in the** LogRead ~-~-> System Log **page. | |
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"]] | ||
215 | |||
216 | |||
217 | and recode the station log in the** LogRead ~-~-> Recode Log** page. | ||
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"]] | ||
220 | |||
221 | |||
77.1 | 222 | = 4. End Device Note = | |
75.1 | 223 | ||
77.1 | 224 | == 4.1 Downlink Setup == | |
75.1 | 225 | ||
63.1 | 226 | ||
77.2 | 227 | [[image:image-20220530145133-2.png||height="523" width="1170"]] | |
1.2 | 228 | ||
45.2 | 229 | ||
77.2 | 230 | [[image:image-20220526112416-11.png||height="576" width="1171"]] | |
1.2 | 231 | ||
45.2 | 232 | ||
77.2 | 233 | [[image:image-20220526112459-12.png||height="403" width="1176"]] | |
1.2 | 234 | ||
45.2 | 235 | ||
77.2 | 236 | [[image:image-20220526112537-13.png||height="392" width="1180"]] | |
1.2 | 237 | ||
45.2 | 238 | ||
77.2 | 239 | [[image:image-20220526112608-14.png||height="520" width="1178"]] | |
1.2 | 240 | ||
45.2 | 241 | ||
77.2 | 242 | [[image:image-20220526112655-15.png||height="238" width="1181"]] | |
1.2 | 243 | ||
45.2 | 244 | ||
77.2 | 245 | [[image:image-20220526112719-16.png||height="316" width="1188"]] | |
1.2 | 246 | ||
45.2 | 247 | ||
77.2 | 248 | [[image:image-20220526112759-17.png||height="415" width="1191"]] | |
249 | |||
250 |