yishan

HomeKit Smart Home Control

生活サービスv1.0.6
作者:yishan更新日 2026-05-11全 3 バージョン · 最新版の公開日 2026-03-21homekit@clawhub_alphafactor/homekit
家庭支援#Smart Home

AlphaMoatによると、2026-09時点でHomeKit Smart Home Controlのダウンロード数は3,337、スター数は5で、AIスキル全体5,078件中3,388位、生活サービスでは246件中165位です。

インストール数
106
ダウンロード数
3337
スター数
5
総合順位
#3,388
全体の上位 67% · 生活サービスの上位 68%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗106333751
SkillHub ↗10633335—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

主文ではアクセサリの検出とペアリング、デバイス一覧、状態確認、ライト、スイッチ、コンセント、ファン、サーモスタットの制御を扱っています。制御コマンドは実際の機器の状態を変更します。対象エイリアスと操作内容を確認し、特にサーモスタットなど安全や財産に影響し得る機器では、実行前にユーザーの明示的な承認を得てください。ペアリング PIN とローカルデータを保護し、PIN をコマンド履歴に残さないでください。

資料公開日 2026-10-29

できること

  • ペアリング済みデバイスを一覧表示し状態を確認する
  • 対象機器を確認したうえでライトやスイッチを操作する
  • アクセサリの検出・ペアリング手順を確認する

使う場面

  • ユーザーが指定した HomeKit アクセサリの管理を明確に希望するとき
  • 対象エイリアスと意図する状態変更の両方を確認したとき
  • ペアリング PIN とローカルデータを安全に保管できるとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

制御コマンドを実行せずデバイスの状態だけを一覧表示する
対象のライトのエイリアスを確認したうえで点灯するか尋ねる
ペアリング前に保護すべき PIN とローカルデータを説明する

月次の推移

ダウンロード数3337
2022272834342026-03 · ダウンロード数 21192026-05 · ダウンロード数 26682026-06 · ダウンロード数 28302026-07 · ダウンロード数 31032026-08 · ダウンロード数 32312026-09 · ダウンロード数 333726-0326-09
スター数5
4562026-03 · スター数 52026-05 · スター数 52026-06 · スター数 52026-07 · スター数 52026-08 · スター数 52026-09 · スター数 526-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093337—5
2026-083231+4.1%5
2026-073103+9.6%5
2026-062830+6.1%5
2026-052668—5
2026-032119—5

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

3.3 KB・ClawHub v1.0.6
---
name: homekit
description: Control Apple HomeKit smart home devices. Supports listing, discovering, pairing devices, and controlling lights, switches, outlets, thermostats. Use when the user needs to manage HomeKit accessories programmatically. Requires homekit library and paired devices.
---

# HomeKit Smart Home Controller

Control Apple HomeKit smart home devices using Python scripts.

## Features
すべて表示(全 148 行)

- 🔍 Discover unpaired devices
- 🔗 Pair/Unpair devices
- 📱 List all paired devices
- 💡 Control light switches and brightness
- 🔌 Control outlets and switches
- 🌡️ View device status

## Prerequisites

### 1. Install Dependencies

```bash
pip3 install HAP-python homekit --user
```

### 2. Pair Devices

Pair your devices before first use:

```bash
# Discover devices
python3 scripts/homekit.py discover

# Pair a device
python3 scripts/homekit.py pair "Device Name" "XXX-XX-XXX" "alias"
```

The pairing code is usually found in the device manual or on the device itself (format: XXX-XX-XXX).

## Usage

### List All Devices

```bash
python3 scripts/homekit.py list
```

Example output:
```
📱 Found 3 devices:

Alias           Name                      Type            Status
----------------------------------------------------------------------
💡 living-light  Living Room Light         Lightbulb       on (80%)
🔌 desk-outlet   Desk Outlet               Outlet          off
💡 bedroom-lamp  Bedside Lamp              Lightbulb       off
```

### Control Devices

**Turn on:**
```bash
python3 scripts/homekit.py on living-light
```

**Turn off:**
```bash
python3 scripts/homekit.py off living-light
```

**Set brightness (0-100):**
```bash
python3 scripts/homekit.py brightness living-light 50
```

### View Device Status

```bash
python3 scripts/homekit.py status living-light
```

### Device Management

**Discover new devices:**
```bash
python3 scripts/homekit.py discover --timeout 10
```

**Unpair a device:**
```bash
python3 scripts/homekit.py unpair living-light
```

## Supported Device Types

| Type | Supported Operations |
|------|---------|
| 💡 Lightbulb | On/Off, Brightness |
| 🔌 Outlet | On/Off |
| 🔲 Switch | On/Off |
| 🌡️ Thermostat | View temp, Set target temp |
| 🌀 Fan | On/Off, Speed |

## Troubleshooting

**Error: homekit library not installed**
→ Run: `pip3 install HAP-python homekit --user`

**Error: Device not found**
→ Ensure the device and computer are on the same WiFi network.

**Error: Pairing failed**
→ Check if the pairing code is correct and the device is in pairing mode.

**Device shows offline**
→ Try re-pairing or check device power.

## Advanced Usage

### Batch Control

```bash
# Turn off all lights
for device in living-light bedroom-lamp kitchen-light; do
    python3 scripts/homekit.py off $device
done
```

### Scene Script Example

Create `~/scripts/goodnight.sh`:
```bash
#!/bin/bash
# Goodnight Scene: Turn off all lights except a dim bedside lamp

python3 ~/.openclaw/workspace/homekit/scripts/homekit.py off living-light
python3 ~/.openclaw/workspace/homekit/scripts/homekit.py off kitchen-light
python3 ~/.openclaw/workspace/homekit/scripts/homekit.py brightness bedroom-lamp 10

echo "Goodnight 😴"
```

## References

- HomeKit Official Docs: https://developer.apple.com/homekit/
- Library Docs: https://github.com/jlusiardi/homekit_python

生活サービスの人気スキル

yishanのその他のスキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。