Speed controller for Ceiling Fan 220V AC 100W

I would like to use ESP32 to speed control my AC ceiling fan which is 220V AC 100 W.

Will the below AC dimmer work with ESP32 to speed control the ceiling fan which is 220V AC 100 W?

If not, kindly suggest a commonly used PWN dimmer that works with ESP32 to speed control ceiling fan with 220V 100W?

This is the link to Speed controller available on Amazon.

same question on SE motor - Speed controller for Ceiling Fan 220V AC 100W - Arduino Stack Exchange

Hi,
I can code.
I would like to know if the dimmer selected is okay for 220V AC 100W ceiling fan motor?

The module gives you the basic circuit to control AC. It reports zero-crossing and has an optocoupler switch to turn AC on and off. The dimming does your sketch, by cutting parts of the AC wave out in precise timing.

and the example sketch is suspicious. delay in interrupt?