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

lofy-home

bởi harrey401

CLI Utilities
674Lượ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

Smart home control for the Lofy AI assistant — scene modes (study, chill, sleep, morning, grind), device management.

Mô tả

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

Controls smart home devices through a Home Assistant instance using natural language commands. Supports preset scene modes for different activities, individual device control for lights, music, and thermostat, and wake-on-LAN for PCs. Device mappings and scenes are defined in a local config file.

Wraps Home Assistant's REST API with natural language so device control works without opening the HA dashboard or app.

Khi nào nên dùng

  • Activating study mode to set desk lamp to full brightness and start a focus playlist
  • Saying 'goodnight' to trigger the sleep scene across all devices
  • Waking up a PC remotely before walking to the desk
  • Adjusting thermostat temperature with a casual phrase like 'it's cold'
  • Running 'I'm heading out' to cut lights and switch to eco mode

Quy trình ví dụ

ĐẦU VÀO

User asks: study mode

AGENT
  1. 1

    Read scene definition for 'study' from data/home-config.json

  2. 2

    Send POST to Home Assistant API to set desk_lamp brightness to 100% with cool color temp

  3. 3

    Send POST to Home Assistant API to start lofi-focus playlist at volume 25 on room speaker

  4. 4

    Enable do-not-disturb via configured entity

ĐẦU RA

Study mode ✓ — desk lamp bright, lo-fi on, DND

Yêu cầu

  • HA_TOKEN environment variable (Home Assistant long-lived access token)
  • Home Assistant instance running and network-accessible

Cài đặt

clawhub install harrey401/lofy-home

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