I’ve fixed it now. It appeared to be the same common fault people are finding, the little connector in the passenger footwell behind the plastic panel. On first inspection it looked ok, but I thought let me try anyway. I cut it off and used cable connectors instead. The fan started working straight away.