Sensorclouds Docs
Commands

Device Commands

Send instructions from the platform to your IoT devices via MQTT

Sensorclouds supports bi-directional communication with devices. Commands allow you to send instructions from the platform to devices via MQTT.

Use Cases

  • Reboot a device remotely
  • Change reporting interval for sensor data
  • Toggle a relay or LED on the device
  • Request a status report from the device
  • Update device configuration parameters

Device Commands List

How It Works

  1. You send a command from the platform (UI or API at /api/command)
  2. The command is published to the device's MQTT command topic
  3. The device receives the command and processes it
  4. The device sends an acknowledgment back via MQTT
  5. The platform updates the command status in real-time

On this page