Connect LoRaWAN sensors
Send LoRaWAN uplinks to FreeMaint from The Things Stack, ChirpStack or a Milesight gateway, and let FreeMaint decode the certified sensors.
LoRaWAN sensors run on batteries for years and reach far through walls. Your network server — The Things Stack, ChirpStack or the server built into a Milesight gateway — forwards each uplink to FreeMaint over HTTP. For the Milesight CT101 and EM300-TH, FreeMaint decodes the payload itself.
Choose your source
The Things Stack
The Things Network or The Things Industries: add a custom webhook to your application.
ChirpStack
Your own LoRaWAN network server: add an HTTP integration to your application.
Milesight gateway
UG65, UG56 and other gateways with the built-in network server: add an HTTP data transmission.
The Things Stack
- In Connected devices → Integrations, click Connect a device, choose The Things Stack (LoRaWAN) and create the connection.
- In The Things Stack console, open your application → Integrations → Webhooks → Add webhook → Custom webhook.
- Choose the JSON format and paste the base URL shown by FreeMaint.
- Under Additional headers, add the header shown by FreeMaint (name and value).
- Tick Uplink message and leave its path empty. Do not tick Request authentication: it would replace the FreeMaint header.
ChirpStack
- Create the connection in FreeMaint, choosing ChirpStack (LoRaWAN).
- In ChirpStack, open your application → Integrations → HTTP → Add.
- Keep the JSON payload encoding and paste the event endpoint URL shown by FreeMaint.
- Under Headers, add the header shown by FreeMaint (name and value).
Milesight gateway
- Create the connection in FreeMaint, choosing Milesight gateway.
- In the gateway's web interface, open Network Server → Applications → your application.
- Add an HTTP(S) data transmission and paste the uplink data URL shown by FreeMaint.
- Add the HTTP header shown by FreeMaint (name and value).
- Do not set a payload codec on the gateway: FreeMaint needs the full uplink to decode certified sensors.
Sensors decoded by FreeMaint
Milesight CT101
Current transformer clamped on a cable: current, total current and alarms. Powered by the measured cable, it stops reporting when the current falls below about 1.4 A — a gap in its data can simply mean the machine is off.
Milesight EM300-TH
Temperature and humidity, with battery level. Ideal for cold rooms, server rooms, stores and technical rooms.
Tip
Tip
Related articles
Was this page helpful?