CREATING A WIDGELIX CONNECTION
Available since ThingPark X IoT Flow 1.7.13.
The Widgelix connector sends the uplinks of your devices to your Widgelix account. Widgelix can send downlinks back to the devices: see Downlink Support.
The data follows this path: LoRaWAN® device → ThingPark Enterprise → ThingPark X IoT Flow connection → Widgelix.
You need a Widgelix account before you create the connection.
Collecting Expected Information
Parameters required
| UI Field | Description |
|---|---|
| Name | Name of the connection. |
| Widgelix key | Access Token generated on the connectivity of a device in your Widgelix account. See Widgelix key. |
| Description | Optional description of the connection. |
Widgelix key
The Widgelix key is the Access Token generated on the connectivity associated to a device in Widgelix.
See the Widgelix documentation about the connectivity.

Creating a Connection With UI
-
In ThingPark Enterprise, click Connections -> + Add Connection -> ThingPark X IoT Flow.

-
In ThingPark X IoT Flow, click Widgelix in the list of connectors.

-
Fill in the form:
- Name: a clear name for the connection, for example
My Widgelix Connection. - Widgelix key: the Access Token copied from the connectivity of the device in Widgelix.
- Description: optional.

- Name: a clear name for the connection, for example
-
Click Create. A notification confirms that the connection has been created, and the connection details open.
-
In the connection details, check that the connection is OPENED (see Connection States).
Parameters marked with * are mandatory.
Changing the Settings After Creation
You can change settings such as the name of the connection or the Widgelix key after the creation of the connection.
-
In the connection details, click the Edit button next to the setting to change.
-
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 Widgelix. To do this, you need to use the Connections group resource:
POST /connectionsto create a new Connection instancePUT /connectionsto update a Connection instanceDELETE /connectionsto delete a Connection instance
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 Widgelix",
"connectorId":"actility-http-iot",
"configuration": {
"description": "My first Widgelix connection.",
"destinationURL":"https://app.widgelix.com/v1/input-node/actility",
"headers":{
"Authorization": "Bearer {YOUR-WIDGELIX-KEY}"
}
},
"brand":"WIDGELIX"
}
The following table lists the properties applicable to a connection instance.
| Field | Description |
|---|---|
connectorId | Must be set to actility-http-iot for the Widgelix platform. |
configuration/description | Description of the connection. |
configuration/destinationURL | Must be set to https://app.widgelix.com/v1/input-node/actility. |
configuration/headers | Set of key-values. The only mandatory key is Authorization, with Bearer followed by your Widgelix key as value. |
brand | Must be set to WIDGELIX. |
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.
Downlink Support
Widgelix manages the downlinks. Set them up in the connectivity of the device in Widgelix, with the downlink URL of the connection: the connection details give this URL in their information banner.

Displaying Information to Know if It Worked
-
Connect to your Widgelix account.
-
Go to the Device Types section and create the type of your device. See the Widgelix documentation for details.

-
Go to the Devices section and click the device you want to monitor.

-
Go to the Settings tab. In the Report section, select a field and extract a report. The Excel report contains the data received from the device.

Limitations
There is no known limitation of the Widgelix connector.
Troubleshooting
There is no known issue.