0

i need to send commands to my hats that control fans and a little warning LED if the cpu goes above or below a specified state of temperature

https://unix.stackexchange.com/questions/756721/raspberry-pi-specific-script-to-run-commands-upon-cpu-reaching-defined-temperatu is the original post that should explain what i'm trying to do

i know there are physical means to control the temps but i want fans turned on and off depending on the temperature of the pi

1
  • This seems to be a how do I write a program question which is not a suitable question here.
    – joan
    Commented Sep 16, 2023 at 21:25

1 Answer 1

0

For the temperature monitoring part, use this tutorial. I don't know how to control the fans without knowing the hat type.

1
  • it's just a dockerpi relay hat i have a 12 volt rail for that relay to power a fan and a led. i managed to find someone who helped me put something together in python Commented Sep 17, 2023 at 1:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.