In my experience CPU temperatures depend so strongly on workload that they are not a good way to determine whether the ambient temperature recommends additional airflow. Fido's solution obtains an approximation of ambient temperature by running smartctl on an idle hard disk.I have a cluster of 8 Pi 4s and 5s that I have run many projects on but I have never done anything with any HATs or other pluggable hardware.
Last year I had to move the cluster to my garage which gets hot in the summer
I picked up this fan: ANEXT Cooling Case Fan - runs 24/7 and definitely overkill for this, but it was on sale.
I'd like to set up a thermostat on one of the top Pis in the rack and when it gets to say 60c, run the fan
I've read several post threads that assume some level of experience I lack.
Can anyone point to a project i can implement to power the fan when a CPU reaches a certain temperature?
Much appreciated.
If the ambient temperature gets too hot, pause the computation using
Code:
$ kill -SIGSTOP $pid
When the temperature falls below a certain threshold, start the computation again with
Code:
$ kill -SIGCONT $pid
Statistics: Posted by ejolson — Wed Apr 24, 2024 3:15 am