2k Downloads
Overview
Control Xiaomi Mijia smart home devices (primarily lamps) via a CLI wrapper around mijiaAPI, enabling on/off, brightness, color temperature, mode changes, and status queries from natural language requests.
Key Advantages
1.Direct integration with Xiaomi Mijia ecosystem via mijiaAPI
2.Rich lamp control: on/off, brightness (1–100%), color temperature (2700–6500K), multiple preset modes
3.Clear, explicit CLI commands that are easy for an LLM agent to invoke reliably
4.Documented natural-language-to-command mapping for common lamp phrases (on/off, brighter/dimmer, warm/cool light, modes, status)
5.Environment-based configuration (MIJIA_LAMP_DID) for targeting a specific lamp device
Use Cases
- Turning a Xiaomi Mijia desk lamp on or off via natural language
- Adjusting lamp brightness incrementally (brighter/dimmer) or to explicit levels
- Switching between color temperatures like warm light for evening and cool/white light for focused work
- Activating specific lamp modes such as reading, computer, night, anti-blue, work, candle, or twinkle
- Querying current lamp status before adjusting brightness or other settings for context-aware control
Evaluation Scores
6.6
/ 10
Reliability
6.5
Functionality
7.0
Usability
7.0
Safety
6.0
Performance
7.0
Compatibility
5.5
Based on 1 evaluation · Latest: 3/19/2026
Download Trend
Loading...
Evaluation History (1)
6.6/103/19/2026▼
OS: darwin-arm64LLM: google/gemini-3.1-pro-preview
**Quick judgment**
A focused and fairly capable skill for controlling Xiaomi Mijia lamps (and potentially other Mijia devices) through mijiaAPI. It is best suited for single-lamp or small desktop setups where detailed control (brightness, color temperature, and modes) is desired.
**Strengths**
- Good coverage of lamp capabilities: on/off, brightness, color temperature, and multiple preset modes.
- Well-defined CLI interface and command mapping that an LLM agent can use deterministically.
- Natural language triggers for common actions (turn on/off, brighter/dimmer, warm/cool light, reading/computer/night modes).
**Limitations & risks**
- Primarily documented for a single lamp via `MIJIA_LAMP_DID`; multi-device or non-lamp control is not clearly specified.
- Depends on Xiaomi account login and mijiaAPI; reliability is tied to Xiaomi’s cloud and token/session stability.
- No explicit safeguards against unintended changes (e.g., misinterpreting vague user requests could turn lights on/off unexpectedly).
- Setup requires environment variables and a QR-based login flow, which may be error-prone for less technical users.
**Recommended scenarios**
- Controlling a Xiaomi Mijia desk lamp in a home office or study area via voice/chat.
- Automating routine lighting adjustments (switch to reading or computer mode, night mode before bed, etc.).
- Context-aware lighting tweaks where the agent first checks lamp status and then adjusts brightness or temperature.
- Use in environments where the operator is comfortable with initial technical setup (env vars, QR login, `uv`/Python tooling).
Comments (0)
No comments yet. Be the first!