Let your agent run smart-home automations
Connect your agent to Home Assistant via MCP and route automations that need judgement through it; talk to it with an ESP32 voice device.
Source
@jritsema on X · 2026-10-04
Written in our own words. Credit to the original author. Link checked 2026-11-19.
What they did
Connect your agent to Home Assistant via MCP and route automations that need judgement through it; talk to it with an ESP32 voice device.
Result (as claimed)
Home Assistant automations that need judgement are routed to his agent through the HA MCP, and he talks to it through an ESP32 voice device.
Tools they used
Tools in our setup
Suggested in the setup steps below; not named in the source.
Cost: Home Assistant is free and open source; Home Assistant Cloud $6.50/mo is optional for remote access; agent from its own plan.
Set it up
Install Home Assistant
Walk me through installing Home Assistant on [device], adding my devices, and organizing them into areas.
Expose devices to the agent
Enable the Home Assistant MCP server integration and expose only the entities the agent may control (lights, climate, media). Do not expose locks, alarms or garage doors.
Connect the agent
Configure my agent to use the Home Assistant MCP server with a long-lived access token stored as HA_TOKEN and the URL as HA_URL. Test with read-only questions first.
Routines
Create 3 routines with the agent: evening lights, away mode, and a morning summary of temperature and devices left on. Ask me before any action that uses energy-heavy devices.
Phone control
Add a Telegram bot so I can send commands and get alerts; only accept messages from my chat ID.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Let your agent run smart-home automations What the original author did: Connect your agent to Home Assistant via MCP and route automations that need judgement through it; talk to it with an ESP32 voice device. Reported result (as claimed by the author): Home Assistant automations that need judgement are routed to his agent through the HA MCP, and he talks to it through an ESP32 voice device. Source: https://x.com/jritsema/status/2106585588287820011 Tools they used: Home Assistant, ESP32 Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Let your agent run smart-home automations What the original author did: Connect your agent to Home Assistant via MCP and route automations that need judgement through it; talk to it with an ESP32 voice device. Reported result (as claimed by the author): Home Assistant automations that need judgement are routed to his agent through the HA MCP, and he talks to it through an ESP32 voice device. Source: https://x.com/jritsema/status/2106585588287820011 Tools they used: Home Assistant, ESP32 Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Let your agent run smart-home automations What the original author did: Connect your agent to Home Assistant via MCP and route automations that need judgement through it; talk to it with an ESP32 voice device. Reported result (as claimed by the author): Home Assistant automations that need judgement are routed to his agent through the HA MCP, and he talks to it through an ESP32 voice device. Source: https://x.com/jritsema/status/2106585588287820011 Tools they used: Home Assistant, ESP32 Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to build a smart home and voice assistant with AI agents · How to connect an AI agent to Home Assistant (Claude, ChatGPT, Claude Code, Codex, 2026) · How to design a PCB and electronics with AI · How to fix Wi-Fi and secure your home network with AI (Nmap, Pi-hole, NextDNS, UniFi)
Related use cases
Simulate a smart-home leak and let an agent handle the repair email
He built HousePilot, an interactive 3D home with virtual sensors connected to an agent over MCP. Simulate a kitchen leak, review the agent's response, approve a real maintenance email and track what happened.
Vibe-code Home Assistant automations on a Raspberry Pi with Grok Bot
A homeowner uses Grok Bot to write and set up Home Assistant automations running on his Raspberry Pi.
Build a physical voice box for your AI agent with an ESP32
A maker built a physical voice interface for his own AI agent on an ESP32, powered by Hermes Agent from Nous Research, and documented the build in a 16-part thread.
Let an agent log in to sites without handing it your passwords
1Password launched "1Password for Agents", a platform built for one problem: letting an AI agent log in to things without giving it your passwords.