Connect HT-M00S to LoRa Server

[简体中文]

Summary

This article aims to describe how to connect HT-M00S 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-M00S is running well . If not, please refer to this HT-M00S_Quick Start document.

Connect to TTN/TTS

Connect to Chirpstack

Connect to SnapEmu

 

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-M00S information as shown below and complete the addition.

  • Gateway EUI – The unique ID of HT-M00S gateway, view from configuration page.

  • 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-M00S.

Configure the Gateway

Configuring the gateway, please refer to the HT-M00S document.

Check the server address in the gateway details.

View gateway status, it is running:

 

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-M00S information as shown below and complete the addition.

  • Gateway ID – The unique ID of HT-M00S gateway, view from configuration page.

Connect to ChirpStack server

Configure M00S, note that the parameters match the registration information on the server, please refer to the HT-M00S document.

View gateway status, it is running:

 

Connect to SnapEmu

Register through SnapEmu APP

Search the App Store for SnapEmu, download and install it.

Open the Scan option to scan the Heltec device QR code.

Tip

If the device does not have a QR code, click ‘Input’ for manual registration. For product information you can refer to the corresponding ‘Quick Start’.

Fill in the group and add the device.

Registration is completed and the device display is activated.

 

Manual registration through the SnapEmu IoT Platform webpage

Register and log in to SnapEmu: SnapEmu Web Page link.

Click where shown below.

Click CREATE A NEW DEVICE.

Go to the device registration page.

  • Name and Description can be filled in freely, and they will become the name and remark of the device displayed on the platform.

  • Group denotes the grouping of the device on SnapEmu.

  • Device type This device is a gateway, so choose “LoRaGate”.

  • Region Match the frequency band of the gateway.

  • GatewayEUI Gateway ID, through device configuration page or scan the device QR code to obtain.

After filling in the information, click Submit and refresh the page to see the device.