Home Assistant
Run your Home Assistant from your agent through Selora AI's MCP server (137 tools). Control devices, check sensors and history, look at cameras, and build or…
от lafoush1 762 установки в других каталогах
Установить Home Assistant в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Home Assistant (via Selora AI)
This skill connects your agent to Home Assistant through the Selora AI integration's MCP server. With it, the agent can see the whole home, act on it, and change its setup. Automations, scenes and service calls are validated and risk-assessed on the server. Most other changes run as soon as they are called, so the agent confirms with the user first (see How the tools behave).
What you can do
| Ask for… | For example |
|---|---|
| Control | "Turn off the downstairs lights", "Set the thermostat to 20°C", "Lock the front door" |
| Questions | "Is the garage open?", "When did the back door last open?", "How much energy did we use this week?", "Who's at the door?" (camera) |
| Automations | "Turn on the porch light at sunset", "Why didn't my morning routine run?", "What does this button do?" |
| Scenes & scripts | "Create a movie-night scene", "Make a Leaving-the-house script" |
| Organisation | "Put the hallway sensor in the Hallway", "Label all battery devices", "Add an Upstairs floor" |
| Dashboards | "Make a dashboard for the kids' room", "Move the garage door card to the top" |
| Health | "Is anything broken?", "Why is the kitchen sensor unavailable?", "What updates are waiting?", "Are backups working?" |
| Maintenance | Install HACS cards or integrations, apps (add-ons), and blueprints. Fix repairs. Edit configuration.yaml. Restart HA |
| Selora AI | Proactive suggestions from detected habits, and Selora's own home-aware chat for writing automations |
The full tool list is in references/tools.md.
Prerequisites
- Home Assistant 2025.1+ with Selora AI 1.0.0+ installed (guide).
- OpenClaw installed.
- One of these:
- a Selora Connect account with your HA installation linked (recommended, OAuth), or
- a Selora MCP token, if your setup can't use OAuth.
1. Get your MCP URL
In Home Assistant, open Selora AI → Settings → MCP Server.
| Access | URL |
|---|---|
| Local | http://homeassistant.local:8123/api/selora_ai/mcp |
| Remote | https://mcp-<id>.selorabox.com/api/selora_ai/mcp |
For remote access, turn on Connect via Selora account. That provisions the SeloraBox tunnel and shows your mcp-<id> URL (copy it with the copy button).
If mDNS is slow, use the HA IP address (e.g.
192.168.x.x) instead ofhomeassistant.local.
2. Add the MCP server
Option A: Selora Connect (OAuth, recommended)
There is no secret to store. OpenClaw runs the OAuth flow itself.
openclaw mcp set home-assistant '{"url":"https://mcp-<id>.selorabox.com/api/selora_ai/mcp","transport":"streamable-http","auth":"oauth"}'
Or edit ~/.openclaw/openclaw.json:
{
"mcp": {
"servers": {
"home-assistant": {
"url": "https://mcp-<id>.selorabox.com/api/selora_ai/mcp",
"transport": "streamable-http",
"auth": "oauth"
}
}
}
}
Then sign in:
- Restart the OpenClaw gateway.
- Run
openclaw mcp login home-assistant, or click Sign in on the server in OpenClaw Settings. - Open the authorization URL it prints and approve access on the Selora Connect consent screen.
- OpenClaw captures the redirect on its loopback listener and saves the credentials. Tokens refresh silently after that.
If the browser can't reach OpenClaw's callback listener (e.g. OpenClaw runs on another machine), see Cross-device callback.
Option B: Selora MCP token
Use this for headless servers, or when OAuth isn't an option.
- In Selora AI → Settings → MCP Server → MCP Tokens, click Add token.
- Name it (e.g.
OpenClaw) and choose a permission level:- Read Only: state, history, listings and validation. The agent can't change anything, including switching a light.
- Admin (all tools): full control, including the 🔒 tools.
- Custom: only the tools you select. A good choice for least privilege.
- Optionally set an expiration (7 days to 1 year).
- Copy the token (
smt_…). It is shown only once. - Keep it out of the config file: put it in an environment variable that the OpenClaw gateway can read (e.g.
SELORA_MCP_TOKEN), and reference that variable in the header:
{
"mcp": {
"servers": {
"home-assistant": {
"url": "https://mcp-<id>.selorabox.com/api/selora_ai/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer ${SELORA_MCP_TOKEN}"
}
}
}
}
}
Treat the token like a password. Prefer the HTTPS (remote) URL: over the local http:// URL the token travels unencrypted, so only use that on a network you trust. Revoke the token from the same settings page when you no longer need it, and run openclaw secrets audit --check to ma
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Home Assistant?
Run your Home Assistant from your agent through Selora AI's MCP server (137 tools). Control devices, check sensors and history, look at cameras, and build or fix automations, scenes, scripts, helpers and dashboards. Organise areas, floors and labels, diagnose broken integrations and Zigbee/Z-Wave devices, and manage updates, backups, HACS and apps. Use it whenever the user asks about their smart home or Home Assistant. Connects over MCP with Selora Connect OAuth or a scoped Selora MCP token.
Как установить скилл Home Assistant?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Home Assistant запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…