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

homey-cli

bởi krausefx

Smart Home & IoT
1.8kLượt tải do clawskills.sh công bố
3Sao
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 Homey home automation hub.

Mô tả

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

A CLI tool for controlling Homey home automation hubs from the terminal or an AI agent. Supports device control (on/off, dimming, colors, temperature), zone listing, flow triggering, and full hub inventory. Uses OAuth for authentication and restricts write operations to a capability allowlist.

The allowlisted capability model lets agents safely control smart home devices without risking destructive operations like deleting devices or modifying flows.

Khi nào nên dùng

  • Turn specific lights on or off by name
  • Dim living room lights to a set percentage
  • Check current temperature reading from a bedroom sensor
  • Trigger a scheduled automation flow
  • Get a full inventory of all smart home devices

Quy trình ví dụ

ĐẦU VÀO

User asks: Dim the kitchen lights to 40%

AGENT
  1. 1

    Run bash run.sh devices list --json to retrieve all devices

  2. 2

    Find the device ID matching the kitchen lights

  3. 3

    Run bash run.sh devices dim <deviceId> 0.4

  4. 4

    Confirm the command output indicates success

ĐẦU RA

Kitchen lights dimmed to 40%

Yêu cầu

  • Homey hub on the local network
  • Homey developer app credentials (Client ID and Client Secret) from https://tools.developer.homey.app/tools/app
  • HOMEY_CLIENT_ID environment variable
  • HOMEY_CLIENT_SECRET environment variable
  • HOMEY_REDIRECT_URL environment variable

Cài đặt

clawhub install krausefx/homey-cli

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