The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Insights Hub and Industrial IoT

Insights Hub drives smart manufacturing through the industrial Internet of Things. Gain actionable insights with asset and operational data and improve your processes.

MQTT Commanding Feature – Samples for subscribing to an MQTT topic¶

Commanding Feature Async API defines topics and message structures to subscribe MQTT commands to be executed by the agents and publish the command execution status.

For more information, refer Commanding Feature Async API specifications.

Subscribing Commands¶

This operation is used to receive the command to be executed by the agent.

RegionOperation
Europe 1tc/{tenantId}/{clientId}/i/cmd_v3/c

Payload example:

{
  "id": "99609765fed2452c8e126814c283a27f",
  "data": {
    "jobId": "21349765fe45652c8e126814c283a114",
    "createdAt": "string",
    "payload": {
      "property1": "string",
      "property2": "string"
    }
  }
}

Publishing Command Execution Status¶

This operation is used to publish the command execution status and progress.

RegionOperation
Europe 1tc/{tenantId}/{clientId}/o/cmd_v3/u

Payload example:

{
  "id": "11609765fed2452c8e126814c283a289",
  "requestId": "99609765fed2452c8e126814c283a27f",
  "data": {
    "timestamp": "2011-08-12T20:17:46.384Z",
    "jobId": "21349765fe45652c8e126814c283a114",
    "status": "EXECUTING",
    "response": {
      "property1": "string",
      "property2": "string"
    }
  }
}