Change network settings
myio_network_setConfigure a myIO controller’s host, Wi-Fi mode, STA/AP credentials, and LAN settings, then save for next boot or apply now; applying can drop the connection and make it unreachable.
Instructions
DANGEROUS: a wrong value can make the controller unreachable (then only USB serial or the service access point helps). Changes: host, wifi_mode 0 off / 1 STA / 2 AP, sta {ssid, password, dhcp}, ap {ssid, password, channel 1..13}, lan {enabled, dhcp, static_primary}. apply=true saves AND applies now (no restart; the connection may drop), apply=false only saves for the next boot. Needs MYIO_WRITE=admin.
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": {
"apply": "<apply>"
},
"name": "myio_network_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ap | No | ||
| lan | No | ||
| sta | No | ||
| host | No | ||
| apply | Yes | ||
| server | No | controller name (default Ground floor) | |
| wifi_mode | No |