Version 160.1 by Kilight Cao on 2023/03/31 14:57

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
Xiaoling 156.2 60 * Sensitivity: -140dBm
61 * Max Output Power: 27dBm
Xiaoye 6.2 62
Xiaoling 69.2 63 (% style="color:#037691" %)**Operating Condition:**
Xiaoye 6.2 64
Xiaoling 156.2 65 * Work Temperature: -20 ~~ 70°C
66 * Storage Temperature: -20 ~~ 70°C
Edwin Chen 45.1 67 * Power Input: 5V, 2A, DC
Xiaoye 6.2 68
Xiaoling 159.2 69
Xiaoling 117.2 70 == 1.3 Features ==
71
72
Xiaoye 6.2 73 * Open Source Debian system
74 * Managed by Web GUI, SSH via WAN or WiFi
Edwin Chen 45.1 75 * Remote Management
Edwin Chen 49.1 76 * Auto-provisioning for batch deployment and management
Xiaoye 6.2 77 * LoRaWAN Gateway
78 * 10 programmable parallel demodulation paths
Xiaoye 26.1 79 * Pre-configured to support different LoRaWAN regional settings.
Kilight Cao 11.1 80 * Allow customizing LoRaWAN regional parameters.
Edwin Chen 45.1 81 * Different kinds of LoRaWAN Connections such as
82 ** Semtech UDP Packet Forwarder
83 ** LoRaWAN Basic Station
84 ** ChirpStack-Gateway-Bridge (MQTT)
Xiaoling 69.2 85 * Built-in (% style="color:#037691" %)//**The Things Network**//(%%) local LoRaWAN server
86 * Built-in  (% style="color:#037691" %)//**Node-Red**// (%%)local Application server
Xiaoye 6.2 87
Xiaoling 159.2 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
Kilight Cao 158.1 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
Kilight Cao 146.1 351 === 3.4.3 Network ~-~-> Network ===
Xiaoling 69.5 352
Kilight Cao 23.1 353
Kilight Cao 146.1 354 In the Network ~-~-> Network interface, Users can set the Ethernet WAN static ip address.
Kilight Cao 23.1 355
Kilight Cao 146.1 356 [[image:image-20230214093657-2.png||height="333" width="858"]]
Kilight Cao 23.1 357
Kilight Cao 146.1 358
Kilight Cao 155.1 359 === 3.4.4 Network ~-~-> Cellular ===
360
361
362 In the Network ~-~-> Cellular interface, Users can Enable Cellular WAN and configure Celluar.
363
Kilight Cao 156.1 364 (% style="color:red" %)**Note: APN cannot be empty.**
365
Kilight Cao 155.1 366 [[image:image-20230228115126-1.png]]
367
368
369 After the configuration is complete, return to the Home interface and put the mouse on the Cell icon to check the Cellualr state.
370
371 [[image:image-20230228115535-2.png||height="478" width="888"]]
372
Xiaoling 156.2 373
Xiaoling 117.2 374 == 3.5 System ==
Xiaoling 69.5 375
Kilight Cao 122.1 376 === 3.5.1 System ~-~-> System Overview ===
Kilight Cao 23.1 377
378
379 Shows the system info:
380
Xiaoling 109.2 381 [[image:image-20220917144512-5.png||height="618" width="853"]]
Kilight Cao 23.1 382
Xiaoling 69.5 383
Kilight Cao 127.1 384 === 3.5.2 System ~-~-> System General ===
Xiaoling 107.2 385
Kilight Cao 23.1 386
Kilight Cao 133.1 387 In the System-> System General interface, Users can customize the configuration System Password and set Timezone.
Kilight Cao 127.1 388
Kilight Cao 146.1 389 In addition, Users can customize the FallBack IP address.
Kilight Cao 127.1 390
Kilight Cao 146.1 391 [[image:image-20230214094058-3.png]]
Kilight Cao 127.1 392
Kilight Cao 146.1 393
Kilight Cao 127.1 394 === 3.5.3 System ~-~-> Backup/Restore ===
395
396
Xiaoling 109.2 397 [[image:image-20220917144725-6.png||height="208" width="869"]]
Kilight Cao 23.1 398
399
Kilight Cao 127.1 400 === 3.5.4 System ~-~-> Remoteit ===
Kilight Cao 121.1 401
402
403 In the System-> Remoteit interface, users can configure the gateway to be accessed remotely via Remote.it.
404
405
406 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.]]**
407
408 [[image:image-20221230092303-2.png]]
409
410
Kilight Cao 147.1 411 === 3.5.5 System ~-~-> Package Management ===
Kilight Cao 146.1 412
413
414 In the System ~-~-> Package Management interface, Users can check the current version of Core Packages.
415
416 [[image:image-20230214094316-4.png]]
417
418
Xiaoling 117.2 419 = 4. Build-in Server =
Kilight Cao 23.1 420
Xiaoye 53.1 421
Xiaoye 83.1 422 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 423
Xiaoling 83.4 424
Kilight Cao 149.1 425 [[image:image-20230214095318-5.png||height="347" width="980"]]
Xiaoye 53.1 426
427
Xiaoling 83.4 428 (% style="color:red" %)**Note:**
Kilight Cao 58.1 429
Xiaoye 83.1 430 **Path**: System ~-~-> Built-in Server
Kilight Cao 58.1 431
432
Xiaoye 83.1 433 **Troubleshooting:**
Kilight Cao 59.1 434
Xiaoye 60.1 435
Xiaoye 83.1 436 **~ 1. URL does not jump properly**
Xiaoye 60.1 437
Kilight Cao 86.1 438 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 439
Kilight Cao 86.1 440 For the Node-Red, you can use the local IP address and the port is 1880 to access it.
Kilight Cao 57.1 441
442
Xiaoling 117.2 443 == 4.1 LoRaWAN Network  Server ~-~- The Things Network - Stack (TTN-V3) ==
Xiaoling 83.4 444
Kilight Cao 58.1 445
Xiaoling 109.3 446 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 447
Xiaoye 83.1 448 Such as  (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>//**__
Xiaoye 67.1 449
450
Xiaoye 83.1 451 Login account:
Xiaoling 69.5 452
Xiaoye 83.1 453 **User ID: ** ** (% style="background-color:yellow" %)admin(%%)**
Xiaoye 53.1 454
Xiaoye 83.1 455 **Password: ** ** (% style="background-color:yellow" %)dragino(%%)**
Xiaoye 53.1 456
Kilight Cao 59.1 457
Xiaoye 83.1 458 [[image:image-20220725171719-1.png||height="570" width="769"]]
Kilight Cao 59.1 459
460
Kilight Cao 159.1 461 === 4.1.1 The LPS8-V2 is registered and connected to Built-in The Things Network ===
Kilight Cao 158.1 462
463
Kilight Cao 159.1 464 Users need to set the Service Provider to (% style="color:blue" %)**Local Host/Build-in Server **(%%) and click "Save&Apply"
Kilight Cao 158.1 465
466 The registration steps are basically similar to [[LPS8-V2 is registered and connected to The Things Network>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/#H2.2TheLPS8-V2isregisteredandconnectedtoTheThingsNetwork]]
467
468 [[image:image-20230321092456-1.png]]
469
470
Xiaoling 117.2 471 == 4.2 Application Server ~-~- Node-Red ==
Xiaoye 60.1 472
Xiaoling 69.6 473
Xiaoling 109.3 474 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 475
476
Kilight Cao 87.1 477 Such as (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:1880  or http:~/~/<Local-IPV4-Address>//**__
Xiaoye 61.1 478
479
Xiaoye 83.1 480 [[image:image-20220725172124-3.png||height="610" width="843"]]
Xiaoye 61.1 481
482
483
Xiaoling 117.2 484 === **Using Node-Red, InfluxDB and Grafana** ===
Xiaoye 115.1 485
Xiaoye 116.1 486 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 487
Xiaoye 116.1 488
489 the users can refer to this link to install them.
490
491 [[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]]
492
Kilight Cao 139.1 493
Kilight Cao 138.1 494 == 4.3 How to disable the built-in server ==
Xiaoye 116.1 495
Kilight Cao 138.1 496
497 Use the following commands to start and stop the TTNv3 service:
498
499 (% class="box infomessage" %)
500 (((
501 **# start**
502 systemctl start ttnstack
503
504 **# stop**
505 systemctl stop ttnstack
506
507 **# enable**
508 systemctl enable ttnstack
509
510 **#disable**
511 systemctl disable ttnstack
512 )))
513
514 Use the following commands to start and stop the Node-Red service:
515
516 (% class="box infomessage" %)
517 (((
518 **# start**
519 systemctl start nodered
520
521 **# stop**
522 systemctl stop nodered
523
524 **# enable**
525 systemctl enable nodered
526
527 **#disable**
528 systemctl disable nodered
529 )))
530
Kilight Cao 139.1 531
Kilight Cao 141.1 532 == 4.4 How to use ChirpStack on LPS8-V2 ==
Kilight Cao 138.1 533
534
535 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:
536
Kilight Cao 152.1 537 [[ChirpStack open-source LoRaWAN® Network Server documentation>>https://www.chirpstack.io/docs/getting-started/docker.html]]
538
Kilight Cao 151.1 539 [[image:image-20230222094908-1.png||height="133" width="798"]]
Kilight Cao 138.1 540
Kilight Cao 140.1 541
Kilight Cao 160.1 542 = 5. How the LPS8-V2 connects to Chirpstack via gateway-bridge =
Xiaoling 69.6 543
Kilight Cao 74.1 544
Kilight Cao 160.1 545
546 = 6. How users can access LPS8-V2 using serial USB =
547
548
Kilight Cao 141.1 549 (% style="color:blue" %)**USB TTL to LPS8-V2  Connection:**
Kilight Cao 74.1 550
Xiaoling 109.3 551
Kilight Cao 141.1 552 Port 1 of the UART on the LPS8-V2 is GND
Kilight Cao 74.1 553
Kilight Cao 79.1 554 (% class="box infomessage" %)
555 (((
Xiaoling 107.2 556 **TXD  <~-~--> UART RXD (Gray line)**
Kilight Cao 74.1 557
Xiaoling 107.2 558 **RXD  <~-~--> UART TXD (White line)**
Kilight Cao 74.1 559
Xiaoling 107.2 560 **GND <~-~--> GND (Black line)**
Kilight Cao 79.1 561 )))
Kilight Cao 74.1 562
563
Kilight Cao 77.1 564 **LPS8v2 UART connection photo**
565
566 [[image:image-20220804163015-1.png||height="621" width="466"]]
567
568
Kilight Cao 78.1 569 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 570
Xiaoling 83.4 571
Kilight Cao 77.1 572 [[image:image-20220804164928-3.png||height="320" width="332"]]
573
Xiaoling 83.4 574
Kilight Cao 77.1 575 [[image:image-20220804164747-2.png||height="622" width="594"]]
576
Xiaoling 83.4 577
Kilight Cao 160.1 578 = 7. Use the helium gateway-rs as the Data-only Hotspot =
Xiaoling 107.2 579
Xiaoling 83.4 580
Xiaoye 102.1 581 == **Step 1: Configure Frequency Band** ==
582
583
584 //Each country has a requirement for frequency region. Choose the right one for your area.//
585
586 [[image:image-20220905164308-1.png]]
587
588
Xiaoling 107.2 589
Xiaoling 103.5 590 == **Step 2: Configure the forward address** ==
Xiaoye 102.1 591
592
593 **Select one of the servers to configure.**
594
595 **For example:**
596
597 [[image:image-20220905164847-2.png]]
598
599
Xiaoling 107.2 600
Xiaoling 103.5 601 == **Step 3: Download and Install the Helium-gateway-rs** ==
Xiaoye 102.1 602
603
604 **Access the gateway CLI via SSH.**
605
606 [[image:image-20220905165222-3.png]]
607
608
609 **Download gateway-rs.**
610
611 [[image:image-20220905165715-5.png]]
612
613 (% class="box infomessage" %)
614 (((
Xiaoling 103.7 615 **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 616 )))
617
618
619 **Install gateway-rs.**
620
621 [[image:image-20220905165917-7.png]]
622
623 (% class="box infomessage" %)
624 (((
Xiaoling 103.7 625 **Command: dpkg -i helium-gateway-v1.0.0-alpha.31-raspi234.deb **
Xiaoye 102.1 626 )))
627
628
629 **Modify configuration.**
630
631
632 [[image:image-20220905173847-12.png]]
633
634
635 (% class="box infomessage" %)
636 (((
Xiaoling 103.7 637 **region=<Enter regional parameters> \
Xiaoye 102.1 638 && sed -i '/region/d' /etc/helium_gateway/settings.toml && sed -i "1 i\region = \"$region\"" /etc/helium_gateway/settings.toml \
Xiaoling 103.7 639 && sed -i '/region/d' /etc/helium_gateway/default.toml && sed -i "22 i\region = \"$region\"" /etc/helium_gateway/default.toml**
Xiaoye 102.1 640 )))
641
642
643 **Restart the helium_gateway**
644
645 [[image:image-20220905170920-9.png]]
646
647
648 (% class="box infomessage" %)
649 (((
Xiaoling 103.7 650 **systemctl restart helium_gateway**
Xiaoye 102.1 651 )))
652
653
Xiaoling 103.7 654 **Check the helium_gateway Log:**
Xiaoye 102.1 655
656 [[image:image-20220905173952-13.png]]
657
658
659 (% class="box infomessage" %)
660 (((
Xiaoling 103.7 661 **journalctl -u helium_gateway -f**
Xiaoye 102.1 662 )))
663
664
Xiaoling 103.8 665 (% style="color:red" %)**Note: if your device is not finished the onboarding, which is unable to connect to the Helium console.**
Xiaoye 102.1 666
667 where the helium gateway log is shown:
668
669 [[image:image-20220905174534-14.png]]
670
671
Xiaoling 103.8 672 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 673
674
Kilight Cao 160.1 675 = 8. OTA System Update =
Xiaoling 107.2 676
Kilight Cao 23.1 677
Kilight Cao 117.1 678 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 679
Xiaoye 112.1 680
Kilight Cao 160.1 681 = 9. Trouble Shooting =
Xiaoye 112.1 682
Kilight Cao 160.1 683 == 9.1  I can't log in to the built-in Server TTN Stack which shows '**Login failed**'. ==
Kilight Cao 117.1 684
685
Xiaoye 113.1 686 [[image:image-20220920135918-1.png]]
Xiaoye 112.1 687
Xiaoling 113.2 688
Xiaoye 112.1 689 This is caused by the inconsistency between the built-in TTN-Stack domain configuration and your login URL.
690
691 By default, ttn-stack uses the gateway's domain name for URL resolution, but in some networks, they prefer to resolve IP-v4 addresses.
692
693
694 So you can change the domain name of the TTN-Stack configuration to the IPv4 address.
695
696 **Click the update URL button to configure the URL with the current eth port address.**
697
698 [[image:image-20220920141936-2.png]]
699
700
Kilight Cao 160.1 701 = (% style="color:inherit; font-family:inherit; font-size:29px" %)10. Supports(%%) =
Xiaoye 112.1 702
703
Kilight Cao 14.1 704 (((
705 **//If you are experiencing issues and can't solve them, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]].//**
706 )))
Xiaoye 8.1 707
Kilight Cao 14.1 708 (((
709 **//With your question as detailed as possible. We will reply and help you in the shortest.//**
Kilight Cao 15.1 710
Edwin Chen 50.1 711
Kilight Cao 160.1 712 = 11. Reference =
Xiaoling 69.6 713
Edwin Chen 50.1 714
Edwin Chen 52.1 715 * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]].
Edwin Chen 80.1 716 * [[Advance OS Reference Guide for LPS8v2>>doc:Main.Armbian OS instruction.WebHome]].
Edwin Chen 50.1 717
Kilight Cao 15.1 718
Kilight Cao 14.1 719 )))
Xiaoye 8.1 720
Kilight Cao 160.1 721 = 12. Order Info =
Xiaoye 8.1 722
Xiaoling 69.6 723
Edwin Chen 42.1 724 (% style="color:#0000ff" %)**LPS8v2-XXX-YYY**
Xiaoye 8.1 725
Kilight Cao 14.1 726 (% style="color:#0000ff" %)**XXX**(% style="color:black" %): Frequency Band
Xiaoye 8.1 727
Xiaoling 69.6 728 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
729 * (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
730 * (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
731 * (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
732 * (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
733 * (% style="color:red" %)**IN865**(%%):  LoRaWAN IN865 band
Xiaoye 8.1 734
Edwin Chen 42.1 735 (% style="color:#0000ff" %)**YYY**(% style="color:black" %): 4G Cellular Option
736
Xiaoling 69.6 737 * (% style="color:red" %)**E**(%%):  EMEA, Korea, Thailand, India.
738 * (% style="color:red" %)**A**(%%):  North America/ Rogers/AT&T/T-Mobile.
739 * (% style="color:red" %)**AU**(%%): Latin America, New Zeland, Taiwan
740 * (% style="color:red" %)**J**(%%):  Japan, DOCOMO/SoftBank/ KDDI
Edwin Chen 42.1 741
742 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
743
744
Kilight Cao 160.1 745 = 13. Manufacturer Info =
Xiaoling 69.6 746
Xiaoye 8.1 747
748 **Shenzhen Dragino Technology Development co. LTD**
749
750 Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad
751
752 LongCheng Street, LongGang District ; Shenzhen 518116,China
753
754
Kilight Cao 160.1 755 = 14. FCC Warning =
Xiaoling 69.6 756
Xiaoye 8.1 757
Xiaoling 69.12 758 (((
Xiaoye 8.1 759 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 760 )))
Xiaoye 8.1 761
Xiaoling 69.12 762 (((
Xiaoye 8.1 763 ~-~- Reorient or relocate the receiving antenna.
Xiaoling 69.12 764 )))
Xiaoye 8.1 765
Xiaoling 69.12 766 (((
Xiaoye 8.1 767 ~-~- Increase the separation between the equipment and receiver.
Xiaoling 69.12 768 )))
Xiaoye 8.1 769
Xiaoling 69.12 770 (((
Xiaoye 8.1 771 ~-~- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
Xiaoling 69.12 772 )))
Xiaoye 8.1 773
Xiaoling 69.12 774 (((
Xiaoye 8.1 775 ~-~- Consult the dealer or an experienced radio/TV technician for help.
Xiaoling 69.12 776 )))
Xiaoye 8.1 777
778
Xiaoling 69.12 779 (((
Xiaoye 8.1 780 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 781 )))
Xiaoye 8.1 782
783
Xiaoling 69.12 784 (((
Xiaoye 8.1 785 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 786
787
Xiaoye 8.1 788 )))
Xiaoling 69.12 789 )))