Configure the Cumulocity Connector
Connect SIA Connect to Cumulocity IoT, onboard the gateway, send measurements and alarms, use child devices, and troubleshoot the native Connector.
The Cumulocity Connector connects SIA Connect to a Cumulocity IoT tenant through thin-edge.io. Use it to onboard SIA Connect as a managed device, send measurements and alarms, create child devices from mapped source instances, synchronize the gateway location, and receive write operations from Cumulocity.
Before you begin
Prepare the following:
- A Cumulocity IoT tenant that SIA Connect can reach.
- Permission to onboard a device in the tenant.
- A one-time password or access to the tenant's certificate-onboarding workflow.
- The Cumulocity Connector package that matches the SIA Connect architecture.
- Any source Connector, instance, and items that will provide data to Cumulocity.
The Connector requires SIA Connect system version 1.1.1 or newer. Packages are available for SIA Connect Standalone, SIA Connect Standalone Plus, and x86-based SIA Connect ANY-Ware installations.
The Cumulocity tenant address and device ID form the Connector identity. Changing either value causes the Connector to remove its current identity and onboard again.
Install the Connector
- Sign in to the Edge Portal.
- Expand Configuration in the sidebar.
- Select Connectors.
- Find Cumulocity.
- Select Install when the Connector is available from the repository. If you have a local package, select Upload connector and choose the matching
.siafile. - Wait until Cumulocity appears as an installed and enabled Connector.
Create a Cumulocity instance
- Open the installed Cumulocity Connector.
- Select Add instance.
- Enter a descriptive instance name.
- Enter the Cumulocity tenant URL in Address.
- Configure the Connector-specific parameters described below.
- Select Save instance.
The Connector starts onboarding after the instance is saved. It also installs and configures the required thin-edge.io services when they are not already available.
Instance parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
| Address | Yes | Empty | The Cumulocity tenant URL or hostname. For example, https://example.eu-latest.cumulocity.com. When a complete URL is entered, the Connector uses its hostname and optional port. |
| Use Child Devices | Yes | Yes | Select Yes to create a Cumulocity child device for each mapped source instance. Select No to send all mapped data through the main managed device. |
| Location Lat | No | Empty | Latitude for the main device. Enter a number from -90 to 90. Latitude and longitude must both be valid before a location is sent. |
| Location Lng | No | Empty | Longitude for the main device. Enter a number from -180 to 180. |
| Location Alt | No | Empty | Optional numeric altitude for the main device location. |
| Device Id | Yes | Default SIA Connect device name | The external device identifier used by the dedicated Cumulocity profile. Keep this value stable after onboarding. |
| Onboarding Mode | Yes | One-time password (OTP) | Select One-time password (OTP) for password-based certificate enrollment or Manual certificate when the public device certificate will be approved through the tenant's certificate-onboarding workflow. |
| One Time Password | Only for OTP onboarding | Empty | The one-time password issued for device onboarding. A new password is required if the tenant or device ID changes and the Connector must onboard again. |
Location behavior: A location where latitude, longitude, and altitude are all zero is ignored. The Connector does not repeatedly overwrite a location that was changed directly in Cumulocity unless the location values in SIA Connect are changed again.
Onboard with a one-time password
- Obtain a one-time device password from your Cumulocity tenant administrator or onboarding workflow.
- Set Onboarding Mode to One-time password (OTP).
- Enter the password in One Time Password.
- Save the instance.
- Wait while the Connector downloads the device certificate and tests the connection.
- Confirm that the instance no longer reports a connection error and that the device appears in Cumulocity.
A failed certificate-download attempt is delayed before the Connector retries. The instance error shows how long remains before the next attempt.
Onboard with a manual certificate
- Set Onboarding Mode to Manual certificate.
- Save the instance. The Connector creates a device certificate and private key for its dedicated profile.
- Return to the Cumulocity Connector and expand Files.
- Download the public file named Cumulocity certificate.
- Approve or upload the certificate through the certificate-onboarding workflow provided by your Cumulocity tenant.
- Return to the instance and wait for the connection to be tested again.
- Confirm that the device appears in Cumulocity and that the instance no longer reports a certificate or connection error.
The downloadable Connector file is the public certificate. The Connector keeps the associated private key in its own certificate storage and does not expose it through the Connector file list.
Use the automatically created items
Each Cumulocity instance automatically creates three internal items:
| Item | Purpose |
|---|---|
| Telemetry | Receives mapped values and publishes them as Cumulocity measurements. |
| Alarm | Receives mapped values and creates or updates alarms. |
| Clear Alarm | Clears the matching alarm type by publishing an empty retained alarm message. |
Do not change the UIDs of these automatically created items. The Connector uses their UIDs to select the correct Cumulocity message type.
Send measurements
- Create or open the source instance that provides the data.
- Create the required source items.
- Create a mapping from a source item to the Cumulocity instance's Telemetry item.
- Wait for the source item to produce a value.
- Open the managed device or child device in Cumulocity and confirm that the measurement arrives.
Scalar values are converted to JSON using the source item name as the key. A valid JSON object is forwarded as a compact JSON object. Unsupported characters in measurement names and MQTT topic identifiers are replaced with underscores.
When Use Child Devices is Yes, the source instance name is used as the readable child-device name. The Connector also synchronizes the child type and adds a required-availability response interval of 60 minutes when that setting is missing. A response interval that was later changed in Cumulocity is not overwritten during normal metadata synchronization.
Create and clear alarms
- Create a mapping from the source alarm item to the Cumulocity instance's Alarm item.
- Use a custom mapping value when you need to send a JSON alarm object.
- Create another mapping from the same source alarm type to Clear Alarm when the alarm should be cleared.
- Trigger the source item and verify the alarm state in Cumulocity.
A custom alarm mapping can send a JSON object such as:
{
"severity": "major",
"text": "Motor overheated",
"message": "Inspect the motor temperature"
}If the alarm value is not a JSON object, the Connector normally sends the default alarm payload. A scalar value produced by a custom mapping or item pre-script is sent as the alarm message.
Receive write operations from Cumulocity
The Connector registers the custom operation c8y_SetSiaValue. Enabled Cumulocity instance items configured as Read Only or Read and Write are exported to the main managed object in the siaWritableItems fragment.
Items configured as Write Only and the three internal helper items are not exported as Cumulocity write targets.
The operation accepts a target by exported ID, item UID, uid:<uid>, or unique item name. Name-based targeting is rejected when more than one eligible item has the same name.
{
"c8y_SetSiaValue": {
"target": "uid:control_setpoint",
"value": "123"
}
}The stock Cumulocity Device Management interface does not automatically create a custom form for this operation. Create it through the Cumulocity REST API or through a custom tenant application. The Connector emits the accepted value into the selected Cumulocity item, where a normal SIA Connect mapping can forward it to the destination device.
Identity and certificate behavior
- Changing Address or Device Id resets the Connector identity and starts a new onboarding process.
- Switching onboarding mode creates a new certificate and key when required.
- Deleting the last Cumulocity instance removes the identity created for the dedicated Connector profile.
- An expired Connector certificate prevents the connection until the device is onboarded again.
- The Connector only resets files that belong to its own Cumulocity profile. Other thin-edge profiles and Fleet Management certificates are not removed.
Troubleshoot the Connector
| Message or behavior | What to do |
|---|---|
| Tenant URL is empty. Please configure the device address. | Edit the instance and enter the Cumulocity tenant URL in Address. |
| One-time password is required when connector onboarding mode is OTP. | Obtain a valid one-time password, enter it in One Time Password, and save the instance. |
| The password is rejected or certificate enrollment times out. | Check that the password is current and belongs to the intended tenant and device. Confirm internet access and DNS resolution from SIA Connect. Wait for the displayed retry interval before trying again. |
| Connector device certificate is expired. | Onboard the Connector again with a new one-time password or a newly approved manual certificate. |
| The connection test fails. | Check the tenant address, device ID, onboarding approval, network access, and the exact instance error. Review the system logs for thin-edge, MQTT bridge, mapper, or certificate errors. |
| Device is connected to Cumulocity but not onboarded in inventory. | Confirm that the external ID shown in the error matches the intended Device Id. Check the managed-device inventory in Cumulocity and repeat onboarding if the identity is missing. |
| Measurements do not arrive. | Confirm that the source item is updating, the mapping targets Telemetry, the Cumulocity instance is enabled, and the main or child device exists in Cumulocity. |
| A child device is not created or updated. | Confirm that Use Child Devices is Yes and that a mapped source item has produced data. Review the instance error for child registration, identity-proxy, or metadata-update failures. |
| The location does not update. | Enter both latitude and longitude, check their allowed ranges, and make sure the complete location is not zero. Change the SIA Connect location values again if a manually edited Cumulocity location was intentionally preserved. |
siaWritableItems is missing. |
Confirm that at least one eligible item is enabled and configured as Read Only or Read and Write. Check that the main managed object can be resolved and review the logs for Failed to synchronize writable operation support. |
A c8y_SetSiaValue operation reports an unknown target. |
Use an ID listed in siaWritableItems. If targeting by item name, make sure the name is unique among the eligible items. |