A method for configuring a motorized drive device for a solar protection home automation facility , the solar protection home automation facility comprising a shading device , the shading device comprising at least: - a winding tube , - a screen , a first end of the screen being fastened to the winding tube , - a bar , a second end of the screen being fastened to the bar , and - at least two arms , a first end of each of the arms being fastened to the bar and a second end of each of the arms being fastened to a support structure of the shading device , the motorized drive device comprising at least: - an electromechanical actuator making it possible to wind and unwind the screen on the winding tube , and to fold and unfold the arms , the electromechanical actuator comprising at least: - an electric motor , - an output shaft connected to the winding tube of the shading device , and - an electronic control unit , the electronic control unit comprising at least: - a device for measuring a property (I) of an electric current traversing the electric motor , and - a memory storing at least one value of the measured property (I), characterized in that said method comprises at least the following steps: - (E50) triggering the winding of the screen , from an unwound position, in which the screen is relaxed, to a wound position, - (E60) measuring the property (I) of the electric current traversing the electric motor via the measuring device , - (E80) determining a first maximal value (Imax1) of the measured property (I), the first maximal value (Imax1) being representative of a breakage position of the arms of the shading device , and - (E90) determining a lower end-of-travel position of the screen , ▪ where the lower end-of-travel position of the screen corresponds to a value of the measured property (I) below the first maximal value (Imax1), and ▪ where the lower end-of-travel position of the screen is located before the breakage position of the arms of the shading device , in the unwinding direction of the screen . - a winding tube , - a screen , a first end of the screen being fastened to the winding tube , - a bar , a second end of the screen being fastened to the bar , and - at least two arms , a first end of each of the arms being fastened to the bar and a second end of each of the arms being fastened to a support structure of the shading device , - an electromechanical actuator making it possible to wind and unwind the screen on the winding tube , and to fold and unfold the arms , - an electric motor , - an output shaft connected to the winding tube of the shading device , and - an electronic control unit , - a device for measuring a property (I) of an electric current traversing the electric motor , and - a memory storing at least one value of the measured property (I), - (E50) triggering the winding of the screen , from an unwound position, in which the screen is relaxed, to a wound position, - (E60) measuring the property (I) of the electric current traversing the electric motor via the measuring device , - (E80) determining a first maximal value (Imax1) of the measured property (I), the first maximal value (Imax1) being representative of a breakage position of the arms of the shading device , and - (E90) determining a lower end-of-travel position of the screen , ▪ where the lower end-of-travel position of the screen corresponds to a value of the measured property (I) below the first maximal value (Imax1), and ▪ where the lower end-of-travel position of the screen is located before the breakage position of the arms of the shading device , in the unwinding direction of the screen . ▪ where the lower end-of-travel position of the screen corresponds to a value of the measured property (I) below the first maximal value (Imax1), and ▪ where the lower end-of-travel position of the screen is located before the breakage position of the arms of the shading device , in the unwinding direction of the screen . <EOS>