Version 151.1 by Kilight Cao on 2023/02/22 09:49

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