On my raspberry pi 4 I have the official fan, which is very loud so I want to be able to configure the speed so it only run fast when is above 80°C and the rest of the time is quiet. Installing Raspberry Pi Os is possible to configure it like this, so I imagine this souble be doable in HAOS as well
I tried looking for addons, settings, everywhere but I found nothing useful. I’m using the GPIO 14 for the fan if that helps
I’ve added this and can trigger the fan by the switch. However, I cannot find a CPU temp in entities and don’t think my CPU temp is being read. Any way to check? Thanks.
@at9 Hi, i have been following exact same config but in my case nothing is happening in the way that my fan keeps turning no matter if i switch it off with switch platform or not. It seems the pin 18 that i am using is not “sending” any info to cut the power form pin +5v…
This thread is awesome, thank you so much @Saphyel for the config, works a treat, my CPU no longer overheats when building new firmwares for ESPHome.
For others, rather than using “System monitor” to get the CPU temp, I use Glances add-on as I already had it installed for something else… the temp monitoring on it appears (for me at least) to be more precise than System monitor which appeared to have quite some variation in temperature compared.