piframe/docs/pimoroni_fan_shim.md

16 lines
464 B
Markdown
Raw Normal View History

2020-08-11 00:28:11 +00:00
# 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
2020-08-11 00:30:32 +00:00
sudo ./install-service.sh --on-threshold 55 --off-threshold 45 --delay 5
2020-08-11 00:28:11 +00:00
systemctl enable --now pimoroni-fanshim.service
```