raspberrypi-fan-control icon indicating copy to clipboard operation
raspberrypi-fan-control copied to clipboard

totally disable fan when under a certain temperature

Open ligmaSec opened this issue 10 months ago • 3 comments

Hi, First off, thank you for this useful piece of software. This works like a charm. Though, I was wondering if it was possible to have the fan not spin at all when under a certain temperature ? Something like the gpio-fan dt-overlay (https://github.com/raspberrypi/firmware/blob/c167a3336a2a770ab840e94f2cb1d379d8478c1d/boot/overlays/README#L1446) but with the PWM feature.

Thanks.

ligmaSec avatar Apr 17 '24 08:04 ligmaSec

Though, I was wondering if it was possible to have the fan not spin at all when under a certain temperature ?

This is exactly how fan-control works. Fan will not spin below TEMP_LOW. You can adjust the TEMP_LOW and TEMP_MAX according to your desired value in the config file params.conf, available in the release.

It is mentioned in the Readme under Points to Note. https://github.com/ar51an/raspberrypi-fan-control?tab=readme-ov-file#points-to-note

ar51an avatar Apr 17 '24 14:04 ar51an

my fan doesn't stop when the temp is under TEMP_LOW, it seems like it just sits at the lowest rpm

ligmaSec avatar Apr 18 '24 07:04 ligmaSec

What is the TEMP_LOW value you are using? (Try with TEMP_LOW=50 and TEMP_MAX=60)

Which fan-control you are using Wiringpi or Pigpio?

How do you know the fan is not stopping below TEMP_LOW, Did you visually inspect it or checked the logs? (Logs will not print anything when fan is stopped)

I just inspected my fan and it is stopping below TEMP_LOW=40 in my environment. I am using RP4, Noctua fan and Wiringpi fan-control.

Edit: When the fan is spinning it will log after every 5 sec (default delay to adjust fan speed). Take a look at below screenshot of fan-control logs. Logs that are marked in red have difference of more than 5 sec. Whenever the difference is more than 5 secs the fan is not spinning, you can verify this by visually inspecting the fan. It is coded this way to reduce logging when the fan is not spinning.

fan-logs

Please paste the output of your fan-control logs as well.

ar51an avatar Apr 18 '24 10:04 ar51an