Physical inputs
myio_inputsRetrieve current physical wall button and switch states from a myIO controller, including pressed/closed, enabled, and normally closed status; optionally filter to only active inputs.
Instructions
State of the physical inputs (wall buttons / switches): id (1..SQ), name, pressed/closed now, enabled, NC. Polled state, not events - a short press can be missed. Needs 4.3.12+ or Due 3.12.7+; inputs the account has no permission for are absent.
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_inputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | controller name (default Ground floor) | |
| only_active | No | only inputs that are pressed/closed now |