Configure Shelly
myio_shelly_setConfigure and update Shelly integration settings: enable, scan, add, rename, poll, authenticate, probe, push, delete, and bind outputs, inputs, or sensors to myIO; every change is saved.
Instructions
Change the Shelly integration; every change is saved (sh_save). action: enable (enabled=true|false), add (ip), add_found (index from the scan), scan (start=true|false), delete / probe / push (device), disable (device, disabled), rename (device, name), poll (device, ms 500..60000), auth (device, user, password), bind_output (device, channel, output_id: the Shelly channel follows that myIO output; 0 = unbind), bind_input (device, channel, button 1..SQ, mode 0 button / 1 toggle / 2 hit-only), bind_sensor (device, slot 0..3, metric 1 temp / 2 hum / 3 power / 4 volt / 5 curr / 6 energy / 7 device temp, channel, usens id; usens 0 = unbind). After input / sensor bindings send action=push so the Shelly calls back. Device = slot number from myio_shelly. Editor/admin level.
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": {
"action": "<action>"
},
"name": "myio_shelly_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| ms | No | ||
| mode | No | ||
| name | No | ||
| slot | No | ||
| user | No | ||
| index | No | ||
| start | No | ||
| usens | No | ||
| action | Yes | ||
| button | No | ||
| device | No | ||
| metric | No | ||
| server | No | controller name (default Ground floor) | |
| channel | No | ||
| enabled | No | ||
| disabled | No | ||
| password | No | ||
| output_id | No |