IoT Export
...
IoT Core Data Model
IoT Command Core

Thing Commands

19min

System

These commands are used for basic management of the learned devices.

RefreshSupportedThingsDTO

Requests the reference IDs of the supported devices. A SupportedThingInfoDTO for each supported device is returned.

CreateThingDTO

Create a new device based on the reference ID.

Field

Data type

Description

referenceId

String

Unique ID of the command, this is assigned by the user.

name

String

The name to be used for the new device.

SetAutoPairingEnabledDTO

Automatic pairing can be activated / deactivated using this command. Optionally, it can be set to be automatically deactivated again after a specified time.

Field

Data type

Description

enabled

Boolean

Flag whether automatic teach-in should be activated or deactivated.

enabledForSec

Number

Specifies how many seconds the automatic teach-in should be active . If the value is 0, automatic teach-in remains active until it is deactivated again.

RefreshThingsDTO

Request update of one or more devices.

Field

Data type

Description

thingIds

Array

A list of device IDs. If the field does not exist or is empty, all devices are updated.

RefreshDescriptionsDTO

Request update of one or more value descriptions.

Field

Data type

Description

descriptionIds

Array

A list of description IDs. If the field does not exist or is empty, all descriptions are updated.

Device specific

Commands that refer directly to an existing device always require the ID of the device. The "id" field is therefore present in every device command object.

Field

Data type

Description

id

String

Unique ID of a device.

DeleteThingDTO

Only the device ID is required to delete a device, so there are no other fields.

RenameThingDTO

Rename a device.

Field

Data type

Description

newName

String

The new name for the device.

SetThingChannelValueDTO

Sets the channel value of a device to the set value.

Field

Data type

Description

channelId

String

Unique ID of a device channel.

newValue

String

The new value to be set. This is always transferred as a string. Even with numerical values!

If the change is successful, the associated device object is updated.

SetThingParameterDTO

Change device parameters.

Field

Data type

Description

parameterId

String

Unique parameter ID related to a device.

newValue

String

The new value to be set. This is always transferred as a string. Even for numerical values!

EnOcean

These are commands that only work with EnOcean devices.

AssignAcknowledgeIdDTO

Assignment of an EnOcean ID to a receive channel.

Field

Data type

Description

eurid

String

The EURID of the EnOcean device

acknowledgeChannelName

String

One of the possible receive channel names for the device.

SendPairingSignalDTO

Sending a learning signal for actuators. The gateway for sending the signal must be specified so that the correct send ID can be determined.

Field

Data type

Description

gatewayId

String

Unique ID of an EnOcean gateway to determine the send ID.

transmissionChannelName

String

One of the possible transmission channel names for the device.

secure

Boolean

Specifies whether a learning signal is sent with encryption.