- Official Post
For RPi 4
Fanshim is a temperature controlled fan available for the RPi4 at Pimoroni. Whilst the instructions work well for Raspbian, they do not work with LE.
There is a discussion about it - Here - where a user (@jane-t) developed an addon to control the fan.
1) Install the raspberry pi tools add-on. Install from repository --> LibreELEC add-ons --> Program add-ons --> Raspberry Pi tools.
2) Download the Fanshim addon. RPi-Fanshim
2a) Install from zip file. Select rpi-fanshim-master.zip (You may be warned about adding unknown sources)
3) Reboot
You are now up and running. Edit the settings of the add-on to fine tune to your liking.
To test: Install the LE system-tools add-ons and reboot.
Now from a SSH session.
stress-ng -c 4 -t 120
Where c = number of CPU's and t is time in seconds to run.
To display the temperature just run
cputemp or bcmstat.sh for much more information.