How to calibrate a Xiaomi Treadmill manually?

Xiaomi Treadmill offer speed read out and motor control in Python and Home Assistant: fellnr used a high speed video camera and Kinovea for treadmill calibration: https://fellrnr.com/wiki/Treadmill_Calibration But with a Xiaomi Treadmill this is eventually easier. We can do this similar with foot pod calibration. Foot pods can be calibrated manually for instance if we …