Controlling Noctua fan with Raspberry Pi PWM GPIO

Hi all!

I am very new to Raspberry Pi and Home Assistant, I have looked for a similar topic in the community forum but wasn’t able to find a proper solution.

Home Assistanto OS is installed on my Raspberry Pi4 8GB, which came with a very nice 5V Noctua 40mm fan wit PWM control. Now, I have connected the fan to 5VDC and GND pins and it runs all the time very quietly, so I could even leave it as it is :slight_smile:

Is there a way to control fan speed with PWM directly from HA?

Thanks in advance

Stefano