An apparatus for controlling operation of a car door arranged in an elevator car via operating a door driving system arranged to drive movement of the car door between first and second end positions of its movement range, wherein the door driving system comprises an electric motor that is coupled to the car door via a transmission system and wherein, the elevator car comprises a door coupler connected to the car door for temporarily coupling the car door to a landing door when the elevator car resides in a landing zone of a landing such that the landing door moves between a closed position and an open position together with the car door , wherein the apparatus is arranged to control movement of the car door and monitor one or more parameters that are descriptive of power consumption of said electric motor upon movement of the car door , wherein the apparatus is arranged to carry out a configuration procedure comprising: recording a first power consumption profile that is descriptive of the power consumption of said electric motor as a function of the car door position when the car door is moved from the first end position to the second end position, recording a second power consumption profile that is descriptive of the power consumption of said electric motor as a function of the car door position when the car door is moved from the second end position to the first end position, and characterized by designating one of the first and second end positions as a closed door position and the other one of the first and second end positions as an open door position based on one or more characteristics of the first and second power consumption profiles. wherein the apparatus is arranged to control movement of the car door and monitor one or more parameters that are descriptive of power consumption of said electric motor upon movement of the car door , wherein the apparatus is arranged to carry out a configuration procedure comprising: recording a first power consumption profile that is descriptive of the power consumption of said electric motor as a function of the car door position when the car door is moved from the first end position to the second end position, recording a second power consumption profile that is descriptive of the power consumption of said electric motor as a function of the car door position when the car door is moved from the second end position to the first end position, and characterized by designating one of the first and second end positions as a closed door position and the other one of the first and second end positions as an open door position based on one or more characteristics of the first and second power consumption profiles. recording a first power consumption profile that is descriptive of the power consumption of said electric motor as a function of the car door position when the car door is moved from the first end position to the second end position, recording a second power consumption profile that is descriptive of the power consumption of said electric motor as a function of the car door position when the car door is moved from the second end position to the first end position, and characterized by designating one of the first and second end positions as a closed door position and the other one of the first and second end positions as an open door position based on one or more characteristics of the first and second power consumption profiles. <EOS>