Fan curves
Custom fan curves per sensor with hysteresis, so your laptop stays quiet when it can and cool when it matters.
Windows hardware control for Xiaomi laptops
miControl is a free, open-source Windows manager for Xiaomi laptops: custom fan curves, battery charge thresholds, display brightness and HDR, audio, keyboard backlight, touchpad, EC RAM access, driver management and system info, all in one privacy-first app.
01 / What it does
miControl talks to the embedded controller and driver stack directly, so the controls are real, not cosmetic.
Custom fan curves per sensor with hysteresis, so your laptop stays quiet when it can and cool when it matters.
Set charge limits to protect the battery from sitting at 100% all day, and watch health, cycle count and live charge rate.
Fine-grained brightness control beyond the OS slider, plus HDR toggle and calibration on supported panels.
Per-output volume and device management without digging through Windows settings.
Adjust or disable the keyboard backlight timeout and level directly from the tray.
Tune touchpad behaviour the vendor utility never exposed.
Read and write embedded-controller memory through a signed-driver proxy service, with every access logged.
Inspect and manage the Xiaomi driver stack, including a clean-room replacement for the stock IoT service.
CPU, GPU, memory and battery telemetry in one overview, with performance modes: Silence, Balance, Turbo.
Optional AI analysis with your choice of OpenAI or a local Ollama model. Off by default, and your data stays yours.
No telemetry, no accounts, no phoning home. The AI advisor is the only optional network feature, and you point it where you want.
02 / Screenshots



03 / Under the hood
Xiaomi's stock tooling locks hardware control behind a proprietary service. We reverse engineered the whole chain so miControl can speak to it directly, safely and locally.
The embedded controller exposes command and status windows in physical memory at 0xFE0B0F00 and 0xFE0B0F01, plus a 120-byte sensor region at 0xFE0B0F08. Access goes through the Xiaomi driver's IOCTLs (0x22E000 read, 0x22E004 write) so no raw kernel mapping is needed.
The stock IoTService.exe is a LocalSystem service that proxies EC RAM reads and writes for the driver. miControl ships a clean-room Rust replacement that passes the driver's process-name and path checks and exposes the same capability over a local named pipe.
The app talks to the service over \\.\pipe\ecram_service using small JSON requests, e.g. {"op":"read","addr":"0xFE0B0F00","size":8}. Every request is scoped, validated and answered locally. Nothing leaves the machine.
Each command runs a state machine recovered by static analysis: write a 7-byte command (cmd_id plus device UID), trigger with 0x55, poll for the ACK (0x55, cmd_id, 01, 02), then read the 8-byte RET frame carrying the result. 16 command IDs cover bind status, WiFi, firmware version, model and laptop status reporting.
04 / Get it
Grab the latest release, read the source, or dig into the reverse-engineering notes that made it possible.
05 / FAQ
miControl targets Xiaomi notebooks, developed and tested on a Xiaomi Notebook Pro 14 (2026, Intel Core Ultra + Arc). Hardware access depends on the Xiaomi EC driver and IoT service being present. If your model works (or doesn't), issues and PRs are welcome.
EC access goes through the vendor driver and a dedicated proxy service, using the same command protocol the stock software uses. Fan curves and charge thresholds are bounded by sane limits. As with any hardware tool, use sensible values and keep an eye on temperatures.
No. There is no telemetry, no analytics and no account system. The only optional network feature is the AI advisor, which is off by default and uses whatever endpoint you configure: OpenAI or a fully local Ollama model.
Not necessarily. Point it at a local Ollama instance and nothing ever leaves your machine. If you prefer OpenAI, you bring your own key, which stays in your local configuration.
Yes, MIT licensed. The full source is public, the release binaries are free to download, and there are no paid tiers.
Open an issue on GitHub. Include your laptop model, Windows version and the app version; crash reports are stored locally on your machine so you can attach them yourself.