Simple daemon to control fan speed.
The main executable of this program is the
There are 3 main modules: server, clientrpi and fanctl.
They can be accessed through their respective entry points:
They can also be accessed with
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
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.
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.
Table of contents¶
- 1. Server
- 2. Client: Raspberry Pi
- 3. Command-line interface
- 4. Communication module
- 5. Utilities module
- 6. Exceptions
- 7. Installation
- 8. License