Set a protection pair
myio_set_protectionDefines or clears output protection pairs so two IDs never activate together, with optional pair index and priority; use 0/0 to clear the pair.
Instructions
Define or clear a protection pair (index 0..PQ-1, or omit index: an identical existing pair is reused, otherwise the first free one): up and down = output ids that may never be on together (relay 1.., PCA 2001..); 0/0 clears the pair. priority = the first (UP) element wins when both are requested. A pair makes a shutter for myio_shutters. Editor 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": {
"up": "<up>",
"down": "<down>"
},
"name": "myio_set_protection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| up | Yes | ||
| down | Yes | ||
| index | No | ||
| server | No | controller name (default Ground floor) | |
| priority | No |