微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🏠

本地毫秒级智控中枢

Itsyhome Control · v1.0.1
效率 安全 B 级 作者 nickustinov 公开目录收录
下载 1.3k 安装 0 收藏 3.9k 浏览 11
下载 zip

简介

通过本地 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 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/itsyhome-control/
其它 Agent解压到它自己的 skills 目录,目录名用 itsyhome-control

包里是 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/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.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

homekithome-assistantsmart-homelocal-apiiot-controlwebhookmacos

同类 Skill