跳到正文
TakoAPI
返回技能列表

homey-cli

由 krausefx 提供

Smart Home & IoT
1.8k下载量由 clawskills.sh 提供
3星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Control Homey home automation hub.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: Dim the kitchen lights to 40%

智能体
  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

输出

Kitchen lights dimmed to 40%

前置要求

  • 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

安装

clawhub install krausefx/homey-cli

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接