Connect HT-M01S to LoRa Server

[简体中文]

Summary

This article aims to describe how to connect HT-M01S Gateway to a LoRa server, such as TTN, ChirpStack, Heltec Cloud Server, which facilitates secondary development and rapid deployment of LoRa devices.

Before all operation, make sure the HT-M01 is runing well . If not, please refer to this HT-M01S Quick Start document.

 

Connect to TTN

Register a LoRa gateway in TTN

Create and active an account in TTN. Select Gateway in the console page.

Fill in the HT-M01S information as shown below and complete the addition.

  • Gateway EUI – The unique ID of HT-M01S gateway, view from the display screen of the HT-M01S or view through the serial port (the gateway ID will be printed through the serial port when the HT-M01S starts);

  • I’m using the legacy packet forwarder – Must select this;

  • Frequency Plan – Must matach the LoRa band configuration in HT-M01S;

  • Router – Must use the default router allocated by TTN system.

Tip

That four points are the key to success connection with TTN.

Connect to TTN

In the HT-M01S gateway, the server address, port, frequency band, and channel need to be configured. The server address, port, frequency band and channel are configured in the “HT-M01S Config” interface, please refer to the HT-M01S Quick Start document.

The TTN’s router addresses for different region:

https://www.thethingsnetwork.org/docs/gateways/packet-forwarder/semtech-udp.html#router-addresses

View gateway status, it is runing:

 

Connect to ChirpStack server

ChirpStack is the most popular LoRa server open source project, widely used in many fields, and also the best choise for a private LoRa server.

ChirpStack Gateway Bridge

One thing need attention! the ChirpStack need a special service named Gateway Bridge, which converts LoRa® Packet Forwarder protocols into a ChirpStack Network Server common data-format(JSON and Protobuf).

the Gateway Bridge service can running on the Raspberry Pi or the ChirpStack server.

Install ChirpStack Gateway Bridge: https://www.chirpstack.io/gateway-bridge/install/debian/

Register LoRa Gateway in ChirpStack

Fill in the HT-M01S information as shown below and complete the addition.

  • Gateway ID – The unique ID of HT-M01S gateway, view from the display screen of the HT-M01S or view through the serial port (the gateway ID will be printed through the serial port when the HT-M01S starts).

Connect to ChirpStack server

In the HT-M01S gateway, the server address, port, frequency band, and channel need to be configured. The server address, port, frequency band and channel are configured in the “HT-M01S Config” interface, please refer to the HT-M01S Quick Start document.

View gateway status, it is runing: