← All skills
Tencent SkillHub · Communication & Collaboration

Mijia

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.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

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.

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md, pyproject.toml, scripts/lamp_cli.py

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

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.

Upgrade existing

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.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

Mijia Smart Home Control

Control Xiaomi Mijia smart devices via the mijiaAPI.

Setup

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.

Finding Device IDs

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']}")

How to Use

Skill path: ~/.clawdbot/skills/mijia

Lamp Control Commands

# 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

Natural Language Understanding

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

Before Executing

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

Category context

Messaging, meetings, inboxes, CRM, and teammate communication surfaces.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs1 Scripts1 Files
  • SKILL.md Primary doc
  • README.md Docs
  • scripts/lamp_cli.py Scripts
  • pyproject.toml Files