Controll Fan / ESP 32 / Relay

absolutely right, after reading a bit, it seems like I have to have a 3 - 4 pin rpm adapter that came with the fan, but then I can connect the rpm control cable directly to the esp as well?