send_command
Send commands to IoT devices to trigger actions like turning on a relay or blinking an LED. Provide device ID and action, with optional parameters for timed control.
Instructions
Send a command to a device (e.g. turn on a relay, blink an LED, set a value).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Command action (e.g. relay.on, relay.off, led.on, led.off, led.blink, led.toggle) | |
| params | No | Optional parameters (e.g. {"duration": 5000} for timed relay) | |
| device_id | Yes | Device ID |