Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

home-automation家庭自动化

Agent Skill

home-automation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

367

周安装

15

GitHub Stars

4

下载量

118
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:home-automation(家庭自动化)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/home-automation
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill home-automation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill home-automation

简介

home-automation 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索筛选等研究检索场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否涉及联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

home-automation

Purpose

This skill integrates smart home systems using Home Assistant, HomeKit, Google Home, and Matter protocols, allowing the AI to control IoT devices programmatically for automation tasks.

When to Use

Use this skill for automating home environments, such as controlling lights, thermostats, or security systems via IoT platforms. Apply it in scenarios like smart home apps, voice assistant integrations, or custom scripts for daily routines (e.g., turning off lights at bedtime).

Key Capabilities

  • Connect to Home Assistant via REST API for device state management.
  • Integrate with HomeKit using the HAP protocol for Apple ecosystem devices.
  • Use Google Home APIs for controlling compatible smart devices.
  • Handle Matter devices through bridge APIs for cross-platform compatibility.
  • Specifics: Home Assistant API endpoint for states is GET /api/states; HomeKit requires Bonjour discovery; Google Home uses OAuth 2.0 with scopes like https://www.googleapis.com/auth/homeautomation; Matter involves IP-based commissioning.

Usage Patterns

To use this skill, first initialize it with authentication. Import via skill.use('home-automation'), then call methods like skill.connect(service, key). For sequential tasks, chain calls: connect, query state, execute action. Always handle async operations with promises or callbacks. Config format: JSON objects, e.g., {"service": "home-assistant", "api_url": "http://localhost:8123"}.

Common Commands/API

  • CLI: Run openclaw home-automation connect --service home-assistant --api-url http://localhost:8123 --key $HOME_ASSISTANT_API_KEY to establish a connection.
  • API: Use POST /api/services for Home Assistant actions; example endpoint for Google Home: GET https://homegraph.googleapis.com/v1/devices.
  • Code snippets: skill.use('home-automation') skill.connect('home-assistant', {apiUrl: 'http://localhost:8123', key: process.env.HOME_ASSISTANT_API_KEY}) const state = await skill.call('getState', {entity: 'light.living_room'}) console.log(state) skill.execute('turnOn', {device: 'light.kitchen', service: 'homekit'}) Use env vars for keys: $HOME_ASSISTANT_API_KEY for Home Assistant, $GOOGLE_HOME_TOKEN for Google Home.

Integration Notes

Authenticate using env vars (e.g., $HOME_ASSISTANT_API_KEY) before operations. For HomeKit, ensure devices are paired via the Home app; use HAP-NodeJS library for custom integrations. Google Home requires OAuth flow—redirect to https://accounts.google.com/o/oauth2/v2/auth. Matter integration needs a compatible bridge; config format: YAML like matter: {bridge_ip: '192.168.1.100', port: 5540}. Avoid mixing protocols in one call; use wrappers for error-free transitions between services.

Error Handling

Check for HTTP errors (e.g., 401 Unauthorized) by wrapping calls in try-catch blocks. For authentication failures, retry with refreshed tokens. Common errors: API rate limits (e.g., Home Assistant returns 429); handle with exponential backoff. Code snippet:

try {
  await skill.call('getState', { entity: 'light.living_room' })
} catch (error) {
  if (error.code === 401) console.error('Reauthenticate with $HOME_ASSISTANT_API_KEY')
  else throw error
}

Log detailed responses and use skill-specific error codes for debugging.

Concrete Usage Examples

  1. Automate lights based on time: Use skill.connect('home-assistant', {key: process.env.HOME_ASSISTANT_API_KEY}), then skill.execute('turnOff', {entity: 'light.all'}) in a scheduled script to turn off all lights at 11 PM.
  2. Integrate with Google Home for temperature control: Call skill.use('home-automation').connect('google-home', {token: process.env.GOOGLE_HOME_TOKEN}), followed by skill.call('setThermostat', {deviceId: 'thermostat.living_room', temperature: 72}) to adjust the thermostat.

Graph Relationships

  • Cluster: Connected to 'iot' cluster for broader IoT integrations.
  • Tags: Links to skills with 'iot' and 'home' tags, such as device-control or smart-security skills.
  • Relationships: This skill depends on authentication services; it integrates with external APIs like Home Assistant's REST endpoints and Google Home's OAuth flows.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.28%
按下载量换算40

Claude

29.65%
按下载量换算35

Cursor

20.09%
按下载量换算24

Gemini CLI

9.31%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills