Hi,
The device you have chosen is a VERY CHEAP and VERY DANGEROUS device to replace its pot and connect to anything.
The pot will be at 220Vac so connecting a digital pot is not possible the way you want to do it.
Remember ALL of this device is at mains potential.
Also a lot of fans do not like electronic speed controls like this.
Tom... :o
