
fan-shim on rpi4
sudo pip install fanshim git clone https://github.com/pimoroni/fanshim-python cd fanshim-python/examples
If you need to change the threshold, hysteresis or delay you can add them as arguments to the installer:
sudo ./install-service.sh --on-threshold 65 --off-threshold 55 --delay 2
To enable CPU-frequency based control:
sudo ./install-service.sh --on-threshold 65 --off-threshold 55 --delay 2 --preempt