Relay ON
myio_relay_onTurns on a specified relay output by ID on a myIO controller, optionally naming the controller, and confirms the resulting state read back from the device.
Instructions
Turn ON a relay output. id = relay id 1..RQ (see myio_info / myio_list_devices). The reply shows the state read back from the controller.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "myio_relay_on"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | relay id (1..RQ) | |
| server | No | controller name (default Ground floor) |