IoT Export
IoT Core Data Model
IoT Command Core
3 min
general information on commands commands can be used to send commands to control or configure the gateway each command is identified by an id, which is used to assign the responses field data type description commandid string unique id of the command, this is assigned by the user commandresultdto the result of a command is transmitted with this dto the "commandid" field contains the id of the original command so that the result can be assigned correctly the following fields are also available field data type description successful boolean indicates whether the execution was successful message string an optional message to transmit error messages if necessary datacontainer object optional iot core data model docid\ uv3 mck6dtxwysimop4mz object for transferring return values code examples commandresultdto 1 { "commandid" "owncommandid", "successful" true } commandresultdto 2 { "commandid" "owncommandid", "successful" false, "message" "failed to execute command request!" } commandresultdto 3 { "commandid" "owncommandid", "successful" true, "datacontainer" { "nodeid" "ownnodeid", "timestamp" 1704880915, "dto" { "runningexecutorcollections" \[ { "id" "76dd6b1f 3f6a 4c02 b6d7 3539cd03201c", "name" "testexecutor", "description" "", "executors" \[ { "position" 0, "type" "value", "thingid" "91905b50 bf83 4584 a14b d4c2800cec1e", "channelid" "dimmer", "value" { "type" "raw", "value" 100 0 } }, { "position" 1, "type" "delay", "delay" 5000 }, { "position" 2, "type" "state", "thingid" "f5a69feb 59f0 4a44 a243 d2420c84f562", "channelid" "valve", "state" "close" } ] } ] }, "type" "logic scene running" } }