We support integrations for various LoRaWAN Network Server.
Table of Contents |
---|
Overview
Receive data from a LoRaWAN network server
- Create a Bearer Token or BasicAuth credentials in the Lobaro Platform with the role
network-server
to allow write access for device data. - Configure your network server to send data to the corresponding endpoint (see list below) using the token (e.g.
Bearer eyJhbGciOiJ...
) or BasicAuth credentials in theAuthorization
header field.
Please consult the documentation of your network server for further instructions.
Platform REST Endpoints for network server integrations:
- Chirpstack:
- https://backend.lobaro.com/api/chirpstack/event
- Old Chirpstack Versions: https://backend.lobaro.com/api/chirpstack/uplink (deprecated:
/api/loraserver/uplink
)
- Element-IoT: https://backend.lobaro.com/api/element-iot/data
- Actility: https://backend.lobaro.com/api/actility/data
- Everynet: https://backend.lobaro.com/api/everynet/data
- TTN: https://backend.lobaro.com/api/ttn/data (Platform Version > 1.0.6)
- Wanesy: https://backend.lobaro.com/api/wanesy (/dataUp & /dataDownEvent) (Platform Version > 1.7.0)
- Authenticate using Basic Auth, since Header length is limited to 255 characters in Wanesy!
- Loriot: https://backend.lobaro.com/api/loriot/data (Platform Version > 1.8.7)
We also support other network servers on request, e.g. Firefly, ... Just ask!
Create a Platform Token
Most integrations require a Bearer Token to authenticate requests between the LNS and the Lobaro Platform.
Tokens can be generated on "Lobaro Platform → Integrations → REST" and need the role "network-server"
Access Tokens
All API calls must be authenticated with an access token. Access tokens can be managed on the REST Integration page.
Each token has a list of roles assigned to it.
Token roles:
- network-server: Allows to write device data. Required for LoRaWAN Network Server Integrations.
Add the Token into the HTTP request Header:
- Field:
Authorization
- Value:
Bearer eyJhbGciOiJIU...
Copy the whole generated token:
...
Create or open your application and add a cutsom Webhook integration:
Configure the Webhook:
- Webhook ID: custom string to identify the Webhook
- Webhook format: JSON
- Base URL: https://platform.lobaro.com/api/ttn/data
- Additional headers:
- Authorization
- Bearer eyJhbG... (from Lobaro Platform → Integrations → REST) with role "network-server" (see above)
- Enabled messages: Enable all types, no custom paths are needed.
...