360 Secure SkillHub
360 安全技能中心

Itsyhome Control

该 Skill 借助 Itsyhome Pro 在 macOS 本机提供的 HTTP webhook 接口(默认端口 8423),用 curl 对 HomeKit 与 Home Assistant 设备执行控制与查询:开关、亮度、颜色、温度、风速、窗帘位置、门锁、车库门与场景执行,并可列举房间、设备、分组、场景及读取设备状态,另附完整端点参考文档。

nickustinov
nickustinov
热度 61.68
最近更新 2026-05-18 12:06:58
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add itsyhome-control
Metadata
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/Device format or just DeviceName
  • Spaces → %20 in URLs
  • On success: {"success": true} or JSON data
  • On failure: {"error": "..."} with HTTP 4xx

Workflow

  1. If target is ambiguous → curl http://localhost:8423/list/devices to find exact names
  2. To check current state → curl http://localhost:8423/info/<target>
  3. To control → appropriate action endpoint (see references/api.md)
  4. 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.