Skip to main content

Lesson 1.1 Adding LoRaWAN devices

Adding IoT nodes to Yggio is the foundation.
There are three main types of IoT nodes:

  • Devices: Represent a physical device, normally a sensor or an actuator.
  • Virtual Node: A logical node used in data flow to hold some type of state or indirectly represent a physical device — such as a geofence, a WiFi beacon, a calculated node, or a simulated device.
  • Services: Data coming from external services like OpenWeatherMap or Nordpool (energy price data).

Add a LoRaWAN device

LoRaWAN is the most common device type used in modern long range IoT networks, here is how to add one to the IoT platform.

  1. Go to Devices and press "New Device".
  2. Select Single Mode.
  3. Choose LoRaWAN as the device type and continue.

New-Device-1

New-Device-2

  1. Choose a Connector.
    The available fields may vary depending on the connector.
    You should use OTAA - Over the air activation 99% of the time.

    • Device Profile should preferebly match your sensor's LoRaWAN network version, typically LoRaWAN version 1.0.4. plus regional parameters. If not there might be some join or connectivity issues.
    • DevEUI is your device ID.
    • AppKey is your encryption key.

    You get the LoRaWAN version, DevEUI and AppKey from the device manufacturer. Continue when done.

    Depending on the connector used, the IoT platform will automatically provision the new device to the LoRaWAN server. This simplifies the user experience, since there is no need to manually add the device to the LoRaWAN server as well. This automatic provisioning is supported for:

    • ChirpStack v3
    • ChirpStack v4
    • Actility ThingPark
    • Netmore
    • TTN - The Things Network

For Actility and Netmore it is also possible to import the devices the connector has access to. For details about it see Connectors

If you need to add many devices then try out batch install with help of a CSV file.

  1. For Device Model Name, select the type of sensor you have, this will be used to set the correct decoder translator.

  2. On the next screen, a translator is automatically added. Normally, you don’t need to change this.
    You can add additional translators here, or later by selecting the device in the Devices list and clicking Translators,
    or by using the Select Many function.

  3. Specify additional details:

    • Name
    • Description (optional)
    • Icon (optional)
    • Pictures (optional) — if you're using a phone, you can take a photo directly
    • Contextual parameters (optional)
  4. Configure the device

After adding a device, it may need to be configured to report data at the desired time interval.

For LoRaWAN devices, this can be done directly by navigating to LoRaWAN Control and sending a configuration downlink.
Alternatively, multiple devices can be configured at once using Select Many → Configure.

The specific configuration downlink depends on the device and must be obtained from the manufacturer’s documentation. For example, for a Sensative Strip, you can use the Strips Configuration tool to quickly define device behavior and generate a downlink payload.

  1. Add supervision and alarms

It is often useful to add an alarm translator. This logic monitors incoming data for threshold breaches and can range from simple checks to advanced monitoring rules.

For more details, see Lesson 1-3 Alarm Views.
You can also configure alarms for multiple devices at once via Select Many → Edit Translators.


What is LoRaWAN Dev EUI?

What is the LoRaWAN App Key?

What is the LoRaWAN Join/App Eui key?

Can a LoRaWAN Gateway See Message Contents?

What is the difference, pros and cons with OTAA vs ABP?

What is LoRaWAN Device Profile & Regional Parameters?

What happen if one uses a small mismatch of LoRaWAN Device Profile & Regional Parameters for a device?