Skip to main content

LNS Registration

Register each Fence Shield on your LoRaWAN Network Server (LNS), then connect it to the Safora platform so devices appear on the dashboard.

This guide assumes you already have a working LoRaWAN network (gateway + LNS). If you are using a Safora-provided gateway, device registration on ChirpStack is handled for you. Use this page only when connecting to your own LNS.

Before you start

ItemWhere to find it
Device EUI, Join EUI, Application KeyPaper included with your shipment, and the shipment email
Safora integration token (HTTP_TOKEN)Paper included with your shipment, and the shipment email

If you are adding your first device, create an application on your LNS, then add each device with its EUIs. Some LNS platforms also require a Safora Fence Shield device profile before adding devices. We've included step-by-step instructions for the most popular LNS options below.

Use this naming pattern for every device:

FieldValue
Device nameFS-{device number} (example: FS-0001)
ActivationOTAA
LoRaWAN version1.0.3

1. Register devices on your LNS

Create the device profile

  1. Select the correct Tenant (top-left).
  2. Go to Tenant → Device Profiles and click Add device profile.
  3. Enter:
FieldValue
NameSafora Fence Shield
RegionEU868
MAC versionLoRaWAN 1.0.3
Regional parameters versionA
ADR algorithmDefault ADR Algorithm (LoRa only)
  1. Leave remaining fields at default and click Submit.

Create the application

  1. Go to Tenant → Applications and click Add application.
  2. Choose a name and click Submit.

Add each device

  1. In the same application, click Add device.
  2. Enter:
FieldValue
NameFS-{device number} (example: FS-0001)
Device EUIFrom shipment paperwork or shipment email
Join EUIFrom shipment paperwork or shipment email
Device profileTenant → Safora Fence Shield
  1. On the next screen, add the Application Key and click Submit.
  2. If you see “Please enter a valid Application key”, ignore it and click Submit again.

Verify connection

After powering on the device, check Events:

  • A join message should appear first.
  • An up message should follow about 20 seconds later.

2. Connect to the Safora platform

Configure your LNS so Fence Shield uplinks reach the Safora platform. Your LNS sends them securely to:

https://api.safora-tech.com/api/uplink

Every integration needs an Authorization header. The token (HTTP_TOKEN) is included on paper with your shipment and in the shipment email.

⚠ Security: Treat your integration token like a password. Do not share it publicly or commit it to version control.

Example header value:

Bearer 7f8a2b3c4d5e6f7a8b9c0d1e2f3a4b5c

  1. Select the correct Tenant.
  2. Go to Tenant → Applications and open your Fence Shield application.
  3. Open the Integrations tab and click + under HTTP.
  4. Enter:
FieldValue
Payload encodingJSON
Event endpoint URL(s)https://api.safora-tech.com/api/uplink
  1. Click Add header:
KeyValue
AuthorizationBearer {HTTP_TOKEN}
  1. Save the integration.

Need payload decoding or remote parameter control? See LoRaWAN Parameters.