Placement of a collar on the spiral cord of the sensor in order to control its curvature when closing the door