xiaomi

Installation
SKILL.md

Xiaomi Mijia Device Controller

Control Xiaomi Mijia smart home devices via the mijiaAPI CLI, powered by Do1e/mijia-api.

Prerequisites

Uses uvx to run mijiaAPI — no manual installation required.

First-time login: Authentication is stored at ~/.config/mijia-api/auth.json. On first run, a QR code will be printed in the terminal — scan it with the Mijia (米家) app to authenticate. Subsequent runs reuse the saved token automatically.

Usage

When the user wants to control a Xiaomi Mijia device: $ARGUMENTS

Instructions

Important: All commands use uvx mijiaAPI. uvx handles installation and environment isolation automatically.

Set MIJIA_LOG_LEVEL=DEBUG if you need verbose output for troubleshooting.

Related skills
Installs
3
Repository
cshen/skills
First Seen
Mar 23, 2026