Thing Commands
These commands are used for basic management of the learned devices.
Requests the reference IDs of the supported devices. A SupportedThingInfoDTO for each supported device is returned.
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. |
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. |
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. |
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. |
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. |
Only the device ID is required to delete a device, so there are no other fields.
Rename a device.
Field | Data type | Description |
---|---|---|
newName | String | The new name for the device. |
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.
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! |
These are commands that only work with EnOcean devices.
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. |
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. |