debmatic-mcp

v1.3.0
io.github.claymore666/debmatic-mcp Checked 5 hours ago Published 5 months ago

MCP server for controlling HomeMatic smart home devices via the CCU JSON-RPC API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_devices List Devices

List all devices with their channels, types, and addresses. Optional filters: room, function, type, name. Use this first to discover device addresses for get_value/set_value.

ParameterTypeDescription
functionstringFilter by function group name (exact match)
namestringFilter by device/channel name (substring, case-insensitive)
roomstringFilter by room name (exact match)
typestringFilter by device type (exact match, e.g. 'HmIP-eTRV-2')

list_interfaces List Interfaces

List available communication interfaces (BidCos-RF, HmIP-RF, VirtualDevices, etc.).

list_rooms List Rooms

List all rooms with their assigned channel IDs. Use with list_devices to find devices by room.

list_functions List Functions

List all function groups (Heating, Lighting, etc.) with their assigned channel IDs.

list_programs List Programs

List all automation programs. Use execute_program to trigger them.

ParameterTypeDescription
namestringFilter by program name (substring, case-insensitive)

list_system_variables List System Variables

List all system variables with current values and metadata. Use set_system_variable to modify them.

ParameterTypeDescription
namestringFilter by variable name (substring, case-insensitive)

describe_device_type Describe Device Type

Get the full channel/datapoint schema for a device type (e.g. 'HmIP-eTRV-2'). Shows all channels, paramsets, datapoint names, types, ranges, and operations. Served from cache (instant). Use list_devices first to find device types.

ParameterTypeDescription
deviceType *stringDevice type name (e.g. 'HmIP-eTRV-2', 'HmIP-SWDO-I'). Get from list_devices.

get_value Get Value

Read a single datapoint value from a device channel. Only address and valueKey are required — interface is auto-resolved. Use list_devices to find addresses, describe_device_type to find valid valueKeys.

ParameterTypeDescription
address *stringChannel address (e.g. '000A1BE9A71F15:1')
valueKey *stringDatapoint name (e.g. 'STATE', 'LEVEL', 'ACTUAL_TEMPERATURE')
interfacestringInterface name override (auto-resolved if omitted)

get_values Get Values (Bulk)

Read datapoint values for multiple channels at once via HM Script. Provide either a list of channel addresses, or filter by room or function name.

ParameterTypeDescription
channelsarrayArray of channel addresses to read
functionstringFunction name — read all channels in this function group
roomstringRoom name — read all channels in this room

get_paramset Get Paramset

Read all parameters for a channel (VALUES, MASTER, or LINK). Interface is auto-resolved from the address.

ParameterTypeDescription
address *stringChannel address (e.g. '000A1BE9A71F15:1')
paramsetKey *stringParamset to read
interfacestringInterface name override (auto-resolved if omitted)

set_value Set Value

Set a single datapoint value on a device channel. Only address, valueKey, and value are required — interface and type are auto-resolved. Returns the previous value for undo. Use describe_device_type to find valid valueKeys and ranges.

ParameterTypeDescription
address *stringChannel address (e.g. '000A1BE9A71F15:1')
value *string | number | booleanValue to set
valueKey *stringDatapoint name (e.g. 'STATE', 'LEVEL', 'SET_POINT_TEMPERATURE')
interfacestringInterface name override (auto-resolved if omitted)
typestringValue type override (auto-resolved if omitted)

put_paramset Put Paramset

Write multiple parameters at once (e.g. thermostat weekly profile). Interface is auto-resolved from address.

ParameterTypeDescription
address *stringChannel address
paramsetKey *stringParamset to write
set *objectKey-value pairs to write (e.g. {TEMPERATURE_WINDOW_OPEN: 5.0})
interfacestringInterface name override

set_system_variable Set System Variable

Set a system variable value. Type is auto-detected — use list_system_variables to see available variables.

ParameterTypeDescription
name *stringVariable name (exact match)
value *string | number | booleanValue to set

create_system_variable Create System Variable

Create a new system variable. Types: 'bool', 'float' (optional min/max/unit), 'enum' (requires values list), 'string'. Use set_system_variable to write it afterwards, list_system_variables to see existing ones.

ParameterTypeDescription
name *stringNew variable name (must not already exist)
type *stringVariable type
descriptionstringHuman-readable description shown in the WebUI
maxnumberMaximum value (float only)
minnumberMinimum value (float only)
unitstringUnit label (float only, e.g. '°C')
valuesarrayEnum value labels in order (enum only, e.g. ['off','low','high'])

delete_system_variable Delete System Variable

Delete a system variable by name. Use list_system_variables to see existing names.

ParameterTypeDescription
name *stringVariable name (exact match)

execute_program Execute Program

Trigger an automation program on the CCU. NOT idempotent — will not be auto-retried. Use list_programs to find program IDs.

ParameterTypeDescription
id *stringProgram ID. Get from list_programs.

assign_channel Assign Channel to Room/Function

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.

ParameterTypeDescription
channel *stringChannel address (e.g. '000A1BE9A71F15:1')
functionstringFunction group name (exact match)
roomstringRoom name (exact match)

unassign_channel Remove Channel from Room/Function

Remove a channel from 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.

ParameterTypeDescription
channel *stringChannel address (e.g. '000A1BE9A71F15:1')
functionstringFunction group name (exact match)
roomstringRoom name (exact match)

get_service_messages Get Service Messages

Get all active service messages (low battery, unreachable, etc.) with device details and timestamps.

acknowledge_service_messages Acknowledge Service Messages

Confirm/dismiss active service messages (e.g. clear a low-battery or unreachable warning). Provide an alarm id (from get_service_messages) to confirm one message, or a channel address to confirm all active messages on that channel. A warning reappears if its condition persists.

ParameterTypeDescription
addressstringChannel address — confirm all active messages on this channel (e.g. '000A1BE9A71F15:0')
idstringAlarm id from get_service_messages (confirm a single message)

get_system_info Get System Info

Get CCU system information: firmware version, serial number, addresses.

get_rssi Get RSSI / Radio Quality

Report radio link quality (RSSI, in dBm) for every device, resolved to device names, plus BidCos interface health (duty cycle, connected state). Covers both transports: BidCos-RF via Interface.rssiInfo, and HmIP-RF via each device's RSSI_DEVICE/RSSI_PEER maintenance datapoints. Use to answer 'why is this sensor flaky?'. Higher (closer to 0) dBm is better; null = no measurement.

ParameterTypeDescription
namestringFilter by device name or address (substring, case-insensitive)

help Help

Context-aware help. No args: conceptual guide. Tool name (e.g. 'set_value'): tool usage. Device type (e.g. 'HmIP-eTRV-2'): capabilities from cache.

ParameterTypeDescription
topicstringTool name, device type, or omit for general guide

run_script Run HomeMatic Script

Execute arbitrary HomeMatic Script on the CCU. NOT idempotent — will not be auto-retried. Use for anything the other tools don't cover.

ParameterTypeDescription
script *stringHomeMatic Script to execute