Sensorclouds Docs
Commands

Sending Commands

How to send commands to devices from the platform

From the Device Messaging Page

Navigate to a Device → Messaging tab.

Click Send Command.

In the command modal, enter:

  • Command: Action name (e.g., reboot, setInterval)
  • Parameters: Optional JSON parameters (e.g., {"interval": 30})

Click Send. The command appears in the command history below.

Sending Commands Form

From Dashboard Toggle Widgets

Toggle widgets automatically send commands when switched on or off:

  • The command name and on/off values are configured during widget setup
  • An optional confirmation dialog can be shown before sending
  • The widget uses optimistic UI — it updates immediately and rolls back if the command fails

See Toggle Widget for configuration details.

Command Constraints

ConstraintLimit
Command nameAlphanumeric + _ - . : (max 100 characters)
ParametersJSON object, max 3 levels deep, sanitized

Predefined Quick Commands

The platform provides quick-access buttons for common commands:

CommandDescription
RebootRestart the device
StatusRequest current device status
Set IntervalChange the telemetry reporting frequency
LED ControlToggle the device's indicator LED

On this page