

I am using a Geekworm NASPI case, which has a X-C1 power management board that controls the fan using GPIO pin 18, which seems to be more or less standard also for other case fans. This guide is for those that are running Home Assistant OS on a Raspberry (or similar platform) with a case that includes a PWM-controlled CPU fan and where that fan is normally controlled by installing some software.

Big thanks to everyone who contributed with comments and solutions to issues that occurred after GPIO support was dropped Try at your own risk, as there is always a chance of breaking HA when installing non-supported add-ons. The solution still works, but needs an add-on installed through HACS.

Before you read this guide, please note that GPIO support was dropped from HA since release 2022.4.
