xiaomi
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.
More from cshen/skills
dida365
Manage TickTick/Dida365 tasks and projects from the terminal. List, create, complete, update, and delete tasks and projects via the Dida365 Open API.
14mail139
Read, send, delete, reply, and forward email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, etc.
5arxiv
Download arXiv papers as PDF, show title/authors/abstract, and generate BibTeX entries for arXiv preprints by arXiv ID.
3fishbone
This skill teaches you to write efficient Fish shell scripts by reusing the
1youtube-download
Download videos, audio, or subtitles from YouTube, Bilibili, and other sites using yt-dlp. Use when users ask to download online videos or extract audio from video URLs.
1personal-wiki
Build and maintain a personal knowledge wiki. Use when users need to collect and organize knowledge, manage research notes, build a persistent knowledge system, or document problem-solving experiences.
1