← Back to library

Bring a stalled Home Assistant setup back with Claude

u/pjmarcum, an IT worker, installed Home Assistant with switches, locks, sensors and an alarm panel after a four-day internet outage, then left it for eighteen months because upkeep felt like a second job. Connecting Claude to the instance, he found changes that would have taken days were finished in minutes, and his interest in home automation returned.

  • OutcomeConnect Claude to a Home Assistant install you gave up on, keep local control as the base, and let the AI do the tedious configuration.
  • SetupUnder an hour
  • LevelIntermediate
  • Creditu/pjmarcum on r/homeassistant
View original
Works with
Claude

Published Oct 23, 2026Updated Oct 23, 2026AI dry run on sample input: passed Oct 23, 2026Source verified Oct 23, 2026

When should you use it?

  • You own smart devices but stopped maintaining them
  • You want local control without outages
  • You dislike editing YAML

Not for: Homes with no manual fallback; Safety systems you cannot test

What do you need, and what do you get?

You need

  • Home Assistant instance
  • List of devices
  • Access token for Claude

You get

  • Working automations
  • Clean dashboards
  • Notes on each change

How does it work, step by step?

  1. Inventory devicesHave Claude list every entity and flag ones that are offline.
  2. Pick three automationsStart with lights, the garage door and arrival unlock.
  3. Review each changeAsk for a plain explanation before it applies anything.
  4. Test locallyUnplug the router and confirm the basics still run.
  5. Keep a backupSnapshot the config before each session.

The prompt

Our own prompt, inspired by u/pjmarcum on r/homeassistant and written to work in Claude. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt2 variables
Connect to my Home Assistant at {ha_url}. List all entities, which are unavailable, and which automations exist.
Propose fixes for {top_three_goals}. For each change, explain it in plain words and wait for my approval before applying.
Prefer local integrations over cloud ones, and note anything that would stop working without internet.

Inspired by u/pjmarcum on r/homeassistant: Claude and Home Assistant. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Locks and garage doors need manual overrides.
  • Token access can change anything; scope it if you can.
  • Keep the original local-first reason in mind when adding cloud integrations.

Our take

This is a common Home Assistant story: good hardware bought with a local-first goal, then abandonment because YAML and breakage never end. Using an AI for that upkeep is a good fit, because the hard part was never the idea of automations, it was keeping them working. Keep the original goal in charge. Every automation should still run when the internet is down, locks and doors need physical overrides that do not depend on software, and you want a configuration snapshot before each editing session so a bad change can be rolled back. Ask for an explanation of every change so you relearn the system as it gets fixed, rather than ending up with a black box only the agent understands. Start with three high-value automations, test each one locally, and expand only after those are stable. Keep Claude's access limited; it does not need cloud control of locks if a local integration will do. Document device names and rooms in a simple file the agent can read.

Where the time goes back: Hours of configuration work become a short supervised session.

FAQ

Why Home Assistant at all?
He wanted lights to work during an outage that cut internet and cell service for days.
What changed?
Claude did configuration that he had found too tedious to keep up.

Source and credit

Inspired by u/pjmarcum on r/homeassistant. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Claude and Home Assistant
Creator
u/pjmarcum on r/homeassistant
Published on
Reddit
Original date
Sep 25, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Claude
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends, bookings or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Privacy & Security

All 22 Privacy & Security playbooks →

Related playbooks

Privacy & SecurityPrompt✓ AI dry run

Audit and clean up your digital footprint

Find what anyone can see about you online, decide what to delete, lock down or update, and work through a cleanup plan.

Credit: Theo Builds AI (@TheoBuildsAI)

Under an hour
Privacy & SecurityPrompt✓ AI dry run

Check your family's cars for open safety recalls

With your relatives' permission, have an assistant work out which cars the family drives from routine emails, check each one against official recall records, explain any open recall in plain words and keep watching, while it flags scam emails on the side.

Credit: Albus (@0xAlbus)

Minutes
Privacy & SecurityWorkflow✓ AI dry run

Draft personal-data removal requests you submit yourself

Hand an assistant only labeled notes and public links, let it build a tracker of possible exposures, write short take-down and deletion drafts for you to review, put already-leaked secrets first, and produce a monthly due list that leaves private details out, while every submission and sign-in stays with you.

Credit: u/UnusualRub4807 on r/hermesagent

Under an hour
Privacy & SecurityWorkflow✓ AI dry run

Family AI chat server on your home network

Run a local model with a web chat front end on a home server, give each family member an account, and let an agent handle setup and accounts from your phone.

Credit: roadside_picnic on Hacker News

An afternoon+
Privacy & SecurityWorkflow✓ AI dry run

Give your bot's mailbox a web inbox

Have your bot build and deploy a small web inbox for its own email address on your own hosting accounts, so you can read, search and reply outside the chat.

Credit: u/Aggravating_You_4431 on r/grok

Under an hour