✓ Verified 💻 Development ✓ Enhanced Data

Dyson Cli

Control Dyson air purifiers, fans, and heaters via local MQTT.

Rating
4.5 (318 reviews)
Downloads
1,968 downloads
Version
1.0.0

Overview

Control Dyson air purifiers, fans, and heaters via local MQTT.

Complete Documentation

View Source →

Dyson CLI

Prerequisites

  • CLI installed at ~/dyson-cli with venv
  • Must be on same WiFi as the Dyson - local MQTT only, won't work remotely
Quick check:
bash
cd ~/dyson-cli && source .venv/bin/activate && dyson list --check

Commands

Power

bash
dyson on                      # Turn on
dyson off                     # Turn off

Fan Control

bash
dyson fan speed 5             # Speed 1-10
dyson fan speed auto          # Auto mode
dyson fan oscillate on        # Enable oscillation
dyson fan oscillate on -a 90  # 90° sweep (45/90/180/350)
dyson fan oscillate off       # Disable oscillation

Heat Control (Hot+Cool models)

bash
dyson heat on                 # Enable heating
dyson heat off                # Disable heating
dyson heat target 22          # Set target temp (°C)

Other

bash
dyson night on                # Night mode on
dyson night off               # Night mode off
dyson status                  # Show current state
dyson status --json           # JSON output

Multiple Devices

Use -d to target a specific device:

bash
dyson on -d "Bedroom"
dyson fan speed auto -d "Office"

Common Patterns

bash
# "Turn on the Dyson and set to auto"
dyson on && dyson fan speed auto

# "Heat to 23 degrees"
dyson heat on && dyson heat target 23

# "Turn on with gentle oscillation"
dyson on && dyson fan speed 3 && dyson fan oscillate on -a 45

# "What's the current temperature?"
dyson status --json | python3 -c "import sys,json; d=json.load(sys.stdin); print(f\"Temp: {d['temperature']-273:.1f}°C, Humidity: {d['humidity']}%\")"

Troubleshooting

If commands fail:

  • Check device is online: dyson list --check
  • Ensure on same WiFi network as the Dyson
  • Re-run setup if credentials expired: dyson setup
For installation, device setup, and full documentation, see README.md.

Installation

Terminal bash

openclaw install dyson-cli
    
Copied!

💻Code Examples

### Power

-power.sh
dyson on                      # Turn on
dyson off                     # Turn off

### Fan Control

-fan-control.sh
dyson fan speed 5             # Speed 1-10
dyson fan speed auto          # Auto mode
dyson fan oscillate on        # Enable oscillation
dyson fan oscillate on -a 90  # 90° sweep (45/90/180/350)
dyson fan oscillate off       # Disable oscillation

### Heat Control (Hot+Cool models)

-heat-control-hotcool-models.sh
dyson heat on                 # Enable heating
dyson heat off                # Disable heating
dyson heat target 22          # Set target temp (°C)

### Other

-other.sh
dyson night on                # Night mode on
dyson night off               # Night mode off
dyson status                  # Show current state
dyson status --json           # JSON output

Use `-d <name>` to target a specific device:

use--d-name-to-target-a-specific-device.sh
dyson on -d "Bedroom"
dyson fan speed auto -d "Office"
example.sh
# "Turn on the Dyson and set to auto"
dyson on && dyson fan speed auto

# "Heat to 23 degrees"
dyson heat on && dyson heat target 23

# "Turn on with gentle oscillation"
dyson on && dyson fan speed 3 && dyson fan oscillate on -a 45

# "What's the current temperature?"
dyson status --json | python3 -c "import sys,json; d=json.load(sys.stdin); print(f\"Temp: {d['temperature']-273:.1f}°C, Humidity: {d['humidity']}%\")"

Tags

#smart_home-and-iot #cli

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author tmustier
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install dyson-cli