fand¶
Simple daemon to control fan speed.
Documentation is available at https://fand.readthedocs.io/. The installation chapter provides install instructions and compatibility informations.
About¶
The main executable of this program is the fand-server
daemon.
There are 3 main modules: server, clientrpi and fanctl.
They can be accessed through their respective entry points:
fand-server
, fand-clientrpi
and fanctl
.
They can also be accessed with fand <module-name>
.
A server monitor the hardware and clients connect to it to get data (e.g. fan speed or override a fan speed).
$ fanctl get-rpm shelf1
1500
$ fanctl get-pwm shelf1
50
$ fanctl set-pwm-override shelf1 100
ok
$ fanctl get-pwm shelf1
100
$ fanctl get-rpm shelf1
3000
Server¶
The server module provide a daemon which monitor devices temperatures and find a corresponding fan speed. It listens for connections from clients, and answers to requests.
Fan clients¶
A client is assigned a shelf and will regularly request the server for the fan speed (percentage). It will then ajust the fan to use this speed.
Clients also send the actual fan speed in RPM to the server. This will allow other client to have access to the data from the server.