Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dragino LPS8N Basics Station docs #1340

Merged
merged 4 commits into from
Jun 9, 2024

Conversation

LDannijs
Copy link
Contributor

Summary

Add documentation for setting up the Dragino LPS8N with Basic Station
Closes #1332

Screenshots

image

Changes

  • Add LBS docs for LPS8N

Notes for Reviewers

...

Checklist

  • Scope: The referenced issue is addressed, there are no unrelated changes.
  • Run Locally: Verified that the docs build using make server, posted screenshots, verified external links. Test with HUGO_PARAMS_SEARCH_ENABLED=true if style changes will affect the search bar.
  • New Features Marked: Documentation for new features is marked using the new-in-version shortcode, according to the guidelines in CONTRIBUTING.
  • Style Guidelines: Documentation obeys style guidelines in CONTRIBUTING.
  • Commits: Commit messages follow guidelines in CONTRIBUTING, there are no fixup commits left.


This section contains instructions for connecting the Dragino LPS8N LoRaWAN® gateway to {{% tts %}} using [{{% lbs %}}]({{< ref "/gateways/concepts/lora-basics-station" >}}).

If you have not yet registered your gateway, follow [Registering Gateway](#registering-gateway)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is too many repetitive info in the whole page. You should restructure the doc such as:

  • register the gateway, check the boxes for API keys ...
  • if you have already registered your gateway and forgot to check the boxes, or you've been using UDP and want to switch to LBS, create API keys manually ...
  • configure the gateway

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also use links from here https://www.thethingsindustries.com/docs/gateways/concepts/lora-basics-station/ to compress this even more. For example, for creating keys part you can say just follow this section https://www.thethingsindustries.com/docs/gateways/concepts/lora-basics-station/cups/#create-separate-cups-and-lns-api-keys


## Registering Gateway

In the The Things Stack console, go to the 'Gateways' tab and click the '**Register Gateway**' button to register the gateway and make sure to select these three settings below:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In the The Things Stack console, go to the 'Gateways' tab and click the '**Register Gateway**' button to register the gateway and make sure to select these three settings below:
In the {{% tts %}} console, go to the **Gateways** tab and click the **Register Gateway** button to register the gateway and make sure to select these three settings below:


{{< figure src="../register-lbs.png" alt="" width="80%">}}

When the keys popup shows after registering, download the keys, and click "I have downloaded the keys".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When the keys popup shows after registering, download the keys, and click "I have downloaded the keys".
When the keys popup shows after registering, download the keys, and click **I have downloaded the keys**.

On this page, configure the following settings:

- **Service Provider**: `The Things Network -- Basic Station`
- **CUPS Server URI**: your server address with :443 (e.g. `https://eu1.cloud.thethings.network:443`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **CUPS Server URI**: your server address with :443 (e.g. `https://eu1.cloud.thethings.network:443`)
- **CUPS Server URI**: {{% tts %}} server address with port 443 (e.g. `https://eu1.cloud.thethings.network:443`)

- **Service Provider**: `The Things Network -- Basic Station`
- **CUPS Server URI**: your server address with :443 (e.g. `https://eu1.cloud.thethings.network:443`)
- **CUPS Authorization Key**: The CUPS key you just downloaded.
- **LNS Authorization Key**: the LNS key you just downloaded.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **LNS Authorization Key**: the LNS key you just downloaded.
- **LNS Authorization Key**: The LNS key you just downloaded.

- **CUPS Server URI**: your server address with :443 (e.g. `https://eu1.cloud.thethings.network:443`)
- **CUPS Authorization Key**: The CUPS key you just downloaded.
- **LNS Authorization Key**: the LNS key you just downloaded.
- **CUPS Certificate Authority**: Install a certificate by clicking on the `DEFAULT-CERTIFICATE` button.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **CUPS Certificate Authority**: Install a certificate by clicking on the `DEFAULT-CERTIFICATE` button.
- **CUPS Certificate Authority**: Install a certificate by clicking on the `DEFAULT_CERTIFICATE` button.

Comment on lines 10 to 14
Before proceeding with the next step, we assume you have set up internet access for the LPS8N using one of the following methods:

- Using the WAN port of the LPS8N
- As a WiFi client
- Using the built-in 4G modem
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this seems to be a prerequisite for both LBS and UDP modes, put this in the main file as part of prerequisites

On the LoRaWAN Configuration page, configure the following settings:

1. **Service Provider**: `The Things Network V3`
2. **Server Address**: `eu1.cloud.thethings.network`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it always this exact server address?

5. **Downlink Port**: `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 %}}." />}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{{< note "The LPS8N Web UI refers to Gateway EUI as the Gateway ID, which is the Gateway EUI for {{% tts %}}." />}}
{{< note "The LPS8N Gateway ID is equivalent to {{% tts %}} Gateway EUI." />}}


## 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
You can add the LPS8N gateway to {{% tts %}} by following the instructions on the [ Adding Gateways]({{< ref "/gateways/concepts/adding-gateways" >}}) page. Use the **Gateway ID** value that you previously copied for the **Gateway EUI** field.

Comment on lines +43 to +45
You can also verify the presence of a green tick on the LoRa icon in the Web UI.

{{< figure src="../lorawan-ok.png" alt="LoRaWAN OK" >}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this not available for connecting via LBS or?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't know for sure, but i would guess so. I'll add it

@KrishnaIyer KrishnaIyer modified the milestones: May 2024, Jun 2024 Jun 6, 2024
@nejraselimovic nejraselimovic merged commit 5b8aace into TheThingsIndustries:master Jun 9, 2024
1 check passed
@LDannijs LDannijs deleted the lps8 branch June 11, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document connecting the Dragino LPS8 gateway in LoRa Basics Station mode to The Things Stack
3 participants