2021-08-23 14:30:55 +08:00

27 lines
742 B
Markdown

# Fan control daemon for devterm cm3(rpi os)
## Install
**devterm is pre-installed this package, so devterm cm3 users do not need to repeat the installation steps**
```
wget -O - https://raw.githubusercontent.com/clockworkpi/apt/main/debian/KEY.gpg | sudo apt-key add -
echo "deb https://raw.githubusercontent.com/clockworkpi/apt/main/debian/ stable main" | sudo tee -a /etc/apt/sources.list.d/clockworkpi.list
sudo apt update && apt install -y devterm-fan-temp-daemon-rpi
```
## Change the threshold temperature
Edit `/usr/local/bin/temp_fan_daemon.py`
line starts with `MAX_TEMP=80`
change the value of MAX_TEMP to whatever youlike
then restart systemd service to take effect
`sudo systemctl restart devterm-fan-temp-daemon`