In short: I would LOVE to easily share my general HA setup (without personal data) as a file with an external AI agent like Claude or ChatGPT.
The paradoxes I run into:
I fully see the power of AI to design and build HA solutions. At the same time, I’m not keen to share personal data with external AI agents: patterns of how my family lives (wake-up times, internet and power use) and certainly no passwords.
AI agents can build beautiful and complex use cases. At the same time, as the local owner, I want to learn, understand and maintain my own setup.
The problem: Right now, finding the balance between my goals (eg privacy, learning, simplicity) and convenience (the power of AI) takes a lot of work. To improve my automations, scripts and helpers, I first have to explain my existing setup to the AI tool. I take screenshots and spend a lot of time describing the situation.
The idea: A built-in “HA context file” that gives a reference overview of my setup: devices, entities, automations, scripts, helpers, integrations, apps, and so on. I could upload it to an AI chat in one go. A small wizard where I choose which parts to include would be ideal.
For example:
Structure only: no states, history or timestamps, so no family patterns
Privacy by default: secrets, tokens, locations left out
Relations included: which entities belong to which device, area and automation
…
Update: Perhaps an even better solution: Create a separate privacy friendly MCP tool Set.
A set that only exposes the structure (devices, entities, automations, helpers, integrations and how they relate) and never shares states, history or logs.
Hi, both partly, I think. As I understand MCP Device control ‘only’ supports whitelisted (voice assistant) entities, not the full structure and relations like devices, automations, scripts, floors, labels, etc (and it shares live entities states). The MCP Home Assistant would exposed full access including history.
Thanks! I checked: the Home Assistant set does give structure (search, config entries), but you can’t select single tools, so history statistics and logs always come with it.
If I’m overlooking something, I’d really like to hear it. I’m here to learn!
As more of daily life connects to HA (more specific/niche automations, voice assistants answering everyday questions, etc), more personal data flows through. I’m keen to exclude that data when I work with AI agents/chats.
In addition to the opening post/thought, perhaps an even better solution: Create a separate MCP tool Set.
A set that only exposes the structure (devices, entities, automations, helpers, integrations and how they relate) and never shares states, history or logs.
Well I’ve found that if you want to edit code in HA, Using the Code Server app and enabling co-piliot thru GitHub works great. It has access and fix all the things. I have most of my configuration stored on Github so it has access to that history which is needed to fix problems that Spook points out, for instance.