Hello, The script is working well.
I set the TIMER_SEC=45.
So fan turns on MAX at 57c, fan will run for 45 seconds, if temp falls under 57c in this time, fan shuts off.
The idea was to turn fan on at the temperature threshold, but delay turning it off until the temp falls several degrees. This keeps the fan from turning on and off a lot.
Would it be possible to have the fan, once on, stay on until temperatures fall 6-7c below turn-on threshold?
Thanks balbes150. As usual, great work.