An operating method for controlling a motorized drive device for a closure or solar protection home-automation facility, the motorized drive device comprising:
- an electromechanical actuator,
- an electronic control unit,
- an autonomous power supply device, the autonomous power supply device comprising at least one battery and at least one photovoltaic cell,
- where the electromechanical actuator is electrically connected to the autonomous power supply device,
- wherein the method comprises at least the following steps:
- detecting power supply and cutoff periods of the electricity supply of the electromechanical actuator from the said at least one photovoltaic cell, only using elements for measuring a quantity related to the electricity supply of the electromechanical actuator by the said at least one photovoltaic cell,
- simulating a sequence of supply and cutoff periods of the electricity supply of the electromechanical actuator, where the supply and cutoff periods of the electricity supply are detected through measuring elements, and
- resetting at least part of the data stored by the electronic control unit, after the simulation step is carried out.