DRSProjects

ProjectsStorage & NAS

hddfancontrol web UI

Drive-temperature fan control for Linux servers and NAS, with a web interface.

Latest release
v0.14.0 · 27 Nov 2026
Downloads
96 · from GitHub releases
Stars
3 · on GitHub
Runs on
Linux NAS & servers · Docker · x86_64 & arm64
License
GPL-3.0
Built with
  • Python
  • Docker
  • systemd

Download v0.14.0 Star on GitHub3 stars Read the docs Buy me a coffee

Overview page: the hottest drive, a map of the drive bays, drive temperatures and fan speeds
Overview: the hottest drive, the bay map, every temperature and fan speed.

What it does

Built around hddfancontrol by desbma, which reads drive temperatures without waking the drives, and hd-idle by adelolmo. This project runs both, drives the fans from what they measure, and adds the web UI, manual control, history, SMART data and alerts.

Fan curves and auto mode

The fans follow the hottest drive, along a curve or in auto mode, which holds a target temperature with as little fan speed as possible. Each fan can follow its own drives.

Fail-safe by design

A drive at its limit, missing readings or a control error put the fans at full speed. When the web UI stops, every fan gets its previous setting back.

Guided setup

A step-by-step wizard. An Identify button shows which fan is which, and a PWM test finds where each fan starts and stops.

Drive health

SMART health, scheduled self-tests, drive type (NAS or desktop, CMR or SMR) and a map of the bays with the drives in them.

Alerts

A hot drive, a stopped fan or a SMART problem shows up as a banner and in the log, and can also be pushed to your phone through ntfy, Gotify or a webhook.

Also included

Spin down of idle drives, history from one hour to a year, settings backup, Prometheus metrics, light and dark themes, a phone layout and eleven languages.

Screenshots

Get started

With Docker Compose

mkdir hddfancontrol && cd hddfancontrol
curl -fsSLO https://raw.githubusercontent.com/anto294/hddfancontrol_webui/main/docker-compose.yml
docker compose up -d
docker compose logs | grep 'FIRST SETUP'

Open https://<host>:28462, accept the self-signed certificate once, type the setup code from the last command, then choose a username and a password. The guided setup does the rest.

Where it runs

  • TrueNAS SCALE as a Custom App (Docker)
  • Proxmox VE on the host, bare metal or Docker
  • Unraid as a privileged container
  • OpenMediaVault with the compose plugin or bare metal
  • Debian, Ubuntu, Fedora, Arch with systemd and Python 3.11+

It needs a mainboard whose fan headers are PWM-controlled through a Linux hwmon driver (nct6775, it87…), and it must run on the machine that has the fans: a virtual machine cannot see the fan chip.

Docs & links