← 返回
未分类 Key 中文

Homeassistant Mcp

Provides structured access to Home Assistant devices, sensors, and cameras via MCP, with specific handling for cameras, garage doors, and device control.
提供通过 MCP 对 Home Assistant 设备、传感器和摄像头的结构化访问,并对摄像头、车库门和设备控制进行专门处理。
dsnkzdeny
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 343
下载
💾 0
安装
1
版本
#latest

概述

Home Assistant MCP Skill

Description

This skill provides structured access to Home Assistant via its native MCP (Model Context Protocol) integration. It provides tools and context for interacting with devices, sensors, and cameras in the smart home.

Credentials

The MCP server endpoint is http://220.0.0.5:8123/api/mcp.

Ensure the connection is configured with the correct Long-Lived Access Token.

Best Practices

  1. Camera Snapshots:

MCP tools for cameras (video_garage, homeassistant___XXXXX) DO NOT WORK!

Always use exec with curl to the REST API to get camera snapshots:

curl -s -H "Authorization: Bearer " "http://220.0.0.5:8123/api/camera_proxy/camera." -o /home/clawd/.openclaw/workspace/.jpg

After fetching, verify it's a JPEG with file, then display it using the MEDIA: directive.

  1. Garage Operations:
    • The garage ESPHome logic is inverted: HassTurnOff = OPEN, HassTurnOn = CLOSE.
    • Wait 30-50 seconds after a command before checking the position.
    • True garage door position is determined by endstops, not just current_position: 0 or state.
    • Ignore Garage 2 Motion as it produces false positives.
  1. Device Control:
    • NEVER turn devices on or off without explicit user request.
    • Do not use the homeassistant__forced tool.
  1. Status Checks:
    • Use homeassistant__GetLiveContext to get a snapshot of all exposed entities.
    • If MCP tools timeout, fallback to the REST API: curl -H "Authorization: Bearer " http://220.0.0.5:8123/api/states/

Key Entities

Review /home/clawd/.openclaw/workspace/memory/home-assistant-entities.md for a full list of areas and key entities.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-21 14:02 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,218 📥 266,716
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,362 📥 318,826
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,385