Hi everyone,
I wanted to share a new tool for those of you experimenting with AI and home automation. I’ve just released/found a project called victron-tcp, which is an MCP (Model Context Protocol) server that bridges your Victron GX device (Cerbo, Venus, etc.) directly to AI agents like Claude.
What is this?
This tool allows you to talk to your solar system in plain English using the Claude Desktop app. Instead of checking a dashboard, you can simply ask:
-
“What is my current battery state of charge?”
-
“How much solar power did I generate in the last hour?”
-
“Is my inverter currently in Passthru mode?”
How it works
Unlike other integrations that use the VRM Cloud API, this server uses local Modbus TCP. This means:
-
Speed: Instant data retrieval from your local network.
-
Privacy: Your data stays local and doesn’t rely on an internet connection to the VRM portal.
-
Control: Access to any register supported by the GX Modbus service.
Key Features:
-
Real-time Monitoring: Fetch battery SOC, voltage, current, and power.
-
System Overview: Get the full state of your system (Solar, Grid, Battery, and Loads).
-
Device Discovery: Automatically identifies units on your GX device via Modbus Unit IDs.
-
Easy Integration: Built specifically for the Model Context Protocol (MCP), so it works out of the box with Claude Desktop.
Quick Start:
-
Enable Modbus TCP: On your GX Device, go to Settings > Services > Modbus/TCP and turn it ON.
-
Install: ```bash npm install -g victron-tcp
-
Configure Claude: Add the server to your
claude_desktop_config.json:JSON
"mcpServers": { "victron-tcp": { "command": "npx", "args": ["-y", "victron-tcp"], "env": { "VICTRON_IP": "192.168.1.xxx" } } }
Why use an MCP Server?
Instead of just “seeing” data, an AI agent can help you analyze it. You can ask Claude to “Watch my battery usage and tell me if I’ll make it through the night based on current loads” or “Explain why my solar yield is lower than yesterday.”
Check out the full documentation and source here: https://www.npmjs.com/package/victron-tcp
Would love to hear if anyone else is using AI to monitor their off-grid setups!