LaunchKit · 2026
Back to Skills

xiaomi-air-purifier

Monitor and control Xiaomi Air Purifier 4 Lite via Mi Cloud.

0
0 downloads
by @radyakaze

Setup & Installation

openclaw skills install @radyakaze/xiaomi-air-purifier

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install xiaomi-air-purifier

What This Skill Does

Controls and monitors Xiaomi Air Purifier 4 Lite via the Xiaomi Cloud API. Supports targeting devices by room name, device name, or device ID across multi-room setups. Reads PM2.5, humidity, temperature, and filter life, and adjusts power, fan mode, speed, brightness, buzzer, and child lock.

Enables scripting and automation of purifier control without opening the Mi Home app.

When to use it

  • Checking bedroom PM2.5 levels before sleep
  • Turning on a purifier when air quality drops
  • Switching fan to sleep mode at night
  • Monitoring filter life remaining across devices
  • Controlling purifiers in multiple rooms by name

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: What's the air quality in the bedroom right now?

AGENT
  1. 1Run the status command targeting the Bedroom room
  2. 2Parse PM2.5, humidity, and temperature from the API response
  3. 3Return the sensor readings to the user
OUTPUT

Bedroom: PM2.5 12 μg/m³, Humidity 45%, Temperature 22.3°C

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Xiaomi (Mi) account with Mi Cloud access