Thanks Hak, but it's not that complicated once You understand how it works.
It's just a doble comparator, one for the "FAN ON" temp and the other one for the "FAN OFF" temp.
But the circuit must "remember" it's last state when between the ON and OFF temps, and that was the hardest thing to design.
But I finally got it using a double circuit relay with NC and NO contacts.
Also had to add a pair of transistors to be able to drive the relay as the comparator itself doesn't provide enough current.
The 1Mohm resistor on the comparator is to create some hysteressis (smitt trigger) to avoid bouncing on the relay (that happens when the temp is so close to the switch point that the comparator switches back and forth).
About the boards, I haven't done anything, just the prototype.