Switch or dim any output
myio_outputControl myIO outputs by ID—relays, FETs, groups, and PCA dimmers—using on, off, toggle, or level/percent dimming, then read back the resulting state.
Instructions
One tool for every output type, by id: relay (1..RQ), FET (101..116), group (501..), PCA dimmer (2001..). action: on | off | toggle | level (level needs level 0..255 or percent 0..100; PCA/FET only). ON on a dimmer = its configured MAX, OFF = MIN. Reads the state back.
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>",
"action": "<action>"
},
"name": "myio_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | element id | |
| level | No | raw level 0..255 (action=level) | |
| action | Yes | ||
| server | No | controller name (default Ground floor) | |
| percent | No | level in percent (action=level, when level is not given) |