Restart / firmware update
myio_systemRestart a myIO controller or upload, apply, and roll back OTA firmware packages, with validation, automatic rollback, and running-version reports.
Instructions
Admin actions: restart (soft reboot, ~1 min offline), ota_upload (file = local path of the firmware package the fleet tool made for THIS controller - GIGA/Opta (4.x): MYIO_UPD.BIN, uploaded to the SD card, or internal flash without a card; Due (3.12+): MYIO_NEW.BIN, SD card only, checked before upload: a raw Arduino build or a package made for another controller is refused), ota_apply (the controller installs the uploaded package and restarts; a GIGA/Opta rolls back by itself if the new image fails, a Due keeps its running firmware if the package is rejected), ota_restore (GIGA/Opta only: go back to the previous image). The answer waits for the controller to come back and reports the running version and the outcome. 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": {
"action": "<action>"
},
"name": "myio_system"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| action | Yes | ||
| server | No | controller name (default Ground floor) |