Skip to main content
Version: 1.8.5

CREATING A UNACONNECT CONNECTION

Available since ThingPark X IoT Flow 1.7.13.

The UnaConnect connector sends the uplinks of your devices to your UnaConnect account, the IoT platform of UnaBiz.

The data follows this path: LoRaWAN® device → ThingPark Enterprise → ThingPark X IoT Flow connection → UnaConnect.

You need a UnaConnect account before you create the connection.

Collecting Expected Information​

Parameters required

UI FieldDescription
NameName of the connection.
UnaConnect keyToken shown in the settings of your UnaConnect account. See UnaConnect key.
RegionRegion of your UnaConnect account: Europe Region or Apac Region.
DescriptionOptional description of the connection.

UnaConnect key​

The UnaConnect key is the Token shown in the Settings of your UnaConnect account. These settings also show the region of your account.

Warning

If you copy the token with the copy button, remove the Bearer prefix at its beginning.

UnaConnect token

Creating a Connection With UI​

  1. In ThingPark Enterprise, click Connections -> + Add Connection -> ThingPark X IoT Flow. Add a ThingPark X IoT Flow connection in ThingPark Enterprise

  2. In ThingPark X IoT Flow, click UnaConnect in the list of connectors. Select the UnaConnect connector

  3. Fill in the form:

    • Name: a clear name for the connection, for example My UnaConnect Connection.
    • UnaConnect key: the token copied from the settings of your UnaConnect account, without the Bearer prefix.
    • Region: Europe Region or Apac Region, as shown in the settings of your UnaConnect account.
    • Description: optional. Set your UnaConnect connection
  4. Click Create. A notification confirms that the connection has been created, and the connection details open.

  5. In the connection details, check that the connection is OPENED (see Connection States).

Note

Parameters marked with * are mandatory.

Changing the Settings After Creation​

You can change settings such as the name of the connection or the UnaConnect key after the creation of the connection.

  1. In the connection details, click the Edit button next to the setting to change.

  2. Enter the new value and click the Confirm button, then confirm the update.

A notification confirms that the setting is updated.

Creating a Connection With API​

The creation of a connection establishes a unidirectional messaging transport link to UnaConnect. To do this, you need to use the Connections group resource:

  • POST /connections to create a new Connection instance
  • PUT /connections to update a Connection instance
  • DELETE /connections to delete a Connection instance
Note

We follow the REST-full API pattern, when updating configuration properties for a connection resource. Thus, you must also provide the whole configuration again.

Example for creation of a new connection instance:

POST /connections
{
"name":"Actility To UnaConnect",
"connectorId":"actility-http-iot",
"configuration": {
"headers" : {
"authorization" : "Bearer {YOUR-UNACONNECT-KEY}"
},
"destinationURL":"https://network.unaconnect.io/actility/data"
},
"brand":"UNABIZ"
}

The following table lists the properties applicable to a connection instance.

FieldDescription
connectorIdMust be set to actility-http-iot for the UnaConnect platform.
configuration/descriptionDescription of the connection.
configuration/destinationURLFor the Apac Region: must be set to https://network.unaconnect.io/actility/data. For the Europe Region: must be set to https://euw-1.network.unaconnect.io/actility/data.
configuration/headersSet of key-values. The only mandatory key is authorization, with Bearer followed by your UnaConnect key as value.
brandMust be set to UNABIZ.
Important note

All properties are not present in this example. You can check the rest of these properties in the common parameters section.

Associating Devices With the Connection​

In ThingPark Enterprise, open Devices, select a device, and add the connection to the Connections of the device. You can also select the connection when you create a device, or for many devices at once with a CSV file in Devices -> Bulk Operations.

Displaying Information to Know if It Worked​

Important note

We cannot check that the data reaches UnaConnect as expected: please contact the UnaBiz support.

Limitations​

The UnaConnect connector does not support downlinks.

Troubleshooting​

There is no known issue.