Version 139.1 by Kilight Cao on 2023/01/13 11:42

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