How to integrate the IAM Decentlab device with TTN on akenza

In this tutorial you will learn how to integrate the IAM device from Decentlab with TTN on akenza
IAM device from Decentlab

Applications:

  • Indoor air quality monitoring in offices, class rooms, hospitals, stores or malls

  • Office occupancy monitoring

  • Motion / activity monitoring of people in a room

  • Heating, ventilation and air conditioning (HVAC) control: for good indoor air quality and energy savings

  • Process yield and economic efficiency: e.g. in greenhouses, mushroom farming, food packaging, transportation/storage, chicken hatcheries and incubators

  • Personal safety: in confined spaces where combustion is present or gas leakage could occur such as garages, tunnels, public bars, restaurants or burners

Product features:

  • State-of-the-art CO2 and VOC (volatile organic compounds) sensors

  • Industry standard humidity and temperature sensor

  • High accuracy barometric pressure sensor

  • Ambient light sensor

  • Motion / presence detector

  • Place and measure: no setup required

  • Unattended real-time monitoring for more than a year without replacing batteries

  • Compatible with LoRaWAN® networks of any provider

  • Standard alkaline (AA-type) batteries

  • CE compliant, Radio Equipment Directive (RED) 2014/53/EU

You will find more information about the IAM device from Decentlab here.

In this tutorial, you will learn how to add the IAM device from Decentlab to the connectivity provider The Things Network (TTN) on akenza.

To create a new device, you first need an Integration to TTN and a Data Flow. You can simply make use of the Connectivity-as-a-Service that akenza offers with its own LoRaWAN Connector or you can integrate your own TTN account.

Add your TTN account

To add your TTN account as an Integration provider, select "Create Integration" within the Integration menu and chose TTN accordingly.

Choose TTN integration

Select the TTN LoRaWAN host and insert necessary authentication details of your TTN account. Select "Proceed".

Log in to your TTN integration

If all details are provided, the initial synchronization will start. This can take several minutes. It will depend on the size of your IoT deployment.

Integration Overview

If the synchronization was successful, the Integration will be displayed on the Integration Overview.

Proceed with the creation of the Data Flow.

Create a Data Flow

Device Connector

To create a Data Flow, go to Data Flow in the menu and select "Create Data Flow". Choose "LoRaWAN" as your Device Connector. If you have integrated your LoRaWAN connector, you will see it listed here. If you do not have your own LoRaWAN account, you can simply use the Connectivity-as-a-Service, that akenza offers with its ready-to-use LoRaWAN connectors.

Device Connector

Device Type

Use the search field to find the "IAM" and select the Device Type accordingly. Proceed further to Output connectors.

Device Type IAM from Decentlab

Output Connector

Chose one or multiple Output connectors for your Data Flow. Output Connectors define what is done with the results of the device types. There are several options to choose from:

  • Akenza DB

    • Storing the data in the akenza database

  • Mailgun

    • Sending parts of the data in an e-mail to a recipient

  • Webhooks

    • Forwarding the data to a 3rd party system for further processing or storing

In this tutorial, we proceed with choosing Akenza DB. With the connection to the Akenza DB, we ensure that all data passing through this data flow is saved in the Akenza Database and thereby becomes accessible to you. Save your Data Flow and give it a name.

Output Connector

Create the IAM device of Decentlab

To create a new device, select "Create Device" within the menu of Assets Inventory. Add a device name and optionally a description. Select your created Data Flow and click on "Proceed".

Create an ERS device

Fill in now all Connectivity Parameters about your IAM LoRa device. Finish the process by clicking on the "Create Device" button. Your device will get created now.

Enter connectivity parameters

In the Overview of Asset Inventory, you will see your newly created IAM LoRa device from Decentlab.

Asset Inventory Overview

To check incoming data of your device, select your device from the list and check the status on the Data Overview.

Data Overview of the IAM device

Congratulations, you have successfully integrated the IAM device from Decentlab with TTN on akenza.