Setting up OSMC for PWN fan control
edit /boot/config-user.txt and add these lines (70000 means starting the fan at 70 degrees Celsius) :
[pi4]
dtoverlay=gpio-fan,gpiopin=14,temp=70000
reboot
edit /boot/config-user.txt and add these lines (70000 means starting the fan at 70 degrees Celsius) :
[pi4]
dtoverlay=gpio-fan,gpiopin=14,temp=70000
reboot