Overview
Commands in /IOTCONNECT™ are predefined actions that can be sent from the cloud to a connected device for remote control and configuration. Commands are defined in the device template and become available for execution once a device is connected.
When a command is executed, the platform publishes a JSON message to the device’s C2D subscribe topic. The device receives the message, processes the command, and optionally sends an acknowledgement back to confirm execution status.
Commands can be triggered from:
Portal: Navigate to the device’s Commands tab and execute manually with optional parameters.
REST API: Programmatically send commands via the /IOTCONNECT™ API for integration with external systems.
Rule Engine: Automatically trigger commands when telemetry conditions are met (e.g., turn on cooling when temperature exceeds threshold).