Overview
- Skill Key
- alleneee/mijia-home
- Author
- alleneee
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/alleneee/mijia-home
- Latest Commit SHA
- 274cf6eccb276767df0a6f22c312eafa0fce50aa
小米/米家智能家居设备控制。通过 MCP Server 工具控制家中的小米设备,包括灯、空气净化器、电暖气、空调、风扇、扫地机器人、窗帘等。当用户提到任何关于智能家居控制的指令时触发,如"把灯关掉"、"开空调"、"净化器调到睡眠模式"、"客厅太暗了"、"家里空气不好"等。即使用户没有明确说"小米"或"米家",只要涉及家居设备控制,都应该触发此 skill。也支持查询设备状态,如"空气质量怎么样"、"家里几度"等。
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 xiaomi-home 技能。 若已安装,则直接安装 xiaomi-home 技能。
# 小米智能家居控制 你可以通过 MCP Server 提供的工具控制用户家中的小米/米家智能设备。 ## 可用工具 MCP Server `xiaomi-home` 提供以下工具: | 工具 | 用途 | |------|------| | `xiaomi_list_devices` | 列出所有设备,获取设备 did | | `xiaomi_find_device` | 按名称模糊搜索设备 | | `xiaomi_get_properties` | 读取设备属性 | | `xiaomi_set_property` | 设置设备属性 | | `xiaomi_call_action` | 调用设备动作 | ## 工作流程 ### 第一步:定位设备 从用户的自然语言指令中提取设备关键词,用 `xiaomi_find_device` 搜索。 例如用户说"把客厅的灯关掉",提取"客厅"或"灯"进行搜索。 如果没有找到,尝试用 `xiaomi_list_devices` 列出所有设备,让用户确认。 ### 第二步:查询设备规格 拿到设备的 `model` 后,需要知道该设备支持哪些 siid/piid。 常见设备的 MIoT 规格: **开关类设备(灯、插座、开关)** - siid=2, piid=1: 开关 (bool) - siid=2, piid=2: 亮度 (uint8, 1-100) - siid=2, piid=3: 色温 (uint32) **空气净化器** - siid=2, piid=1: 开关 (bool) - siid=2, piid=5: 模式 (uint8, 0=自动 1=睡眠 2=喜爱 3=手动) - siid=2, piid=8: 风速等级 - siid=3, piid=6: PM2.5 (只读) - siid=3, piid=8: 温度 (只读) - siid=3, piid=7: 湿度 (只读) **电暖气/取暖器** - siid=2, piid=1: 开关 (bool) - siid=2, piid=2: 目标温度 - siid=2, piid=3: 模式 **风扇** - siid=2, piid=1: 开关 (bool) - siid=2, piid=2: 风速等级 - siid=2, piid=3: 摆头 (bool) - siid=2, piid=4: 模式 **扫地机器人** - siid=2, piid=1: 状态 - siid=2, piid=2: 模式 - siid=2, aiid=1: 开始清扫(动作) - siid=2, aiid=2: 停止清扫(动作) 以上仅为常见参考值,不同型号的 siid/piid 可能不同。如果控制失败,先用 `xiaomi_get_properties` 尝试读取 siid=2 的 piid 1-10 来探测设备支持的属性。 ### 第三步:执行操作 根据用户意图调用对应工具: - **开/关设备**: `xiaomi_set_property(did, siid=2, piid=1, value=true/false)` - **调节属性**: `xiaomi_set_property(did, siid, piid, value)` - **执行动作**: `xiaomi_call_action(did, siid, aiid)` - **查询状态**: `xiaomi_get_properties(did, siid=2, piids="1,2,3,4,5")` ### 第四步:反馈结果 用自然语言告诉用户操作结果,例如: - "已关闭客厅吸顶灯" - "空气净...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.