Do1eDo1eCommunityยท1 Agent Skills Included

mijia-api

Control Xiaomi Mijia smart home devices with AI agents

Controls Xiaomi Mijia smart home devices through a Python API, command-line tool, MCP server, and AI agent skill. Lists devices, homes, scenes, and consumables, then reads or sets properties, runs actions, and queries energy statistics without writing code. Lets AI assistants like Claude Code and Codex operate lights, speakers, and appliances safely through simple natural language requests.
npx skills add Do1e/mijia-api --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install mijia-api?โ–ผ

Run `npx skills add Do1e/mijia-api --all -g -y` in your terminal to install the skill globally for your AI agent.

How to control Mijia devices with AI?โ–ผ

Once installed, your AI agent runs `uvx mijiaAPI` commands to list devices, set properties like brightness, and trigger actions from plain-English requests.

Does mijia-api work with Claude Code and Codex?โ–ผ

Yes. The included SKILL.md follows the universal skill standard and loads automatically in Claude Code, Codex, opencode, and compatible agents.

Can I use mijia-api without writing Python code?โ–ผ

Yes. The CLI and MCP server let you control devices entirely through terminal commands or AI chat, with no programming required.

How do I log in to my Mijia account?โ–ผ

Run `uvx mijiaAPI login` yourself and scan the QR code with the Mijia app; the AI agent is intentionally blocked from running login to avoid stuck sessions.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’