piframe/docs/pimoroni_fan_shim.md

16 lines
479 B
Markdown

# Pimoroni Fan Shim
The below commands will setup the Pimoroni Fan Shim. The commands will turn the fan on at 45C and off again at 50C. Adjust if you need different values.
``` sh
sudo -sHu root
git clone https://github.com/pimoroni/fanshim-python.git /opt/fanshim-python
cd /opt/fanshim-python
./install.sh
cd examples
sudo ./install-service.sh --on-threshold 55 --off-threshold 45 --delay 5 --hysteresis 0
systemctl enable --now pimoroni-fanshim.service
```