Set RGB light
myio_set_rgbSet the color, brightness, or on/off state of a myIO RGB light group. Adjust R, G, and B levels from 0 to 255 while keeping brightness, or change brightness while keeping the color.
Instructions
Control an RGB light (group id from myio_rgb): on/off, colour r,g,b (0..255 each; the brightness is kept unless given), brightness 0..255 (keeps the colour). ON without colour restores the last colour (white at first). The channel levels are written directly (PCA*=) and read 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>"
},
"name": "myio_set_rgb"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| b | No | ||
| g | No | ||
| r | No | ||
| id | Yes | RGB group id (501..) | |
| on | No | ||
| server | No | controller name (default Ground floor) | |
| brightness | No |