MOES curtain module, how to calibrate

I found a solution