Skip to main content

Getting Started with LoRaWAN and Zafron

In this tutorial we'll walkthrough the steps to get started with LoRaWAN and Zafron using The Things Network.

Requirements

  • A LoRaWAN device
  • The Things Network commercial or sandbox account
  • Zafron account

Creating a Source

  1. Log in to your Zafron account.
  2. Click on Sources in the top header.
  3. Click on Create Source.
  4. Input a name and select TTN as the provider.
  5. Click on Create Source.
  6. Copy the URL provided.

Create Source

Create a Webhook in The Things Network

  1. Log in to your The Things Network account.
  2. Click on Applications in the top header.
  3. Click on your application.
  4. Click on Integrations.
  5. Click on Add Integration.
  6. Select Webhook.
  7. Paste the URL from Zafron.
  8. Select Uplink as the message type.

Create Webhook

Create a Profile

  1. Click on Profiles in the top header.
  2. Click on New Profile.
  3. Input a name and select the source you created.
  4. Click on Create Profile.

Create Prpfile

  1. Navigate to the created profile.
  2. Select a built-in decoder CayenneLPP or create a custom decoder. For this example, we'll use CayenneLPP.

Select Decoder

Create a Device

  1. Click on Devices in the top header.
  2. Click on Add Device.
  3. Select LoRaWAN as device type, input a name, Device EUI and select the profile you created.

Create Device

Send Data

  1. Send data from your LoRaWAN device.
  2. Check the dashboard in Zafron to see the data.

Dashboard