简介
通过本地 HTTP 接口控制 HomeKit 与 Home Assistant 智能家居设备,支持灯光、温控、门锁、窗帘等全品类操控,需配合 Itsyhome Pro 使用。
原始描述
Control and query HomeKit and Home Assistant smart home devices via the Itsyhome macOS app (https://itsyhome.app). Use when the user asks to turn devices on/...
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
技能正文
name: itsyhome-control description: "Control and query HomeKit and Home Assistant smart home devices via the Itsyhome macOS app (https://itsyhome.app). Use when the user asks to turn devices on/off, toggle lights, set brightness/temperature/color/fan speed/blind position, lock/unlock doors, open/close garage doors, run scenes, list rooms or devices, check device state or status. Requires Itsyhome Pro running on the same Mac as the OpenClaw gateway. Trigger on any smart home control intent (lights, thermostat, locks, blinds, fans, cameras, scenes, groups)."
Itsyhome Control
Itsyhome exposes a local HTTP webhook server (default port 8423) and a URL scheme (itsyhome://).
Prerequisites: Itsyhome Pro, webhook server enabled in Settings → Webhooks.
Core Pattern
All control and query happens via curl http://localhost:8423/<action>/<target>.
- Targets use
Room/Deviceformat or justDeviceName - Spaces →
%20in URLs - On success:
{"success": true}or JSON data - On failure:
{"error": "..."}with HTTP 4xx
Workflow
- If target is ambiguous →
curl http://localhost:8423/list/devicesto find exact names - To check current state →
curl http://localhost:8423/info/<target> - To control → appropriate action endpoint (see references/api.md)
- Confirm to user with what was done; include state if queried
Quick Reference
# Status
curl http://localhost:8423/status
# List
curl http://localhost:8423/list/rooms
curl http://localhost:8423/list/devices
curl http://localhost:8423/list/devices/Kitchen
# Query
curl http://localhost:8423/info/Office/Spotlights
# Control
curl http://localhost:8423/toggle/Office/Spotlights
curl http://localhost:8423/on/Kitchen/Light
curl http://localhost:8423/brightness/50/Bedroom/Lamp
curl http://localhost:8423/scene/Goodnight
For the full endpoint list, all control actions, and URL scheme reference: see references/api.md.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。