Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

home-assistant-setup

Skill by NetMindAI-Open

Sets up a local Home Assistant in Docker and connects smart-home devices, starting with Xiaomi and Mi Home. It returns a URL and token so the agent can be bound to the home in NarraNexus. Intended for local desktop users who do not yet have a Home Assistant URL and token.

  • Score 71
  • 90 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install home-assistant-setup

Built from the published package, never by AI.

git clone --depth 1 https://github.com/NetMindAI-Open/NarraNexus /tmp/NarraNexus && mkdir -p ~/.claude/skills && cp -r /tmp/NarraNexus/src/xyz_agent_context/module/skill_module/builtin_skills/home-assistant-setup ~/.claude/skills/home-assistant-setup

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install home-assistant-setup in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Home Assistant Setup deploys a local Home Assistant instance in Docker and connects smart-home devices to it, with Xiaomi and Mi Home as the main path. It uses a bundled ha_setup.py command-line tool that runs in steps: check the current state, deploy Home Assistant, create an admin account and long-lived access token, install the official Xiaomi Home integration, and complete the Xiaomi sign-in. The source says other ecosystems such as Hue, Zigbee or Z-Wave can be added through the WebSocket config_entries/flow API using the same pattern.

The final step binds the Home Assistant URL and token into NarraNexus so the agent can list and control the devices. It is aimed at users running NarraNexus on a local desktop who do not already have a Home Assistant URL and token. Cloud users are told to expose their own Home Assistant and paste its URL and token into the Smart Home config panel instead. Scenario rules, such as timed actions, are handled by the agent's Awareness rather than this skill.

Written from the project's SKILL.md and checked against it.

What it can do

  • doctorChecks what already exists, such as Docker, a running Home Assistant, onboarding, Xiaomi integration, hosts entry and token.
  • deployDeploys Home Assistant in Docker and waits until it is ready. Skips if the container is already running.
  • initCreates the admin account and mints a Long-Lived Access Token for Home Assistant.
  • install-xiaomiInstalls the official XiaoMi/ha_xiaomi_home integration and restarts Home Assistant.
  • xiaomi-loginGives the user a Xiaomi authorization link to sign in and approve access.
  • xiaomi-callbackCompletes the Xiaomi flow using only the code value from the failed homeassistant.local page.
  • xiaomi-finishCompletes the Xiaomi flow when the browser lands back on Home Assistant directly.
  • bindBinds the Home Assistant URL and token to the NarraNexus agent the user is talking to.

What you need

  • Docker installed on the user's machine
  • Python 3 with aiohttp
  • NarraNexus running on a local desktop
  • A Xiaomi or Mi Home account for Xiaomi devices

Try asking

  • Set up Home Assistant and connect my Xiaomi devices.
  • Check whether Docker and Home Assistant are already running on my machine.
  • Bind my Home Assistant URL and token to this agent.

Good to know

  • Designed for local or desktop use only, according to the source.
  • Cloud users must expose their own Home Assistant and paste the URL and token manually.
  • The optional hosts step needs the user's sudo password.
  • Scenario rules are not set up by this skill.

Security check

C
  • Asks for administrator rights (sudo)In src/xyz_agent_context/module/skill_module/builtin_skills/home-assistant-setup/SKILL.md: sudo

Checked automatically: src/xyz_agent_context/module/skill_module/builtin_skills/home-assistant-setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to home-assistant-setup

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

home-assistant-setup: common questions

Does this work when NarraNexus runs in the cloud?

No. The source says the skill is local or desktop only. Cloud users should expose their own Home Assistant and paste its URL and token into the Smart Home config panel.

Do I need to edit /etc/hosts?

Not by default. The source describes a path that sends the code from the failed homeassistant.local page, and says the hosts edit is optional and needs sudo.

Does this skill create automation rules?

No. The source says scenario rules live in the agent's Awareness, and this skill only makes the devices reachable.

How do I install home-assistant-setup?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is home-assistant-setup free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is home-assistant-setup safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to home-assistant-setup?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

home-assistant-setup Install

Add to stack

Loading.