Skip to content

About

Open-source fan control for HP OMEN laptops on Windows — custom fan curves, manual speed, power modes.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

OMEN Fan Control

Open-source fan control utility for HP OMEN laptops on Windows. Take full control of your fans: custom temperature curves, manual speeds, power modes — with a dark, compact desktop UI in English and Turkish.

Not affiliated with HP. Use at your own risk. Open-source fan control for HP OMEN laptops on Windows - custom fan curves, manual speed, power modes, live temps & RPM. Electron + Python.

Screenshots

Curve mode Manual mode
Curve mode Manual mode

Features

  • Real-time CPU / GPU temperature monitoring
  • Fan RPM display (CPU & GPU fans)
  • Fan modes: Auto / Max / Manual / Custom curve
  • Editable temperature → speed curves with live graph
  • Power modes (Default / Performance / Cool) via HP WMI
  • Safe max RPM limit to protect your hardware
  • System tray with quick actions, autostart support
  • Turkish & English interface
  • Built-in activity log console

Requirements

Requirement Notes
Windows 10 / 11 (64-bit)
HP OMEN laptop Uses HP's hpqBIntM WMI interface exposed by the firmware. HP Victus and Pavilion Gaming models share this interface and may work partially or fully — untested, command IDs can differ between generations. Other machines run the app but cannot control/read fans. Test yours: Get-CimInstance -Namespace root\wmi -ClassName hpqBIntM in an elevated PowerShell.
Administrator rights Required on every launch (Windows UAC prompt) — fan/EC access is privileged.
NVIDIA driver Optional — only needed for GPU temperature.

Installation (prebuilt)

  1. Grab OMEN Fan Control Setup x.x.x.exe from Releases.
  2. Windows SmartScreen may warn about an unsigned app: click More info → Run anyway.
  3. Approve the UAC prompt and follow the installer.
  4. Launch the app from the Start Menu or Desktop shortcut and approve UAC once more.

The app installs per-machine (C:\Program Files\OMEN Fan Control). Autostart is managed through Task Scheduler with elevated privileges (no UAC at logon).

Building from source

Prerequisites:

:: 1. Build the Python backend (single-file exe)
pip install pyinstaller
cd backend
pyinstaller tcp_server.spec
copy dist\tcp_server.exe tcp_server.exe
cd ..

:: 2. Install dependencies and build the installer
npm install
npm run dist

Output lands in ../release/installer as an NSIS setup plus a portable win-unpacked folder.

How it works

Electron UI (renderer.js)
   │  JSON lines over TCP 127.0.0.1:9292
   ▼
Python backend (tcp_server.py + fan_control.py)
   │  PowerShell / WMI (root\wmi, hpqBIntM)
   ▼
HP firmware EC (fan RPM, fan modes, thermal policy)
   ▲
nvidia-smi ──── GPU temperature

The backend broadcasts status updates (temps, RPM) every 100 ms and executes commands sent by the UI (set_fan_mode, set_curve, set_power_mode, …). A built-in enforcement loop re-applies the selected mode so BIOS/OGH overrides don't stick.

Project layout

├── main.js            Electron main process (window, tray, backend lifecycle)
├── renderer.js        UI logic, i18n, TCP client
├── index.html         Single-page UI
├── styles.css
├── package.json       electron-builder config
├── backend/
│   ├── tcp_server.py      TCP server + command router
│   ├── fan_control.py     HP WMI bindings, modes, curves
│   ├── system_info.py     Temperature polling
│   └── tcp_server.spec    PyInstaller config
└── build/             App icons

Troubleshooting

  • "Not connected" / no fan data — make sure you launched the app as administrator and that your machine is an OMEN model exposing hpqBIntM. Test it: Get-CimInstance -Namespace root\wmi -ClassName hpqBIntM in an elevated PowerShell.
  • GPU temperature is 0 — NVIDIA driver not installed or nvidia-smi not in PATH.
  • Port 9292 already in use — another instance of the backend is running; kill tcp_server.exe from Task Manager.

Support

License

MIT © klashain

About

Open-source fan control for HP OMEN laptops on Windows — custom fan curves, manual speed, power modes.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages