bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
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.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install alphafactor/homekit打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
通过 Python 脚本控制苹果 HomeKit 智能家居设备。
pip3 install HAP-python homekit --user
首次使用前需要配对设备:
# 发现设备
python3 scripts/homekit.py discover
# 配对设备
python3 scripts/homekit.py pair "设备名称" "XXX-XX-XXX" "别名"
配对码通常在设备说明书或设备本体上(格式:XXX-XX-XXX)。
python3 scripts/homekit.py list
输出示例:
📱 找到 3 个设备:
Alias Name Type Status
----------------------------------------------------------------------
💡 living-light 客厅主灯 Lightbulb on (80%)
🔌 desk-outlet 桌面插座 Outlet off
💡 bedroom-lamp 床头灯 Lightbulb off
打开设备:
python3 scripts/homekit.py on living-light
关闭设备:
python3 scripts/homekit.py off living-light
调节亮度(0-100):
python3 scripts/homekit.py brightness living-light 50
python3 scripts/homekit.py status living-light
发现新设备:
python3 scripts/homekit.py discover --timeout 10
取消配对:
python3 scripts/homekit.py unpair living-light
| 类型 | 支持操作 |
|---|---|
| 💡 Lightbulb | 开关、亮度调节 |
| 🔌 Outlet | 开关 |
| 🔲 Switch | 开关 |
| 🌡️ Thermostat | 查看温度、设置目标温度 |
| 🌀 Fan | 开关、风速调节 |
错误:homekit 库未安装
→ 运行: pip3 install HAP-python homekit --user
错误:未找到设备 → 确保设备和电脑在同一 WiFi 网络
错误:配对失败 → 检查配对码是否正确,设备是否处于配对模式
设备显示离线 → 尝试重新配对或检查设备电源
# 关闭所有灯
for device in li...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# HomeKit 智能家居控制器 通过 Python 脚本控制苹果 HomeKit 智能家居设备。 ## 功能特性 - 🔍 发现未配对设备 - 🔗 配对/取消配对设备 - 📱 列出所有已配对设备 - 💡 控制灯光开关和亮度 - 🔌 控制插座和开关 - 🌡️ 查看设备状态 ## 前提条件 ### 1. 安装依赖 ```bash pip3 install HAP-python homekit --user ``` ### 2. 配对设备 首次使用前需要配对设备: ```bash # 发现设备 python3 scripts/homekit.py discover # 配对设备 python3 scripts/homekit.py pair "设备名称" "XXX-XX-XXX" "别名" ``` 配对码通常在设备说明书或设备本体上(格式:XXX-XX-XXX)。 ## 使用方法 ### 列出所有设备 ```bash python3 scripts/homekit.py list ``` 输出示例: ``` 📱 找到 3 个设备: Alias Name Type Status ---------------------------------------------------------------------- 💡 living-light 客厅主灯 Lightbulb on (80%) 🔌 desk-outlet 桌面插座 Outlet off 💡 bedroom-lamp 床头灯 Lightbulb off ``` ### 控制设备 **打开设备:** ```bash python3 scripts/homekit.py on living-light ``` **关闭设备:** ```bash python3 scripts/homekit.py off living-light ``` **调节亮度(0-100):** ```bash python3 scripts/homekit.py brightness living-light 50 ``` ### 查看设备状态 ```bash python3 scripts/homekit.py status living-light ``` ### 设备管理 **发现新设备:** ```bash python3 scripts/homekit.py discover --timeout 10 ``` **取消配对:** ```bash python3 scripts/homekit.py unpair living-light ``` ## 支持的设备类型 | 类型 | 支持操作 | |------|---------| | 💡 Lightbulb | 开关、亮度调节 | | 🔌 Outlet | 开关 | | 🔲 Switch | 开关 | | 🌡️ Thermostat | 查看温度、设置目标温度 | | 🌀 Fan | 开关、风速调节 | ## 常见问题 **错误:homekit 库未安装** → 运行: `pip3 install HAP-python homekit --user` **错误:未找到设备** → 确保设备和电脑在同一 WiFi 网络 **错误:配对失败** → 检查配对码是否正确,设备是否处于配对模式 **设备显示离线** → 尝试重新配对或检查设备电源 ## 高级用法 ### 批量控制 ```bash # 关闭所有灯 for device in li...
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...
飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...