Version 144.1 by Kilight Cao on 2023/02/14 09:40

Hide last authors
Xiaoling 69.2 1 (% style="text-align:center" %)
Edwin Chen 43.1 2 [[image:image-20220620202334-2.png||height="467" width="809"]]
Xiaoye 4.1 3
4
5 (((
Xiaoling 69.2 6
Xiaoye 4.1 7
8
9 )))
Xiaoye 5.1 10
11 **Table of Contents:**
12
13 {{toc/}}
14
Xiaoling 69.2 15
Xiaoling 83.2 16
17
18
Xiaoling 117.2 19 = 1. Introduction =
Xiaoye 5.1 20
Xiaoling 117.2 21 == 1.1 What is LPS8v2 ==
Xiaoling 83.2 22
Xiaoye 5.1 23
24 (((
Xiaoling 69.7 25 (((
Edwin Chen 44.1 26 The LPS8v2 is an (% style="color:green" %)**open-source LoRaWAN Gateway**(%%). It lets you bridge LoRa wireless network to an IP network via (% style="color:green" %)**WiFi , Ethernet or Cellular Network**(%%) (via Optional 4G module). The LoRa wireless allows users to send data and reach extremely long ranges at low data rates.
Xiaoling 69.7 27 )))
Xiaoye 6.2 28
Xiaoling 69.7 29 (((
Edwin Chen 44.1 30 The LPS8v2 is fully compatible with LoRaWAN protocol. It supports different kinds of LoRaWAN Network Connections such as: (% style="color:green" %)**Semtech UDP Packet Forwarder, LoRaWAN Basic Station, ChirpStack MQTT Bridge**(%%), and so on. This makes LPS8V2 work with most LoRaWAN platforms in the market.
Xiaoling 69.7 31 )))
Xiaoye 6.2 32
Xiaoling 69.7 33 (((
Edwin Chen 44.1 34 LPS8v2 also includes a (% style="color:green" %)**built-in LoRaWAN Server and IoT server**(%%), which provide the possibility for the system integrator to deploy the IoT service without cloud service or 3rd servers.
Xiaoling 69.7 35 )))
Xiaoye 6.2 36
Xiaoling 69.7 37 (((
Edwin Chen 43.1 38 Different countries use different LoRaWAN frequency bands. LPS8v2 has these bands pre-configured. Users can also customize the frequency bands to use in their own LoRa network.
Xiaoling 69.7 39 )))
Xiaoye 6.2 40
Xiaoling 69.7 41 (((
Edwin Chen 44.1 42 LPS8v2 supports (% style="color:green" %)**remote management**(%%). System Integrator can easy to remote monitor the gateway and maintain it.
Xiaoling 69.7 43 )))
Edwin Chen 43.1 44
45
Xiaoling 117.2 46 == 1.2 Specifications ==
Xiaoling 69.2 47
Xiaoye 6.2 48
Xiaoling 69.2 49 (% style="color:#037691" %)**Hardware System:**
50
Edwin Chen 46.1 51 * CPU: Quad-core Cortex-A7 1.2Ghz
Xiaoye 6.2 52 * RAM: 512MB
53 * eMMC: 4GB
54
Xiaoling 69.2 55 (% style="color:#037691" %)**Interface:**
Xiaoye 6.2 56
57 * 10M/100M RJ45 Ports x 1
Edwin Chen 45.1 58 * Multi-Channel LoRaWAN Wireless
Edwin Chen 43.1 59 * WiFi 802.11 b/g/n
Xiaoye 6.2 60
Xiaoling 69.2 61 (% style="color:#037691" %)**Operating Condition:**
Xiaoye 6.2 62
63 * Work Temperature: -20 ~~ 65°C
64 * Storage Temperature: -20 ~~ 65°C
Edwin Chen 45.1 65 * Power Input: 5V, 2A, DC
Xiaoye 6.2 66
Xiaoling 141.2 67
68
Xiaoling 117.2 69 == 1.3 Features ==
70
71
Xiaoye 6.2 72 * Open Source Debian system
73 * Managed by Web GUI, SSH via WAN or WiFi
Edwin Chen 45.1 74 * Remote Management
Edwin Chen 49.1 75 * Auto-provisioning for batch deployment and management
Xiaoye 6.2 76 * LoRaWAN Gateway
77 * 10 programmable parallel demodulation paths
Xiaoye 26.1 78 * Pre-configured to support different LoRaWAN regional settings.
Kilight Cao 11.1 79 * Allow customizing LoRaWAN regional parameters.
Edwin Chen 45.1 80 * Different kinds of LoRaWAN Connections such as
81 ** Semtech UDP Packet Forwarder
82 ** LoRaWAN Basic Station
83 ** ChirpStack-Gateway-Bridge (MQTT)
Xiaoling 69.2 84 * Built-in (% style="color:#037691" %)//**The Things Network**//(%%) local LoRaWAN server
85 * Built-in  (% style="color:#037691" %)//**Node-Red**// (%%)local Application server
Xiaoye 6.2 86
Xiaoling 141.2 87
88
Xiaoling 117.2 89 == 1.4 Block Diagram ==
Xiaoling 69.3 90
Xiaoye 35.1 91
Xiaoling 69.3 92
Xiaoling 117.2 93 == 1.5 LED Indicators ==
94
95
Xiaoye 35.1 96 LPS8-V2 has totally four LEDs, They are:
97
98
Xiaoling 69.3 99 (% style="color:blue" %)//**➢ Power LED**//(%%)//: This RED LED will be solid if the device is properly powered//
Xiaoye 35.1 100
Xiaoling 107.3 101 (% style="color:blue" %)//**➢ ETH LED**//(%%)//:  This RGB LED will blink GREEN when the ETH port is connecting//
Xiaoye 35.1 102
Xiaoling 107.3 103 (% style="color:blue" %)//**➢ SYS LED**//(%%)//:  This RGB LED will show different colors in different states~://
Xiaoye 35.1 104
Xiaoye 84.1 105 // ✓ **SOLID GREEN:** The device is alive with a LoRaWAN server connection.//
Xiaoye 35.1 106
Xiaoye 84.1 107 // ✓ **BLINKING GREEN:** a) Device has internet connection but no LoRaWAN Connection. or b) Device is in booting stage, in this stage, it will BLINKING GREEN for several seconds and then with BLINKING GREEN together//
Xiaoye 35.1 108
Xiaoling 69.4 109 // ✓** SOLID RED:** Device doesn't have an Internet connection.//
Xiaoye 35.1 110
Xiaoye 84.1 111 (% style="color:blue" %)//**➢ WIFI LED**//(%%)//: This LED shows the WIFI interface connection status.//
Xiaoye 35.1 112
113
Xiaoling 117.2 114 == 1.6 Button Intruction ==
Xiaoling 107.2 115
Xiaoling 69.3 116
Xiaoye 84.1 117 LPS8-V2 has a black toggle button, which is:
118
119
120 (% style="color:blue" %)**//➢ //Long press 4-5s  : **(%%)the gateway will reload the Network and Initialize wifi configuration
121
122 // **LED status: ** ETH LED will BLINKIND BULE Until the reload is finished.//
123
124
Xiaoye 85.1 125 (% style="color:blue" %)//**➢ **//**Long press more than 10s:**(%%)**    **//the gateway will restore the factory settings.//
Xiaoye 84.1 126
127 //**LED status: ** ETH LED will SOLID BULE Until the restore is finished.//
128
Xiaoling 107.2 129
Xiaoling 117.2 130 = 2. Quick Start =
Xiaoling 107.2 131
Xiaoye 8.1 132
Xiaoye 26.1 133 The LPS8-V2 supports network access via Ethernet or Wi-Fi connection and runs without a network.
Xiaoye 8.1 134
Xiaoye 26.1 135 In most cases, the first thing you need to do is make the lps8-v2 accessible to the network.
Xiaoye 8.1 136
137
Xiaoling 117.2 138 == 2.1 Connects to the network and accesses the gateway Web UI ==
Xiaoling 69.4 139
Xiaoling 117.2 140 == 2.1.1 connect the network ==
Xiaoye 8.1 141
142
Xiaoling 69.4 143 === (% style="color:blue" %)**Method 1**(%%):  Connect via Ethernet with DHCP IP from the router ===
Xiaoye 26.1 144
Xiaoling 69.4 145
Xiaoling 69.10 146 (((
Xiaoling 122.3 147 Connect the LPS8-V2 Ethernet port to your router and LPS8-V2 can obtain an IP address from your router. In the router's management portal, you should be able to find what IP address the router has assigned to the LPS8-V2.
Xiaoling 69.10 148 )))
Xiaoye 26.1 149
Xiaoling 69.10 150 (((
Xiaoye 35.1 151 You can also use this IP to connect.
Xiaoling 69.10 152 )))
Xiaoye 35.1 153
154 [[image:image-20220622100129-1.png||height="332" width="1263"]]
155
Xiaoling 134.2 156
Kilight Cao 133.1 157 === (% style="color:blue" %)**Method 2**(%%):  Connect via LPS8-V2 Fallback IP ===
Xiaoye 35.1 158
159
Kilight Cao 133.1 160 [[image:image-20230107084650-2.png||height="310" width="839"]]
Xiaoye 35.1 161
Xiaoling 69.4 162
Xiaoye 137.1 163 (% style="color:blue" %)**Steps to connect via fallback IP:**
Kilight Cao 133.1 164
Xiaoye 137.1 165 ~1. Connect the PC's Ethernet port to LPS8-V2's WAN port
Kilight Cao 133.1 166
167 2. Configure PC's Ethernet port has IP: 172.31.255.253 and Netmask: 255.255.255.252
168
Xiaoye 137.1 169 As in the below photo:
Kilight Cao 133.1 170
171 [[image:image-20230107085904-4.png||height="443" width="361"]]
172
173 3. In the PC, use IP address 172.31.255.254 to access the LPS8-V2 via Web or Console.
174
175
Xiaoye 137.1 176 [[image:image-20230111094247-2.png||height="619" width="1250"]]
177
178
179
Kilight Cao 133.1 180 === (% style="color:blue" %)**Method 3**(%%):  Connect via WiFi with DHCP IP from the router ===
181
182
Xiaoye 35.1 183 [[image:image-20220622100542-2.png||height="369" width="1256"]]
184
185
Xiaoling 69.4 186 Fill in the WiFi information by checking the box and clicking (% style="color:red" %)**Save&Apply**
Xiaoye 35.1 187
188
189 [[image:image-20220622102702-6.png]]
190
191
Xiaoling 69.4 192
Xiaoye 35.1 193 **Wi-Fi configuration successful**
194
195
196 [[image:image-20220622102847-7.png]]
197
Xiaoling 69.4 198
Xiaoling 107.2 199 [[image:image-20220622102901-8.png||height="476" width="938"]]
Xiaoye 35.1 200
201
Kilight Cao 128.1 202 == 2.1.2 Access Configure Web UI ==
Kilight Cao 122.4 203
204
205 **Web Interface**
206
207 Open a browser on the PC and type the LPS8-V2 ip address (depends on your connect method)
208
209
Kilight Cao 134.1 210 [[(% style="background-color:yellow" %)**//http:~~/~~/IP_ADDRESS //**>>http://IP_ADDRESS]](%%) or (% style="background-color:yellow" %)//**[[http:~~/~~/172.31.255.254>>http://172.31.255.254(]]**//(Fallback IP)
Kilight Cao 122.4 211
212 You will see the login interface of LPS8-V2 as shown below.
213
214 The account details for Web Login are:
215
216 (% style="color:#4f81bd" %)**User Name: root**
217
218 (% style="color:#4f81bd" %)**Password:   dragino**
219
Kilight Cao 127.1 220 [[image:image-20230106153501-1.png||height="367" width="894"]]
Kilight Cao 122.4 221
Xiaoling 128.2 222
Xiaoling 117.2 223 == 2.2 The LPS8-V2 is registered and connected to The Things Network ==
Xiaoye 35.1 224
Xiaoling 117.2 225 === 2.2.1 Select your area frequency ===
Xiaoye 26.1 226
227
Xiaoling 69.12 228 (((
Xiaoye 41.1 229 First, you need to set the frequency plan in LPS8-V2 to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor.
Xiaoling 83.3 230
231
Xiaoling 69.12 232 )))
Xiaoye 26.1 233
Xiaoling 107.2 234 [[image:image-20220622103332-9.png||height="485" width="938"]]
Xiaoye 26.1 235
236
Xiaoling 117.2 237 === 2.2.2 Get the only gateway EUI ===
Xiaoling 69.4 238
Xiaoye 41.1 239
240 Every LPS8-V2 has a unique gateway id. The ID can be found on LoRaWAN Semtech page:
241
Xiaoling 83.4 242
Xiaoling 107.2 243 [[image:image-20220622103355-10.png||height="698" width="949"]]
Xiaoye 41.1 244
245
Xiaoling 69.4 246 (% style="color:red" %)**Note: Choose the cluster that corresponds to a specific Gateway server address**
Xiaoye 41.1 247
Xiaoling 69.4 248
Xiaoye 41.1 249 **➢ Europe 1:**  corresponding Gateway server address:  **eu1.cloud.thethings.network**
250
251 **➢ North America 1:**  corresponding Gateway server address:  **nam1.cloud.thethings.network**
252
253 **➢ Australia 1: ** corresponding Gateway server address:  **au1.cloud.thethings.network**
254
255 **➢ Legacy V2 Console:** TTN v2 shuts down in December 2021
256
257
258 [[image:image-20220622103956-12.png]]
259
260
Xiaoling 117.2 261 == 2.2.3 Register the gateway to The Things Network ==
Xiaoye 41.1 262
263
264 **Login to The Things Network**
265
266 [[https:~~/~~/console.cloud.thethings.network/>>https://console.cloud.thethings.network/]]
267
Xiaoling 69.4 268
Xiaoye 41.1 269 **Add the gateway**
270
271 [[image:image-20220622104252-13.png||height="511" width="953"]]
272
273
274 **Get it online**
275
276
Xiaoling 117.2 277 = 3. Web Configure Pages =
Xiaoling 69.4 278
Xiaoling 117.2 279 == 3.1 Home ==
Xiaoye 8.1 280
281
Kilight Cao 23.1 282 //Shows the system running status~://
Kilight Cao 15.1 283
Xiaoling 107.2 284 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/WebHome/image-20220622102901-8.png?rev=1.1||alt="image-20220622102901-8.png" height="476" width="939"]]
Xiaoling 69.4 285
Xiaoling 83.4 286
Xiaoling 117.2 287 == 3.2 LoRa Settings ==
Xiaoling 107.2 288
Xiaoling 117.2 289 === 3.2.1 LoRa ~-~-> LoRa ===
Kilight Cao 15.1 290
291
Kilight Cao 23.1 292 //This page shows the LoRa Radio Settings. There is a set of default frequency bands according to LoRaWAN protocol, and users can customize the band* as well.//
Kilight Cao 15.1 293
Kilight Cao 23.1 294 //Different LPS8v2 hardware versions can support different frequency ranges~://
Kilight Cao 15.1 295
Xiaoye 83.1 296 * (% style="color:#0000ff" %)//**868**//(% style="color:black" %)//: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865, or KZ865.//
Kilight Cao 23.1 297 * (% style="color:#0000ff" %)//**915**//(% style="color:black" %)//: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920//
Xiaoye 8.1 298
Kilight Cao 23.1 299 (% class="wikigeneratedid" %)
Xiaoling 69.4 300 //After the user choose the frequency plan,  the user can see the actual frequency is used by checking the page (% style="color:#037691" %)**LogRead ~-~-> LoRa Log**//
Kilight Cao 23.1 301
Xiaoling 83.4 302
Kilight Cao 23.1 303 (% class="wikigeneratedid" %)
304 [[image:image-20220616110739-1.png||height="372" width="682"]]
305
306
Xiaoling 69.4 307 (((
Xiaoling 103.3 308 (% style="color:red" %)//**Note *: See this instruction for how to customize the frequency band: **//(%%)**//__[[How to customized LoRaWAN frequency band - DRAGINO>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]__//**
Xiaoling 69.4 309 )))
Kilight Cao 23.1 310
311
Xiaoling 117.2 312 == 3.3 LoRaWAN Settings ==
Kilight Cao 23.1 313
Xiaoling 117.2 314 === 3.3.1 LoRaWAN ~-~-> LoRaWAN Semtech UDP ===
Kilight Cao 23.1 315
316
317 //This page is for the connection set up to a general LoRaWAN Network server such as [[TTN>>url:http://www.thethingsnetwork.org/]], [[ChirpStack>>url:https://www.chirpstack.io/]], etc.//
318
Xiaoling 83.4 319
Kilight Cao 23.1 320 [[image:image-20220616111932-2.png||height="516" width="672"]]
321
322
Xiaoling 117.2 323 === 3.3.2 LoRaWAN ~-~-> LoRaWAN Basic Station ===
Xiaoling 69.5 324
Kilight Cao 23.1 325
326 //This page is for the connection set up to the TTN Basic Station, AWS-IoT, etc.//
327
Xiaoling 83.4 328
Kilight Cao 23.1 329 [[image:image-20220616113246-3.png||height="396" width="672"]]
330
331
Xiaoling 69.12 332 (((
Xiaoling 103.4 333 Please see this instruction to know more detail and a demo for how to use of LoRaWAN Basic Station: __[[Use of LoRaWAN Basic Station - DRAGINO>>doc:Main.Use of LoRaWAN Basic Station.WebHome]]__
Xiaoling 69.12 334 )))
Kilight Cao 23.1 335
336
Xiaoling 117.2 337 == 3.4 Network Settings ==
Xiaoling 69.5 338
Xiaoling 117.2 339 === 3.4.1 Network ~-~-> WiFi ===
Kilight Cao 23.1 340
341
342 [[image:image-20220616114756-4.png||height="251" width="669"]]
343
344
Xiaoling 117.2 345 === 3.4.2 Network ~-~-> System Status ===
Xiaoling 69.5 346
Kilight Cao 23.1 347
Xiaoye 83.1 348 [[image:image-20220820134112-2.png||height="539" width="668"]]
Kilight Cao 23.1 349
350
Xiaoling 117.2 351 === 3.4.3 Network ~-~-> Firewall ===
Xiaoling 69.5 352
Kilight Cao 23.1 353
354 [[image:image-20220616115351-6.png||height="244" width="661"]]
355
356
Xiaoling 117.2 357 == 3.5 System ==
Xiaoling 69.5 358
Kilight Cao 122.1 359 === 3.5.1 System ~-~-> System Overview ===
Kilight Cao 23.1 360
361
362 Shows the system info:
363
Xiaoling 109.2 364 [[image:image-20220917144512-5.png||height="618" width="853"]]
Kilight Cao 23.1 365
Xiaoling 69.5 366
Kilight Cao 127.1 367 === 3.5.2 System ~-~-> System General ===
Xiaoling 107.2 368
Kilight Cao 23.1 369
Kilight Cao 133.1 370 In the System-> System General interface, Users can customize the configuration System Password and set Timezone.
Kilight Cao 127.1 371
Kilight Cao 133.1 372 [[image:image-20230107084158-1.png||height="543" width="844"]]
Kilight Cao 127.1 373
374
375 === 3.5.3 System ~-~-> Backup/Restore ===
376
377
Xiaoling 109.2 378 [[image:image-20220917144725-6.png||height="208" width="869"]]
Kilight Cao 23.1 379
380
Kilight Cao 127.1 381 === 3.5.4 System ~-~-> Remoteit ===
Kilight Cao 121.1 382
383
384 In the System-> Remoteit interface, users can configure the gateway to be accessed remotely via Remote.it.
385
386
387 the users can refer to this link to configure them: **[[Monitor & Remote Access Gateway>>http://wiki.dragino.com/xwiki/bin/view/Main/Monitor%20%26%20Remote%20Access%20Gateway/?Remote%20Access#H2.1A0RemoteAccessviaRemote.it.]]**
388
389 [[image:image-20221230092303-2.png]]
390
391
Xiaoling 117.2 392 = 4. Build-in Server =
Kilight Cao 23.1 393
Xiaoye 53.1 394
Xiaoye 83.1 395 The default factory version of LPS8-V2 is installed with the built-in Applicant server: (% style="color:blue" %)**Node-Red, and**(%%) LoRaWAN Server: (% style="color:blue" %)**The Things Network - Stack (Open Source 3.19 Version).**
Xiaoye 53.1 396
Xiaoling 83.4 397
Xiaoling 107.2 398 [[image:image-20220820115644-1.png||height="217" width="778"]]
Xiaoye 53.1 399
400
Xiaoling 83.4 401 (% style="color:red" %)**Note:**
Kilight Cao 58.1 402
Xiaoye 83.1 403 **Path**: System ~-~-> Built-in Server
Kilight Cao 58.1 404
405
Xiaoye 83.1 406 **Troubleshooting:**
Kilight Cao 59.1 407
Xiaoye 60.1 408
Xiaoye 83.1 409 **~ 1. URL does not jump properly**
Xiaoye 60.1 410
Kilight Cao 86.1 411 For the ttn-stack, you can click the update the URL which will update the configuration where change the hostname to the current local IP address as the URL.
Xiaoye 60.1 412
Kilight Cao 86.1 413 For the Node-Red, you can use the local IP address and the port is 1880 to access it.
Kilight Cao 57.1 414
415
Xiaoling 117.2 416 == 4.1 LoRaWAN Network  Server ~-~- The Things Network - Stack (TTN-V3) ==
Xiaoling 83.4 417
Kilight Cao 58.1 418
Xiaoling 109.3 419 You can access the gateway's built-in LNS server of (% style="color:blue" %)**The Things Network - Stack **(%%)via the URL( (% style="background-color:yellow" %)__**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__(%%)) in your browser.
Xiaoling 69.5 420
Xiaoye 83.1 421 Such as  (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>//**__
Xiaoye 67.1 422
423
Xiaoye 83.1 424 Login account:
Xiaoling 69.5 425
Xiaoye 83.1 426 **User ID: ** ** (% style="background-color:yellow" %)admin(%%)**
Xiaoye 53.1 427
Xiaoye 83.1 428 **Password: ** ** (% style="background-color:yellow" %)dragino(%%)**
Xiaoye 53.1 429
Kilight Cao 59.1 430
Xiaoye 83.1 431 [[image:image-20220725171719-1.png||height="570" width="769"]]
Kilight Cao 59.1 432
433
Xiaoling 117.2 434 == 4.2 Application Server ~-~- Node-Red ==
Xiaoye 60.1 435
Xiaoling 69.6 436
Xiaoling 109.3 437 You can access the gateway's built-in AS server of (% style="color:blue" %)**Node-Red **(%%)via the URL((% style="background-color:yellow" %)__**//http:~/~/<hostname>:1880 or http:~/~/<local-IPV4-address>//**__(%%)) in your browser.
Xiaoye 53.1 438
439
Kilight Cao 87.1 440 Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880  or http:~/~/<Local-IPV4-Address>//**__
Xiaoye 61.1 441
442
Xiaoye 83.1 443 [[image:image-20220725172124-3.png||height="610" width="843"]]
Xiaoye 61.1 444
445
446
Xiaoling 117.2 447 === **Using Node-Red, InfluxDB and Grafana** ===
Xiaoye 115.1 448
Xiaoye 116.1 449 The LPS8-V2 supports this combination, the default, Node-red is pre-installed but the InfluxDB and Grafana is not pre-installed.
Xiaoye 115.1 450
Xiaoye 116.1 451
452 the users can refer to this link to install them.
453
454 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.6HowtoinstallGrafanaandinfluxdb]]
455
Kilight Cao 139.1 456
Kilight Cao 138.1 457 == 4.3 How to disable the built-in server ==
Xiaoye 116.1 458
Kilight Cao 138.1 459
460 Use the following commands to start and stop the TTNv3 service:
461
462 (% class="box infomessage" %)
463 (((
464 **# start**
465 systemctl start ttnstack
466
467 **# stop**
468 systemctl stop ttnstack
469
470 **# enable**
471 systemctl enable ttnstack
472
473 **#disable**
474 systemctl disable ttnstack
475 )))
476
477 Use the following commands to start and stop the Node-Red service:
478
479 (% class="box infomessage" %)
480 (((
481 **# start**
482 systemctl start nodered
483
484 **# stop**
485 systemctl stop nodered
486
487 **# enable**
488 systemctl enable nodered
489
490 **#disable**
491 systemctl disable nodered
492 )))
493
Kilight Cao 139.1 494
Kilight Cao 141.1 495 == 4.4 How to use ChirpStack on LPS8-V2 ==
Kilight Cao 138.1 496
497
498 By default, the built-in LoRaWAN network server used on LPS8v2 is TTNv3, so users need to disable TTNv3 services and follow this link to install chirpstack:
499
Kilight Cao 140.1 500 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H3.A0HowtoinstallChirpStack>>http://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H3.A0HowtoinstallChirpStack]]
Kilight Cao 138.1 501
Kilight Cao 140.1 502
Kilight Cao 141.1 503 = 5. How users can access LPS8-V2 using serial USB =
Xiaoling 69.6 504
Kilight Cao 74.1 505
Kilight Cao 141.1 506 (% style="color:blue" %)**USB TTL to LPS8-V2  Connection:**
Kilight Cao 74.1 507
Xiaoling 109.3 508
Kilight Cao 141.1 509 Port 1 of the UART on the LPS8-V2 is GND
Kilight Cao 74.1 510
Kilight Cao 79.1 511 (% class="box infomessage" %)
512 (((
Xiaoling 107.2 513 **TXD  <~-~--> UART RXD (Gray line)**
Kilight Cao 74.1 514
Xiaoling 107.2 515 **RXD  <~-~--> UART TXD (White line)**
Kilight Cao 74.1 516
Xiaoling 107.2 517 **GND <~-~--> GND (Black line)**
Kilight Cao 79.1 518 )))
Kilight Cao 74.1 519
520
Kilight Cao 77.1 521 **LPS8v2 UART connection photo**
522
523 [[image:image-20220804163015-1.png||height="621" width="466"]]
524
525
Kilight Cao 78.1 526 In the PC,you can use the serial port tool(such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]] in Windows), you need to set the serial baud rate to (% style="color:blue" %)**115200**(%%) to access the serial console for LPS8v2. LPS8v2 will output system info once power on as below:
Kilight Cao 77.1 527
Xiaoling 83.4 528
Kilight Cao 77.1 529 [[image:image-20220804164928-3.png||height="320" width="332"]]
530
Xiaoling 83.4 531
Kilight Cao 77.1 532 [[image:image-20220804164747-2.png||height="622" width="594"]]
533
Xiaoling 83.4 534
Xiaoling 117.2 535 = 6. Use the helium gateway-rs as the Data-only Hotspot =
Xiaoling 107.2 536
Xiaoling 83.4 537
Xiaoye 102.1 538 == **Step 1: Configure Frequency Band** ==
539
540
541 //Each country has a requirement for frequency region. Choose the right one for your area.//
542
543 [[image:image-20220905164308-1.png]]
544
545
Xiaoling 107.2 546
Xiaoling 103.5 547 == **Step 2: Configure the forward address** ==
Xiaoye 102.1 548
549
550 **Select one of the servers to configure.**
551
552 **For example:**
553
554 [[image:image-20220905164847-2.png]]
555
556
Xiaoling 107.2 557
Xiaoling 103.5 558 == **Step 3: Download and Install the Helium-gateway-rs** ==
Xiaoye 102.1 559
560
561 **Access the gateway CLI via SSH.**
562
563 [[image:image-20220905165222-3.png]]
564
565
566 **Download gateway-rs.**
567
568 [[image:image-20220905165715-5.png]]
569
570 (% class="box infomessage" %)
571 (((
Xiaoling 103.7 572 **Command: wget [[http:~~/~~/repo.dragino.com/release/tool/gateway-rs/helium-gateway-v1.0.0-alpha.31-raspi234.deb>>http://repo.dragino.com/release/tool/gateway-rs/helium-gateway-v1.0.0-alpha.31-raspi234.deb]]**
Xiaoye 102.1 573 )))
574
575
576 **Install gateway-rs.**
577
578 [[image:image-20220905165917-7.png]]
579
580 (% class="box infomessage" %)
581 (((
Xiaoling 103.7 582 **Command: dpkg -i helium-gateway-v1.0.0-alpha.31-raspi234.deb **
Xiaoye 102.1 583 )))
584
585
586 **Modify configuration.**
587
588
589 [[image:image-20220905173847-12.png]]
590
591
592 (% class="box infomessage" %)
593 (((
Xiaoling 103.7 594 **region=<Enter regional parameters> \
Xiaoye 102.1 595 && sed -i '/region/d' /etc/helium_gateway/settings.toml && sed -i "1 i\region = \"$region\"" /etc/helium_gateway/settings.toml \
Xiaoling 103.7 596 && sed -i '/region/d' /etc/helium_gateway/default.toml && sed -i "22 i\region = \"$region\"" /etc/helium_gateway/default.toml**
Xiaoye 102.1 597 )))
598
599
600 **Restart the helium_gateway**
601
602 [[image:image-20220905170920-9.png]]
603
604
605 (% class="box infomessage" %)
606 (((
Xiaoling 103.7 607 **systemctl restart helium_gateway**
Xiaoye 102.1 608 )))
609
610
Xiaoling 103.7 611 **Check the helium_gateway Log:**
Xiaoye 102.1 612
613 [[image:image-20220905173952-13.png]]
614
615
616 (% class="box infomessage" %)
617 (((
Xiaoling 103.7 618 **journalctl -u helium_gateway -f**
Xiaoye 102.1 619 )))
620
621
Xiaoling 103.8 622 (% style="color:red" %)**Note: if your device is not finished the onboarding, which is unable to connect to the Helium console.**
Xiaoye 102.1 623
624 where the helium gateway log is shown:
625
626 [[image:image-20220905174534-14.png]]
627
628
Xiaoling 103.8 629 So you have to finish the onboarding, ~-~--Please refer to [[Step 2.7>>doc:Main.Notes for Helium.WebHome||anchor="H2.7A0Step6:OnboardingData-OnlyHotspot"]] to onboarding your LPS8-V2.
Xiaoye 102.1 630
631
Xiaoling 117.2 632 = 7. OTA System Update =
Xiaoling 107.2 633
Kilight Cao 23.1 634
Kilight Cao 117.1 635 LPS8v2 supports system auto update via OTA, please see **[[this URL>>url:http://wiki.dragino.com/xwiki/bin/view/OTA%20Update/]]** for the detail of this feature.
Xiaoling 69.6 636
Xiaoye 112.1 637
Xiaoling 117.2 638 = 8. Trouble Shooting =
Xiaoye 112.1 639
Kilight Cao 117.1 640 == 8.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
641
642
Xiaoye 113.1 643 [[image:image-20220920135918-1.png]]
Xiaoye 112.1 644
Xiaoling 113.2 645
Xiaoye 112.1 646 This is caused by the inconsistency between the built-in TTN-Stack domain configuration and your login URL.
647
648 By default, ttn-stack uses the gateway's domain name for URL resolution, but in some networks, they prefer to resolve IP-v4 addresses.
649
650
651 So you can change the domain name of the TTN-Stack configuration to the IPv4 address.
652
653 **Click the update URL button to configure the URL with the current eth port address.**
654
655 [[image:image-20220920141936-2.png]]
656
657
Xiaoling 117.2 658 = (% style="color:inherit; font-family:inherit; font-size:29px" %)9. Supports(%%) =
Xiaoye 112.1 659
660
Kilight Cao 14.1 661 (((
662 **//If you are experiencing issues and can't solve them, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]].//**
663 )))
Xiaoye 8.1 664
Kilight Cao 14.1 665 (((
666 **//With your question as detailed as possible. We will reply and help you in the shortest.//**
Kilight Cao 15.1 667
Edwin Chen 50.1 668
Xiaoling 117.2 669 = 10. Reference =
Xiaoling 69.6 670
Edwin Chen 50.1 671
Edwin Chen 52.1 672 * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]].
Edwin Chen 80.1 673 * [[Advance OS Reference Guide for LPS8v2>>doc:Main.Armbian OS instruction.WebHome]].
Edwin Chen 50.1 674
Xiaoling 141.2 675
Kilight Cao 15.1 676
Kilight Cao 14.1 677 )))
Xiaoye 8.1 678
Xiaoling 117.2 679 = 11. Order Info =
Xiaoye 8.1 680
Xiaoling 69.6 681
Edwin Chen 42.1 682 (% style="color:#0000ff" %)**LPS8v2-XXX-YYY**
Xiaoye 8.1 683
Kilight Cao 14.1 684 (% style="color:#0000ff" %)**XXX**(% style="color:black" %): Frequency Band
Xiaoye 8.1 685
Xiaoling 69.6 686 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
687 * (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
688 * (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
689 * (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
690 * (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
691 * (% style="color:red" %)**IN865**(%%):  LoRaWAN IN865 band
Xiaoye 8.1 692
Edwin Chen 42.1 693 (% style="color:#0000ff" %)**YYY**(% style="color:black" %): 4G Cellular Option
694
Xiaoling 69.6 695 * (% style="color:red" %)**E**(%%):  EMEA, Korea, Thailand, India.
696 * (% style="color:red" %)**A**(%%):  North America/ Rogers/AT&T/T-Mobile.
697 * (% style="color:red" %)**AU**(%%): Latin America, New Zeland, Taiwan
698 * (% style="color:red" %)**J**(%%):  Japan, DOCOMO/SoftBank/ KDDI
Edwin Chen 42.1 699
700 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
701
702
Xiaoling 117.2 703 = 12. Manufacturer Info =
Xiaoling 69.6 704
Xiaoye 8.1 705
706 **Shenzhen Dragino Technology Development co. LTD**
707
708 Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad
709
710 LongCheng Street, LongGang District ; Shenzhen 518116,China
711
712
Xiaoling 117.2 713 = 13. FCC Warning =
Xiaoling 69.6 714
Xiaoye 8.1 715
Xiaoling 69.12 716 (((
Xiaoye 8.1 717 This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Xiaoling 69.12 718 )))
Xiaoye 8.1 719
Xiaoling 69.12 720 (((
Xiaoye 8.1 721 ~-~- Reorient or relocate the receiving antenna.
Xiaoling 69.12 722 )))
Xiaoye 8.1 723
Xiaoling 69.12 724 (((
Xiaoye 8.1 725 ~-~- Increase the separation between the equipment and receiver.
Xiaoling 69.12 726 )))
Xiaoye 8.1 727
Xiaoling 69.12 728 (((
Xiaoye 8.1 729 ~-~- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
Xiaoling 69.12 730 )))
Xiaoye 8.1 731
Xiaoling 69.12 732 (((
Xiaoye 8.1 733 ~-~- Consult the dealer or an experienced radio/TV technician for help.
Xiaoling 69.12 734 )))
Xiaoye 8.1 735
736
Xiaoling 69.12 737 (((
Xiaoye 8.1 738 Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
Xiaoling 69.12 739 )))
Xiaoye 8.1 740
741
Xiaoling 69.12 742 (((
Xiaoye 8.1 743 The antenna(s) used for this transmitter must be installed to provide a separation distance of at least 20 cm from all persons and must not be co-located or operating in conjunction with any other antenna or transmitter.
Xiaoling 83.4 744
745
Xiaoye 8.1 746 )))
Xiaoling 69.12 747 )))