Assign Channel to Room/Function
assign_channelAssign a HomeMatic channel to a room or function group by providing the channel address and the exact room or function name. Requires at least one target to organize the device.
Instructions
Assign a channel to a room and/or a function group. Identify the channel by address and the room/function by name (use list_rooms / list_functions to see names). At least one of room or function is required.
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": {
"channel": "<channel>"
},
"name": "assign_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | No | Room name (exact match) | |
| channel | Yes | Channel address (e.g. '000A1BE9A71F15:1') | |
| confirm | No | Set true to authorize this write against a protected CCU target (e.g. prod). Unlocks writes to that target for the rest of the session. | |
| function | No | Function group name (exact match) |