Controlling a fan/cooler

The yellow wire on your second fan is the tacho output, not a control input. You can switch them on and off using a mosfet.