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

glitch-homeassistant

bởi chris6970barbarian-hue

Smart Home & IoT
473Lượt tải do clawskills.sh công bố
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 smart home devices via Home Assistant API.

Mô tả

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

Controls Home Assistant devices from the command line via the HA REST API. Supports lights, switches, covers, climate, locks, scenes, and scripts. Entity matching is case-insensitive with partial and fuzzy name support.

Lets you control smart home devices from the terminal, making it straightforward to include device actions in shell scripts or automation workflows without switching to a browser or mobile app.

Khi nào nên dùng

  • Dimming bedroom lights to a set brightness before bed
  • Adjusting thermostat temperature from a terminal script
  • Activating a movie scene without opening the HA web UI
  • Running a morning routine script to trigger multiple devices at once
  • Listing all entities to find the correct device name

Quy trình ví dụ

ĐẦU VÀO

User asks: set the living room lights to orange at 40% brightness

AGENT
  1. 1

    Runs ha-cli on living room to turn on the light

  2. 2

    Runs ha-cli brightness 40 living room to set brightness

  3. 3

    Runs ha-cli rgb #FF5500 living room to apply the orange color

  4. 4

    Confirms entity was matched via fuzzy name resolution

ĐẦU RA

Living room light is on at 40% brightness with an orange color

Yêu cầu

  • Home Assistant instance running and accessible on your network
  • Long-Lived Access Token generated from your HA user profile page

Cài đặt

clawhub install chris6970barbarian-hue/glitch-homeassistant

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