Перейти к содержимому
TakoAPI
Назад к навыкам

mcp-hass

от al-one

Clawdbot Tools
2.3kЧисло загрузок по данным clawskills.sh
7Звёзды
1Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

The skill for control Home Assistant smart home devices and query states using MCP protocol.

Описание

Что делает этот навык

Controls Home Assistant smart home devices and queries device states using the MCP protocol. Supports turning devices on and off, adjusting light brightness and color, and setting fan speed percentages.

Lets agents invoke Home Assistant actions directly without building custom API wrappers or managing authentication headers manually.

Когда его использовать

  • Turning off all lights in a specific room at bedtime
  • Querying which devices are currently active across the home
  • Dimming living room lights to a set level for a movie
  • Adjusting bedroom fan speed based on preference
  • Checking and changing device states through a chat interface

Пример сценария

ВВОД

User asks: 'Turn on the bedroom light and set it to 50% brightness'

АГЕНТ
  1. 1

    Calls home-assistant.HassTurnOn with name 'Bedroom Light'

  2. 2

    Calls home-assistant.HassLightSet with name 'Bedroom Light' and brightness 50

  3. 3

    Calls home-assistant.GetLiveContext to confirm the updated state

ВЫВОД

Bedroom Light is on at 50% brightness

Требования

  • Home Assistant instance with MCP integration enabled (Settings > Devices & services > Add Integration > Model Context Protocol)
  • HASS_ACCESS_TOKEN: long-lived access token generated from your Home Assistant user profile
  • HASS_BASE_URL: base URL of your Home Assistant instance (e.g. http://homeassistant.local:8123)

Установка

clawhub install al-one/mcp-hass

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки