360 Secure SkillHub
360 安全技能中心

Midea Air Conditioners

该 Skill 借助 msmart 通过 Python 脚本控制美的空调:支持查询状态、开机/关机/切换、设置运行模式、目标温度、风速和辅热模式,并把用户的自然语言指令(如“调高温度”“全速”)映射为对应命令执行后回报结果。

分类:自动化
iamanorange
iamanorange
热度 56.99
最近更新 2026-05-17 11:24:28

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add iamanorange/midea-ac
兼容性
OpenClaw 专属
联网要求
联网要求未确认
数据出网
数据不出本机
Metadata
name
midea_ac
description
Control Midea ACs. Use this skill when the user wants to control ACs. Supports turning ACs on/off, setting temperature, setting fan speed, switching modes, and more.
invocable
true

Midea Smart Home Control

Control Midea ACs via the msmart.

How to Use

Skill path: ~/.openclaw/skills/midea_ac

AC Control Commands

# Navigate to skill directory
cd ~/.openclaw/skills/midea_ac

# Check status
python scripts/midea_ac.py bedroom status

# Turn on/off
python scripts/midea_ac.py bedroom on
python scripts/midea_ac.py bedroom off
python scripts/midea_ac.py bedroom toggle

# Set operation mode
python scripts/midea_ac.py bedroom --mode cool

# Set target temperature
python scripts/midea_ac.py bedroom --temperature 26

# Set fan speed
python scripts/midea_ac.py bedroom --fan_speed low

# Set aux hear mode
python scripts/midea_ac.py bedroom --aux_mode on

# Set multiple parameters at once
python scripts/midea_ac.py bedroom --mode heat --temperature 28 --fan_speed medium --aux_mode off

Natural Language Understanding

When the user says the following, execute the corresponding command:

User Says Command
Turn on the AC / open AC scripts/midea_ac.py <room-name> on
Turn off the AC / close AC scripts/midea_ac.py <room-name> off
Toggle the AC scripts/midea_ac.py <room-name> toggle
Warmer / more warm Check status first, then increase temperature by 2 - 10 degrees
Cooler / less heat Check status first, then decrease temperature by 2 - 10 degrees
Full speed / maximum if mode is heat: scripts/midea_ac.py <room-name> --temperature 30 --fan_speed max, if mode is cool: scripts/midea_ac.py <room-name> --temperature 16 --fan_speed max
Minimum speed scripts/midea_ac.py <room-name> --fan_speed low
AC status / what's the status scripts/midea_ac.py <room-name> status

Before Executing

  1. Navigate to skill directory: cd ~/.openclaw/skills/midea_ac
  2. Run with uv: python scripts/midea_ac.py <room-name> <command>
  3. Report the result to the user after execution