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