Custom LoRa device

Custom LoRa devices are devices from third parties that are not officially supported by Avelon out of the box. They can still be integrated, but they require additional configuration before the system is able to parse its messages.

Click on the desired LoRa device in the device list to go to its configuration page. All relevant information about the device is displayed there.

Create a custom LoRa device

If you want to integrate a new device, click on Add Device in the toolbar above the device list. Select the device type “My LoRa Device” and provide the required information:

Device EUI

The device EUI is used to uniquely identify the device. You can usually find the device EUI on the label on the device, the instruction manual or the packaging.

Application Key

The key of the application on the LoRaWAN server to which this device is assigned.

Application EUI

The EUI of the application on the LoRaWAN server to which this device is assigned.

Note

In order to create a custom LoRa device, your user role needs to have the action right “Create and delete devices”.

Users with the action right “Show all devices” can see all devices of the client. Users without this action right, on the other hand, can only see devices which have at least one user group assigned that they’re part of. Therefore, those users have to assign at least one of their user groups under Device Access when adding a device, so that they will be able to see the device afterwards.

Also see Device access below for more information.

IoT Profile

For the system to be able to parse incoming messages from the custom LoRa device, you’ll also need to select an IoT profile.

This will set up a message decoder for the device, and it will also create the necessary data points.

You can find more information about IoT profiles in the section IoT profiles.

General

Activation Date

The date when the system first received a message from the device.

Last Connection

The date when the system last received a message from the device.

Allow access to this device in the public web app without login

If you want to use the QR code on the device to quickly access its measurements, keep this option enabled. However, this will make the device accessible on iot.avelon.cloud to anyone who has access to the QR code. If you deactivate the option, the device and its measurements can only be accessed when you’re logged in. You can change this setting at any time.

Device EUI

The device EUI is used to uniquely identify the device. You can usually find the device EUI on the label on the device, the instruction manual or the packaging.

LoRaWAN
LoRaWAN Network Provider

Indicates which LoRaWAN network provider the device is currently registered with. To learn how to change your network provider, see LoRaWAN network provider.

Application EUI

The EUI of the application on the LoRaWAN server to which this device is assigned. Only available if the device is self-managed.

Application Key

The key of the application on the LoRaWAN server to which this device is assigned. Only available if the device is self-managed.

Application ID

The ID of the application on the LoRaWAN server to which this device is assigned.

Location

Address

The location address of the device. If you fill in this field, the device will be displayed on the map widget and in the map navigation.

GPS

If the address input above is insufficient, you can also specify the location of the device using GPS coordinates.

Device access

Here you configure which user groups are allowed to access the device and its data points. If users should see data points or their recordings or live values, they need to have access to the respective device on which these data points are located.

To add a user group, click on Add User Group and select a user group from the list. All users in that user group will get access to the device. To remove a user group, click on Remove next to the corresponding user group.

Granting access to a device also enables access to the device via our public API.

Note that users with the action right “Show all devices” can see all devices of the client, regardless of their respective user groups.

Assign IoT profile

Unlike IoT devices from Avelon, custom LoRa devices do not come with any preconfigured data points, and they need a custom script to parses incoming messages.

The list of available data points and the script to decode messages for a specific LoRa device have to be defined in a IoT profile. Once you’ve created an IoT profile, it can be assigned to any custom LoRa device in order to create the data points and assign the parsing script.

Please read the chapter IoT profiles for instructions on how to create an IoT profile and assign it to your custom LoRa device.

Alerting

Enable Watchdog

Activate the watchdog to be notified if the device does not report in for a longer period of time. This allows you to react in time in the event of a device defect or insufficient transmission power. Select the desired alarm chain from the dropdown.

Warning

Watchdog alarm tickets cannot be closed until the device sends an acknowledgment that the alarm is gone and that the connection with the server is reestablished. As a result, when trying to close a ticket prior to device acknowledgment, the following error message is displayed: “This ticket cannot be closed. The alarm must be acknowledged by the device first”.

Enable Battery Alarm

Activate the battery alarm to be notified if the battery falls below a certain threshold. Select the desired alarm chain from the dropdown.

Setting an alarm

You can add an alarm for any of the data points assigned to a custom LoRa device. The available data points are displayed on the Data Points card. To add an alarm for one of the data points, proceed as follows:

  1. Select the data point by clicking on Go to Data Point on the right hand side.

  2. Under Alerting, define an upper and/or lower alarm limit value.

  3. Select the alarm chain to be invoked in the event of the alarm. For information on how to set up alarm chains, see Manage alarm chains.

  4. With the value Deadband for gone alarms relative to the limits you can also set the difference relative to the alarm limit value as of which any alarm that occurs should automatically be marked as “gone” by the system. For more information on how to edit data points, see Edit data points.

  5. Save your changes by clicking on Save at the top right in the toolbar.

Warning

If you only have a free Heads-up! license on your device, only alarm chains with one user and email notification can be selected. In order to add more users to the alarm chain and to receive alarm notifications via SMS also, a paid Heads-up! license needs to be purchased.

Gateways

The LoRaWAN gateways with which the sensor was recently in contact are displayed on the map. For a gateway to be displayed correctly, the operator of the gateway must have stored the correct GPS coordinates on the device.

Download labels

You can download or print the labels, which are factory affixed to the outside of the case, at any time. Different labels are available depending on the device type. The front label contains the QR code needed to use the device in our IoT app as well as a marker used in connection with its augmented reality function. The back label contains technical information about the sensor, such as the serial number or device EUI.

You can download or print the two labels by clicking on More at the top right, then on Front Label or Back Label respectively, and then on either Download or Print.

Licenses

See Licenses.

Manage LoRaWAN provider yourself

Only applicable for custom LoRa devices.

Custom LoRa devices can be used outside of the Avelon ecosystem and integrated into a proprietary LoRaWAN solution. However, this requires a “Self-managed” license on the device.

To configure the device accordingly, click on More at the top right and then on Configure LoRaWAN Network Provider. In the following dialog, select Self-managed from the drop-down LoRaWAN Network Provider and click OK.

This will give you access to data needed to integrate the LoRa device in the new system, such as Device EUI, Application EUI and Application Key.

Once the device is successfully transferred to another network, it will be removed from the pre-configured network provider.

Warning

This process is not possible if there is still a Building Automation license assigned to the device. The process is reversible and the device can always be transferred back to Avelon Cloud afterward.