Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

homeassistant-assist

bởi developmentcats

AI & LLMs
2.4kLượt tải do clawskills.sh công bố
6Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Control Home Assistant smart home devices using the Assist (Conversation) API.

Mô tả

Kỹ năng này làm gì

Passes natural language commands to Home Assistant's built-in Assist (Conversation) API to control smart home devices. Handles lights, switches, thermostats, covers, vacuums, media players, and any other entity in Home Assistant. Intent parsing and entity resolution are handled by Assist, not the agent.

Delegates intent parsing and entity resolution to Home Assistant's native NLU instead of reimplementing that logic in the agent, keeping commands fast and token-efficient.

Khi nào nên dùng

  • Turn off all lights before leaving home
  • Set the thermostat to a specific temperature
  • Ask which lights are currently on
  • Control a specific room's devices by area
  • Trigger a vacuum to start cleaning

Quy trình ví dụ

ĐẦU VÀO

User asks: turn on the living room lights

AGENT
  1. 1

    Reads HASS_SERVER and HASS_TOKEN from environment

  2. 2

    Sends POST request to /api/conversation/process with the natural language text

  3. 3

    Receives response from Assist with response.speech.plain.speech field

  4. 4

    Relays the speech text back to the user

ĐẦU RA

"Turned on the light" — Home Assistant confirms the entity was activated

Yêu cầu

  • HASS_SERVER environment variable (URL of your Home Assistant instance)
  • HASS_TOKEN environment variable (long-lived access token from Home Assistant profile)
  • Home Assistant instance with Assist enabled

Cài đặt

clawhub install developmentcats/homeassistant-assist

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết