Speed Control of 230 Vac motor with Arduino

It depends on what type of motor the ventilator uses.
There are 2 common types of AC Motors, Universal or Brush type and Induction Motors.
The first type can be speed controlled with Triacs , but the 2nd type cant.