You are welcome. It was just a guess on my part that you also moved the fan_control.sh shell script to the subfolder called ‘scripts’. You are right that it makes no difference where it is located as long as the path in the autostart.sh script matches.
If you set FAN_OFF = 0, the fan should be stopped until the CPU temp value cross the threshold of MIN_TEMP. So you could lower the value MIN_TEMP near to the idle temperature for testing purposes, to trigger ON/OFF earlier and check the functionality of the script.
Hey Harry, is there a document or guide out there that could take me through the intricacies of running background Python processes (autostart), how to include modules without PIP, how to write an addon (that accomplishes bringing in modules), how to bake in what I usually need, how to avoid using docker if possible, and the do's and don'ts of LibreElec?
It's VERY frustrating but I do not complain because I totally get why LibreElec is the way it is. I have had Kodi installed in an OS like Ubuntu, Raspbian, and have had amazing issues. Most of those were years ago, but that is because once I found LibreElec, I just haven't had reason to go back to my previous strategy for a few years.
But now I have progressed considerably with embedded systems, microcontrollers, hardware (and systems) design, and hungry to add interfaces with a core system. This adventure (this thread) about how to add an aftermarket PWM fan for cooling was just the surface. I want displays, IR, Radio control, power management, HEVC, etc. It's for me, not the public, but I learned today I need to know the inside-info about all of it in order to do it right.
I apologize if this info is already available and advertised. Just not sure where to look.
Thanks again!!!