Connect to LoRaWAN Server
This topic describes how to upload the data of HRU-3601 to the LoRa server.
Register and activate the LoRaWAN gateway
Before that, you have to make sure that you have a LoRaWAN gateway running on the server. If you do not have a LoRaWAN gateway or do not know how to register, you can refer to the Heltec LoRa gateway related instructions, you can choose one of them:
Register and activate HRU-3601
Get configuration information
Go to the configuration page to get the configuration information for your device, which you’ll learn about in the previous topic: HRU-3601 Quickstart
Modify, submit, and save the information on this page to your needs, and they will be used for subsequent registration.
Connect to LoRa server
TTS and SnapEmu are taken as examples here.
Connect to TTN/TTS
Go to the server page and click Application
->Add Application
.
Create an Application. You can fill in any information you want. This is a description of your project.
Click Register end device
Register a new device in TTN or TTS “Applications”,choose Enter end device specifics manually
.
Select the frequency plan, and fill in the corresponding AppEUI, DevEUi, AppKey, and register the device.
Tip
The joinEui here is the AppEui on the configuration page, which is “0000000000000000”.
After registration is complete, if all is well, you will see the device active.
Click payload formatters
, select Custom Javascript formatter
, and enter decoding at the position in the figure. Download the decoder here: HRU-3601 Related Resources.
Click Save change
and move the mouse to the uplink data output to view the data uploaded by HRU-3601.
Connect to SnapEmu
Log into your account on platform.snapemu.com, click device
, CREATE A NEW DEVICE
.
If you’re using an APP,click +
,select input
.
Fill in the device information.
After registration is complete, if all is well, you will see the device active.
Important Hints
Please double check the following two things:
The LoRaWAN parameters is the same as server!
The listening frequency of your LoRa Gateway is the same as LoRa node’s sending frequency. We strictly follow LoRaWAN™ 1.0.2 Regional Parameters rB;