Skip to content

Stridsvagn69420/rpi-fanctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpi-fanctl

Raspberry Pi GPIO PWM fan controller

A daemon that uses the hardware PWM of a Raspberry Pi's GPIO 18 pin (PWM channel 0) to properly control a fan. Full setup, docs and getting started, even the main program is still WIP.


/run structure:

/run
├── rpi-fanctl
│   ├── pid		# Daemon PID
│   ├── speed	# Current duty cycle as number from 0 to 100
│   └── control	# Unix Domain Socket to set manual fan speed

/etc structure:

/etc
├── rpi-fanctl
│   └── config.toml # Config file with main settings and fan curve