Getting Started Concepts The Things Stack Cloud The Things Stack Enterprise Integrations API Hardware
Get The Things Stack

Hardware

    Overview
  • Devices
  • Gateways
    • Concepts
    • Models
      • Building a gateway with Raspberry Pi and IC880A
      • Browan Minihub Pro
      • Cisco IXM Wireless Gateway for LoRaWAN
      • CloudGate
      • COTX
      • Dragino LPS8N
      • Kerlink Wirnet iStation
      • Kerlink Wirnet Station
      • Laird Sentrius™ RG1xx LoRaWAN Gateway
      • MikroTik KNOT
      • MikroTik LtAP
      • MikroTik Routerboard wAP LoRa8 kit
      • Milesight UG56 LoRaWAN Gateway
      • Milesight UG65 LoRaWAN Gateway
      • Milesight UG67 LoRaWAN Gateway
      • Milesight UG85 LoRaWAN Gateway
      • Milesight UG87 LoRaWAN Gateway
      • MOKOSMART MKGW2-LW LoRaWAN® Gateway
      • MultiTech Conduit AEP
      • MultiTech Conduit mLinux
      • NASys LoRaWAN Outdoor Gateway
      • Peplink Balance 20X LoRaWAN (with FlexModule Mini)
      • RAK7240 WisGate Edge Prime
      • Tektelic Kona Micro IoT LoRaWAN Gateway
      • The Things Indoor Gateway
      • The Things Indoor Gateway Pro
      • The Things Kickstarter Gateway
      • The Things Outdoor Gateway
      • Wifx L1
      • Wifx LORIX One
    • Troubleshooting Gateways
  • Works with The Things Stack

Peplink Balance 20X LoRaWAN (with FlexModule Mini)

Peplink’s Balance 20X is an SD-WAN branch router with an option to add LoRaWAN® gateway functionality using a LoRaWAN FlexModule Mini.

Balance 20X with LoRaWAN FlexModule Mini

The Balance 20X delivers excellent routing throughput with an embedded cellular modem, making it an easy-to-use, all-in-one router for indoor deployments. Its installation and configuration are made simple through a web-based user-friendly interface.

The gateway supports both LoRa Basics™ Station and the Semtech UDP Packet Forwarder. Keep in mind that using Lora Basics™ Station is preferred.

For scalable deployments, Peplink’s in-house device management system, InControl can also be used.

Prerequisites

  1. The Things Stack account with user rights to add gateways.
  2. A Balance 20X with the LoRaWAN FlexModule Mini.
  3. A computer connected to the Balance 20X for configuration.
Note:
Balance 20X must be running 8.3.0 or newer firmware version. Please check Peplink’s download page to download the latest firmware version.

Registration

Create a gateway by following the instructions for Adding Gateways.

In the registration process, you will need the gateway’s EUI. The Peplink 20X’s EUI can be found in several ways:

  1. On the LoRaWAN FlexModule Mini label.
  2. On the LoRaWAN FlexModule Mini packing box.
  3. Via B20X web-based configuration page, under LoRaWAN section on the Advanced tab. See image below for a reference.
Finding EUI on the Balance 20X WEB configuration page

Gateway Setup

This section demonstrates how to set up the Peplink Balance 20X using LoRa Basics™ Station.

On your Peplink router’s web admin page, go to the Advanced tab along the top bar.

Find LoRaWAN settings on the left and tick the Enable checkbox.

Download a common root SSL certificate used in The Things Stack. For this guide, we used ISRG Root X1 certificate.

Now configure the following settings:

  • Protocol: Basics™ Station
  • Server: select Configuration and Update Server (CUPS) and enter the address of your The Things Stack deployment
  • Server Certificate (pem encoded): paste the ISRG Root X1 certificate you previously downloaded
  • Gateway Authorization: select Token and paste your gateway’s API key (check the Create Gateway API Key section)
  • Network Mode: Public
  • Antenna Gain: enter antenna Gain (2dBi for Peplink Balance 20X gateway)
  • Cable Loss: enter cable loss if there is a cable between antenna and LoRa module
Balance 20X LoRaWAN Gateway configuration example

Click Save and Apply Changes.

Monitor Event Log

For debugging purposes go to Dashboard tab, then click on the Status button in the LoRaWAN section. This will open LoRaWAN Status page.

Next to the Event log press Click to show. This will open the LoRaWAN Event Log page. See images below for reference.

Viewing LoRaWAN statistics on Balance 20X
Viewing LoRaWAN Event log messages on Balance 20X
← NASys LoRaWAN Outdoor Gateway RAK7240 WisGate Edge Prime →

On this page

  • Prerequisites
  • Registration
  • Gateway Setup
  • Monitor Event Log

Sections

Getting Started

Concepts

The Things Stack Cloud

The Things Stack Enterprise

Integrations

API

Hardware

Sitemap

View our Sitemap

Contributing

GitHub

About Us

The Things Industries