Control / configure LED strips
myio_ledstrip_setConfigure and run LED strip programs, live effects, enabled state, names, and LED counts on a myIO controller; changes apply live and save, while LED count changes require a restart.
Instructions
LED strips: event (id 3100+100*(IO-1)+program: run that program on that IO, the same id again stops it - MYIO_WRITE=state), enabled (desired), program edits (prog 1..32 with fields {fx, speed, brightness, intensity, density, length, palette, direction, color1, color2 (0xRRGGBB number), a, b, blend, blend_fx, blend_dir, kill, kill_fx, kill_dir, off_pause}, name) applied live and saved (ls_save); led_count {io 1..8, count} needs a restart. Editor/admin level.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "myio_ledstrip_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| prog | No | ||
| event | No | ||
| fields | No | ||
| server | No | controller name (default Ground floor) | |
| enabled | No | ||
| led_count | No |