Connect HT-M00S to LoRa Server
概述
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.
连接到 TTN/TTS
在 TTN/TTS 中注册 LoRa 网关
在TTN 控制台页面中选择一个集群以开始添加设备和网关。或者开始在TTS 控制台中添加设备和网关。
创建新网关。
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–默认生成。
Gateway name–用户填写,可任意填写。
Frequency Plan – Matches the LoRa band configuration in HT-M00S.
配置网关
Configuring the gateway, please refer to the HT-M00S document.
检查网关详细信息中的服务器地址。
查看网关状态,正在运行:
连接到 ChirpStack 服务器
ChirpStack是目前最流行的LoRa服务器开源项目,广泛应用于众多领域,也是私有LoRa服务器的最佳选择。
ChirpStack 安装指南:https://www.chirpstack.io/overview/
ChirpStack 支持论坛:https://forum.chirpstack.io/
ChirpStack网关桥接
有一件事需要注意!ChirpStack 需要一个名为 的特殊服务,它将 LoRa® 数据包转发器协议转换为 ChirpStack 网络服务器通用数据格式(JSON 和 Protobuf)。
该服务可以在 Raspberry Pi 或 ChirpStack 服务器上运行。
Install ChirpStack Gateway Bridge: https://www.chirpstack.io/gateway-bridge/install/debian/
在 ChirpStack 中注册 LoRa 网关
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.
连接到 ChirpStack 服务器
Configure M00S, note that the parameters match the registration information on the server, please refer to the HT-M00S document.
查看网关状态,正在运行:
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.
小技巧
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
andDescription
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.