Control Midea ACs via the msmart.
Skill path: ~/.openclaw/skills/midea_ac
# 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
When the user says the following, execute the corresponding command:
| User Says | Command |
|---|---|
| ----------- | --------- |
| Turn on the | scripts/midea_ac.py |
| Turn off the | scripts/midea_ac.py |
| Toggle the | scripts/midea_ac.py |
| 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 , if mode is cool: scripts/midea_ac.py |
| Minimum speed | scripts/midea_ac.py |
scripts/midea_ac.py |
cd ~/.openclaw/skills/midea_acpython scripts/midea_ac.py 共 1 个版本