Skip to content

Commit

Permalink
doc: Update Dragino LPS8 to LPS8N (#1194)
Browse files Browse the repository at this point in the history
* doc: Update to LPS8N

* doc: Fix a few minor issues
  • Loading branch information
pradeeka7 authored Oct 13, 2023
1 parent cb5db5d commit 4097e70
Show file tree
Hide file tree
Showing 15 changed files with 40 additions and 32 deletions.
72 changes: 40 additions & 32 deletions doc/content/gateways/models/dragino-lps8/_index.md
Original file line number Diff line number Diff line change
@@ -1,65 +1,73 @@
---
title: "Dragino LPS8"
title: "Dragino LPS8N"
description: ""
weight:
aliases: [/gateways/dragino-lps8]
---

{{< figure src="dragino-lps8.jpg" alt="Dragino LPS8" class="float plain" >}}
{{< figure src="dragino-lps8n.jpg" alt="Dragino LPS8N" class="float plain" >}}

The **Dragino LPS8** is a LoRaWAN® indoor gateway based on the OpenWrt Linux system. The hardware includes an SX1308 LoRa concentrator that provides 10 programmable parallel demodulation paths. The gateway has an ethernet and WiFi backhaul and supports EU868, IN865, US915, AU915, AS923, and KR920 ISM bands.
The [Dragino LPS8N](https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html/) is a LoRaWAN® indoor gateway based on the open-source OpenWrt Linux operating system. Its hardware is built around the SX1302 LoRa Core™ Digital Baseband Chip and the SX1250 LoRa Core™ Multi-band Sub-GHz RF Front End. The LPS8N provides ten programmable parallel demodulation paths. The gateway can be connected to the internet using Ethernet, WiFi, or optional Cellular (3G/4G) connectivity. It supports the EU868, IN865, US915, AU915, AS923, and KR920 frequency bands.

<!--more-->

This page guides you on how to connect the Dragino LPS8 to {{% tts %}}.
This page guides you on how to configure the Dragino LPS8N for adding on {{% tts %}}.

## Prerequisites

1. A user account on {{% tts %}} with user rights to add gateways.
2. An LPS8 connected to the internet.
3. A computer on the same network as the LPS8.
4. The latest version of firmware running on the Dragino LPS8 (read the Dragino LPS8 [user manual](https://www.dragino.com/downloads/downloads/LoRa_Gateway/LPS8/LPS8_LoRaWAN_Gateway_User_Manual_v1.2.0.pdf) for instructions on firmware upgrade).
2. A computer on the same network as the LPS8N.
3. The latest version of firmware running on the Dragino LPS8N. Read the Dragino LPS8N [user manual](http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/#H8.A0UpgradeLinuxFirmware) for instructions on firmware upgrade.

## Register the Gateway on {{% tts %}}

Create a gateway by following [the instructions]({{< ref "/gateways/concepts/adding-gateways" >}}). The Gateway EUI can be derived from the WiFi MAC address that can be found on the back of the gateway enclosure. To get the 8 byte Gateway EUI insert `4150` at the end of the WiFi MAC address.

If the WiFi MAC address is `A8:A8:41:A8:CE:54` then the Gateway EUI is `A8 A8 41 A8 CE 54 41 50`.
## Configuring the LPS8N

{{< figure src="add-gateway.png" alt="Dragino LPS8 LoRaWAN config" >}}
Navigate to the Web UI using one of the following addresses with a web browser:

## Configuring the LPS8
- If you are connecting through the Wi-Fi access point generated by the LPS8N, use the default IP address `10.130.1.1`.
- If your LPS8N is connected to a router via Ethernet or Wi-Fi, use the address `http://IP_ADDRESS` or `http://IP_ADDRESS:8000`. Replace `IP_ADDRESS` with the IP address assigned to the LPS8N by the router.

Enter the IP address and port number of your gateway in the browser (the default port number is 8000, E.g. `192.168.1.6.:8000`)
When prompted for the sign-in, enter the username `root` and the password `dragino`.

{{< figure src="lps8-step-1.png" alt="Step 1" >}}
{{< figure src="sign-in-lps8n.png" alt="Sign In" >}}

In the prompt box, type your username and password and then click **OK**.
After signing in, you will be directed to the LPS8N's Web UI.

{{< note >}} The default username is `root` and the password is `dragino`. {{</ note >}}
{{< figure src="web-ui-home-lps8n.png" alt="Web UI hime" >}}

{{< figure src="lps8-step-2.png" alt="Step 2" class="plain" >}}
Before proceeding with the next step, we assume you have set up internet access for the LPS8N using one of the following methods:

Once you logged in, you will navigate to the home page of the configuration portal that is a web-based GUI.
- Using the WAN port of the LPS8N
- As a WiFi client
- Using the built-in 4G modem

{{< figure src="lps8-step-3.png" alt="Step 3" >}}
On the Web UI, navigate to **LoRaWAN > LoRaWAN** in the menu.

On the portal page, on the top menu, select **LoRaWAN > LoRaWAN**.
On the LoRaWAN Configuration page, configure the following settings:

{{< figure src="lps8-step-4.png" alt="Step 4" >}}
1. **Service Provider**: `The Things Network V3`
2. **Server Address**: `eu1.cloud.thethings.network`
3. **Gateway ID**: This is the default Gateway EUI for LPS8N. You can keep it as is.
4. **Uplink Port**: `1700`
5. **Downlink Port**: `1700`

Edit the server settings.

1. **LoRaWAN Service Provider**: Choose **Custom** from the drop-down list.
2. **Server Address**: Provide your LoRaWAN Gateway Server address. You can find it on {{% tts %}} **Gateway Overview** page.
3. **Gateway ID**: This is the Gateway EUI. Make sure that the Gateway EUI already appeared in the text box is match with the one you have derived from the WiFi MAC address in the previous section.
4. **Server Port Upstream**: Upstream port of the Gateway Server, typically 1700.
5. **Server Port Downstream**: Downstream port of the Gateway Server, typically 1700.
Copy the **Gateway ID** which you will need in the next step.
{{< note "The LPS8N Web UI refers to Gateway EUI as the Gateway ID, which is the Gateway EUI for {{% tts %}}." />}}

Select **Save & Apply**.

{{< figure src="lps8-step-5.png" alt="Step 5" >}}
{{< figure src="lorawan-config.png" alt="LoRaWAN Configuration" >}}

## Adding LPS8N to {{% tts %}}

You can add the LPS8N gateway to {{% tts %}} by following the instructions on the [ Adding Gateways]({{< ref "/gateways/concepts/adding-gateways" >}}) page. The **Gateway EUI** should be the **Gateway ID** that you have copied from the LPS8N's Web UI.

{{< figure src="add-gateway.png" alt="Add Gateway" >}}

Finally, test your connection by going to the LPS8N's **Overview** page. You should see the gateway status changed to **connected** (indicated by a blue dot) or observe the frequently updating **Last seen** time. Also, see the **Live data** section for various gateway related activities.

{{< figure src="gateway-add-ok.png" alt="Gateway add OK" >}}

Finally, test your connection by going to the gateway’s **Overview** page. You can see the gateway status is changed as connected (with a blue dot) or the frequently updating ‘Last seen’ time.
You can also verify the presence of a green tick on the LoRa icon in the Web UI.

{{< figure src="gateway-add-ok.png" alt="Dragino LPS8 LoRaWAN config" >}}
{{< figure src="lorawan-ok.png" alt="LoRaWAN OK" >}}
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4097e70

Please sign in to comment.