Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Control Xiaomi Mijia smart home devices. Use this skill when the user wants to control desk lamps, smart plugs, or other Mijia devices. Supports turning lights on/off, adjusting brightness, setting color temperature, switching modes, and more.
Control Xiaomi Mijia smart home devices. Use this skill when the user wants to control desk lamps, smart plugs, or other Mijia devices. Supports turning lights on/off, adjusting brightness, setting color temperature, switching modes, and more.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Control Xiaomi Mijia smart devices via the mijiaAPI.
Before using this skill, you need to: Install dependencies: cd /path/to/mijia-skill uv sync Set your device ID as an environment variable: export MIJIA_LAMP_DID="your_device_id" First run will prompt for Xiaomi account login via QR code.
To find your device IDs, use the mijia-api library: from mijiaAPI import mijiaAPI api = mijiaAPI() api.login() devices = api.get_device_list() for d in devices: print(f"{d['name']}: {d['did']}")
Skill path: ~/.clawdbot/skills/mijia
# Navigate to skill directory cd ~/.claude/skills/mijia # Check status uv run python scripts/lamp_cli.py status # Turn on/off uv run python scripts/lamp_cli.py on uv run python scripts/lamp_cli.py off uv run python scripts/lamp_cli.py toggle # Adjust brightness (1-100%) uv run python scripts/lamp_cli.py brightness 50 # Adjust color temperature (2700-6500K) uv run python scripts/lamp_cli.py temp 4000 # Set mode uv run python scripts/lamp_cli.py mode reading # Reading mode uv run python scripts/lamp_cli.py mode computer # Computer mode uv run python scripts/lamp_cli.py mode night # Night reading uv run python scripts/lamp_cli.py mode antiblue # Anti-blue light uv run python scripts/lamp_cli.py mode work # Work mode uv run python scripts/lamp_cli.py mode candle # Candle effect uv run python scripts/lamp_cli.py mode twinkle # Twinkle alert
When the user says the following, execute the corresponding command: User SaysCommandTurn on the light / open lampscripts/lamp_cli.py onTurn off the light / close lampscripts/lamp_cli.py offToggle the lightscripts/lamp_cli.py toggleBrighter / more brightCheck status first, then increase by 20-30%Dimmer / less brightCheck status first, then decrease by 20-30%Full brightness / maximumscripts/lamp_cli.py brightness 100Minimum brightnessscripts/lamp_cli.py brightness 1Warm lightscripts/lamp_cli.py temp 2700Cool light / white lightscripts/lamp_cli.py temp 6500Reading modescripts/lamp_cli.py mode readingComputer modescripts/lamp_cli.py mode computerNight modescripts/lamp_cli.py mode nightLamp status / what's the light statusscripts/lamp_cli.py status
Navigate to skill directory: cd ~/.clawdbot/skills/mijia Ensure MIJIA_LAMP_DID environment variable is set Run with uv: uv run python scripts/lamp_cli.py <command> Report the result to the user after execution
Messaging, meetings, inboxes, CRM, and teammate communication surfaces.
Largest current source with strong distribution and engagement signals.