z2m_bind
Bind or unbind Zigbee clusters between devices or groups for direct control even if the bridge is down. Use clear to remove all binds from a source device.
Instructions
Bind or unbind clusters between two devices, or between a device and a group. Binding lets a remote control a light directly over Zigbee without a round trip through the coordinator, so it keeps working even if the bridge is down. Reversible with action='unbind'; action='clear' removes all binds from the source device at once. Append /ENDPOINT to target a specific endpoint, e.g. 'my_remote/left' — check z2m_get_device endpoints first. Both devices must be awake.
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>",
"from": "<from>"
},
"name": "z2m_bind"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target device or group. Not needed for action=clear. | |
| from | Yes | Source device, optionally with /ENDPOINT. | |
| action | Yes | ||
| clusters | No | Clusters to bind, e.g. ['genOnOff','genLevelCtrl']. Omit to bind all supported clusters. |