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.
ProjectsStorage & NAS
Drive-temperature fan control for Linux servers and NAS, with a web interface.
Download v0.14.0 Star on GitHub3 stars Read the docs Buy me a coffee
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.
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.
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.
A step-by-step wizard. An Identify button shows which fan is which, and a PWM test finds where each fan starts and stops.
SMART health, scheduled self-tests, drive type (NAS or desktop, CMR or SMR) and a map of the bays with the drives in them.
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.
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.




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.
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.