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

Logic Commands

39min

Scenes

AddExecutorCollectionDTO

Add a scene.

Field

Data type

Description

executorCollection

Object

An ExecutorCollection DTO object.

The ID of the ExecutorCollection object is assigned by the server after the internal object has been created. If an ID has already been set, this is not used in the created object!

CreateExecutorThingDTO

Create a virtual device that can be used to control and display the connected scenes.

Field

Data type

Description

id

String

ID of the ExecutorCollection for which a virtual device is to be created.

name

String

The name of the device to be created.

Several virtual devices can be created for a scene.JSON Example

DeleteExecutorCollectionDTO

Delete a scene.

Field

Data type

Description

id

String

ID of the ExecutorCollection to be deleted.

ExecuteExecutorCollectionDTO

Execute an existing scene once.

Field

Data type

Description

id

String

The ID of an existing scene.

ExecuteExecutorCollectionObjectDTO

Execute an existing or temporary scene once.

Field

Data type

Description

executorCollection

Object

An ExecutorCollection DTO object that is to be executed.

The ExecutorCollection DTO object for the "executorCollection" field does not need to be added to the system beforehand. It is executed once and is not saved.

GetRunningExecutorCollectionsDTO

Retrieves all currently executed scenes.

Field

Data type

Description

searchString

String

Optional field for filtering the scenes. The name and description are searched. If the field does not exist or is empty, no filter is applied.

RunningExecutorCollectionsDTO

Sent as a return to the command request.

Field

Data type

Description

runningExecutorCollections

Array

An array of currently executed ExecutorCollectionDTOs.

StopExecutorCollectionDTO

Stops the execution of a scene.

Field

Data type

Description

id

String

ID of the ExecutorCollection to be stopped.

UpdateExecutorCollectionDTO

Change a scene.

Field

Data type

Description

ExecutorCollection

Object

An ExecutorCollection DTO object. The ID must be set correctly.

RefreshExecutorCollectionsDTO

The data of the specified scenes is resent.

Field

Data type

Description

ExecutorCollectionIds

Array

A list of ExecutorCollection IDs that are to be updated. If the field does not exist or is empty, all ExecutorCollections are updated.

Rules

AddConditionCollectionDTO

Add a rule.

Field

Data type

Description

conditionCollection

Object

A ConditionCollection DTO object.

The ID of the ConditionCollection object is assigned by the server after the internal object has been created. If an ID has already been set, this is not used in the created object!

DeleteConditionCollectionDTO

Delete a rule.

Field

Data type

Description

id

String

ID of the ConditionCollection

UpdateConditionCollectionDTO

Change a rule.

Dield

Data type

Description

conditionCollection

Object

A ConditionCollection DTO object. The ID must be set correctly

RefreshConditionCollectionsDTO

The data of the specified rules is sent again.

Field

Data type

Description

conditionCollectionIds

Array

A list of ConditionCollection IDs that are to be updated. If the field does not exist or is empty, all ConditionCollections are updated.

Connections

AddConnectionDTO

Add a connection.

Field

Data type

Description

connection

Object

A Connection DTO object.

The ID of the Connection object is assigned by the server after the internal object has been created. If an ID has already been set, this is not used in the created object!

DeleteConnectionDTO

Delete a connection.

Field

Data type

Description

id

String

ID of the Connection to be deleted.

SetConnectionEnabledDTO

Activates or deactivates a connection without deleting it.

Field

Data type

Description

id

String

ID of the Connection.

enabled

Boolean

Flag whether the link should be active or not.

UpdateConnectionDTO

Update a connection.

Field

Data type

Description

connection

Object

A Connection DTO object. The ID must be set correctly.

RefreshConnectionsDTO

The data of the specified connections is resent.

Field

Data type

Description

connectionIds

Array

A list of Connection IDs that are to be updated. If the field does not exist or is empty, all Connections are updated.

Timer commands

CreateTimerDTO

Create a new timer with the desired name.

Field

Data type

Description

name

String

The name of the new timer.

UpdateTimerDTO

Change timer settings.

Field

Data type

Description

timer

Object

A SimpleIoTCoreTimer DTO object. The ID must be set correctly.

Only the timer-specific fields as described in SimpleIoTCoreTimerDTO are supported. The "channels" and "parameters" field is not evaluated!

SetTimerEnabledDTO

Activate/deactivate timer.

Field

Data type

Description

id

String

The unique timer ID.

enabled

Boolean

Flag whether the timer is enabled or not.