weishaupt-wem-mcp-server
Weishaupt WEM Portal MCP Server
Steuern und überwachen Sie Ihre Weishaupt-Heizungsanlage mit KI-Assistenten über das WEM Portal
Funktionen
Geräteerkennung – Alle Geräte und Module aus Ihrem WEM-Portal-Konto auflisten
Live-Parameter – Temperaturen, Druck, Betriebsarten mit aktuellen Werten auslesen
Gesamtübersicht – Einen vollständigen Überblick über Ihre gesamte Heizungsanlage mit einem einzigen Aufruf erhalten
Parameter schreiben – Zieltemperaturen, Betriebsarten, Zeitpläne anpassen
Gerätestatus – Verbindungsstatus Ihrer Geräte prüfen
Schreibbarer Filter – Nur die Parameter auflisten, die Sie tatsächlich ändern können
Sitzungsverwaltung – Automatische cookie-basierte Authentifizierung mit Login-Sperre für gleichzeitige Anfragen
Related MCP server: victron-tcp
Schnellstart
Installation über npx (empfohlen)
Keine Installation erforderlich. Konfigurieren Sie Ihren MCP-Client für die Ausführung:
npx @disane-dev/weishaupt-wem-mcp-serverInstallation aus dem Quellcode
git clone https://github.com/Disane87/weishaupt-wem-mcp-server.git
cd weishaupt-wem-mcp-server
npm install
npm run buildKonfiguration
Fügen Sie zu Ihrer Claude-Desktop-Konfiguration hinzu:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"weishaupt-wem": {
"command": "npx",
"args": ["-y", "@disane-dev/weishaupt-wem-mcp-server"],
"env": {
"WEM_USERNAME": "your_email@example.com",
"WEM_PASSWORD": "your_password"
}
}
}
}claude mcp add weishaupt-wem -- npx -y @disane-dev/weishaupt-wem-mcp-serverSetzen Sie die Umgebungsvariablen WEM_USERNAME und WEM_PASSWORD, bevor Sie starten.
{
"mcpServers": {
"weishaupt-wem": {
"command": "node",
"args": ["/path/to/wem-mcp/build/index.js"],
"env": {
"WEM_USERNAME": "your_email@example.com",
"WEM_PASSWORD": "your_password"
}
}
}
}Umgebungsvariablen
Variable | Erforderlich | Beschreibung |
| Ja | Ihre WEM-Portal-E-Mail |
| Ja | Ihr WEM-Portal-Passwort |
| Nein | API-Basis-URL (Standard: |
Verfügbare Tools
Tool | Beschreibung |
| Alle Geräte mit Modulen auflisten. Rufen Sie dies zuerst auf, um IDs zu ermitteln. |
| Verbindungsstatus eines Geräts abrufen |
| Vollständige Geräteübersicht: alle Module mit allen Parametern in einem Aufruf |
| Alle Parameter eines Moduls mit aktuellen Werten abrufen |
| Parameter-Metadaten abrufen (Namen, Min/Max, Aufzählungen, Schreibbarkeits-Flag) |
| Nur einstellbare Parameter mit Bereichen und Optionen auflisten |
| Bestimmte Parameterwerte per ID auslesen |
| Einen Parameterwert setzen (z. B. Zieltemperatur) |
[!TIP] Beginnen Sie mit
wem_get_devices, um IhredeviceId,moduleIndexundmoduleTypezu ermitteln, und verwenden Sie dannwem_get_overviewfür einen vollständigen Überblick über Ihre Heizungsanlage.
Typischer Arbeitsablauf
1. wem_get_devices
-> Returns devices with modules (WE0=heat generator, HZK0=heating circuit, WW0=hot water)
2. wem_get_overview (deviceId)
-> Returns ALL modules with ALL parameters in one call
3. wem_get_writable_parameters (deviceId, moduleIndex, moduleType)
-> Shows what you can adjust, with min/max ranges
4. wem_write_parameter (deviceId, moduleIndex, moduleType, parameterId, numericValue)
-> Sets a writable parameter (e.g. target temperature)Häufige Modultypen
Typ | Name | Beschreibung |
1 | SYSTEM | Systemübersicht |
2 | HZK | Heizkreis (Temperaturen, Betriebsart) |
3 | WW | Warmwasser (Temperatur, Stoß, Zeitplan) |
5 | TERMINAL | Bedienfeld |
6 | GATEWAY | Kommunikations-Gateway |
7 | WE | Wärmeerzeuger (Kessel/Wärmepumpen-Leistung) |
9 | Device | Physische Geräteeinheit |
10 | GROUND | Bodenmodul |
Entwicklung
Befehl | Beschreibung |
| Projekt erstellen |
| Watch-Modus (automatischer Neuaufbau bei Änderungen) |
| Server direkt ausführen |
| API-Verbindung testen |
| Offizieller MCP-Inspektor (Web-UI) |
| CLI-Inspektor für schnelle API-Tests |
Fehlerbehebung
[!NOTE] Stellen Sie sicher, dass Sie sich bei wemportal.com anmelden können, bevor Sie diesen Server verwenden.
Problem | Lösung |
Authentifizierung fehlgeschlagen | Anmeldedaten überprüfen, prüfen, ob das WEM-Portal nach zu vielen Versuchen blockiert |
Verbindungszeitüberschreitung | Internet prüfen, WEM-Portal kann vorübergehend nicht verfügbar sein (30s Standard-Timeout) |
Parameterwerte zeigen 0 | Einige Parameter (z. B. Raumtemperatur) erfordern einen physischen Sensor, der mit dem Gerät verbunden ist |
Mitwirken
Beiträge sind willkommen! Bitte eröffnen Sie ein Issue oder reichen Sie einen Pull-Request ein.
Lizenz
MIT – siehe LICENSE
disane.dev | Blog | GitHub | npm
Available Tools
8 toolswem_get_devicesA
Get all WEM devices with their modules. Returns device IDs, names, connection status, and module list (each with Index, Type, Name). Use this first to discover deviceId, moduleIndex, and moduleType needed for other tools.
Inputs: no named parameters.
wem_get_device_statusB
Get connection/online status of a specific device.
Inputs: deviceId (required).
wem_get_overviewA
Get a complete overview of a device: all modules with all their parameters and current values in a single call. Useful for getting a full picture of the heating system state.
Inputs: deviceId (required).
wem_get_parameter_metaA
Get metadata for all parameters of a module: parameter IDs, names, writable flag, data types, min/max values, enum options. Use this to discover available parameters before reading values.
Inputs: deviceId (required), moduleType (required), moduleIndex (required).
wem_get_parametersA
Get all parameters of a module with current values. Combines metadata + refresh + read into one call. Returns parameter names, current numeric/string values, units, and writable flags.
Inputs: deviceId (required), moduleType (required), moduleIndex (required).
wem_get_writable_parametersA
Get only the writable parameters of a module (parameters that can be changed). Shows current values, min/max ranges, and enum options. Useful to see what can be adjusted.
Inputs: deviceId (required), moduleType (required), moduleIndex (required).
wem_read_parametersA
Read current values for specific parameters. Refreshes data from device first, then reads. Use when you only need specific parameter values instead of all.
Inputs: deviceId (required), moduleType (required), moduleIndex (required), parameterIds (required).
wem_write_parameterA
Set a parameter value (e.g., target temperature). Only works for writable parameters. Check wem_get_parameter_meta for min/max values and enum options first.
Inputs: deviceId (required), moduleType (required), moduleIndex (required), parameterId (required), +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Five of eight tools are read-oriented and overlap substantially: wem_get_parameters explicitly 'combines metadata + refresh + read', which duplicates wem_get_parameter_meta and wem_read_parameters, while wem_get_overview and wem_get_writable_parameters are largely views/filters over the same data. The descriptions do clarify scope (device-wide vs module-wide vs specific params vs writable-only), preventing total confusion, but an agent must read carefully to pick correctly.
All tools use a clean wem_<verb>_<noun> snake_case pattern. The only blemish is inconsistent verb choice for the same operation: wem_get_parameters vs wem_read_parameters vs wem_get_parameter_meta, which mixes 'get' and 'read' for parameter retrieval.
Eight tools is a reasonable, well-scoped size for a device-control server. However, the read surface (overview, all parameters, specific parameters, writable parameters, metadata) could likely be consolidated to 2-3 tools, so a couple of tools do not fully earn their place.
The lifecycle is well covered: device discovery, status, parameter metadata, reading values, and writing values form a complete read/inspect/write loop. Minor gaps remain: no batch write for multiple parameters, and no alarm/fault/error diagnostics beyond connection status.
Maintenance
Related MCP Connectors
Home energy for AI assistants: live Power flow, Energy history, solar forecast, and device control.
Control your Tesla from your AI assistant - climate, charging, access, and security.
weclapp ERP in your AI assistant: reads instantly, writes only after a preview you approve.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Home Assistant smart home devices through natural language. Control devices, manage automations, query entity states, and retrieve historical data across your home automation system.1MIT
- AlicenseAqualityBmaintenanceConnect AI assistants to Victron Energy systems to read real-time solar, battery, grid, and inverter data from your local network via Modbus TCP or MQTT.3223 npm7MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLM applications to query and visualize data from Bosch/Buderus heat pumps via ems-ESP, including temperatures, statistics, and heat curves through natural language.10MIT
- AlicenseAqualityDmaintenanceAn unofficial MCP (Model Context Protocol) server that exposes a Vaillant heat pump's data to AI assistants like Claude. Query outdoor and room temperatures, hot water status, energy consumption, COP estimates, schedules, and diagnostics through natural conversation.4MIT