Connect HT-M01S (Rev. 2.0) to LoRa Server

[简体中文]

Summary

This article aims to describe how to connect HT-M01S (Rev. 2.0) Gateway to a LoRa server, such as TTN/TTS, ChirpStack, which facilitates secondary development and rapid deployment of LoRa devices.

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

 

Connect to TTN/TTS

Register a LoRa gateway in TTN/TTS

Select a cluster in the TTN console page to start adding devices and gateways. Or start adding devices and gateways in TTS console.

Create a new gateway.

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).

  • Gateway ID – Generated by default.

  • Gateway name – Filled in by the user, can be filled in arbitrarily.

  • Frequency Plan – Matches the LoRa band configuration in HT-M01S.

Configure the Gateway

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 (Rev. 2.0) Quick Start document.

Check the server address in the gateway details.

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 (Rev. 2.0) Quick Start document.

View gateway status, it is runing: