Door opener device for use in a door, having a door leaf moveably mounted in a stationary door frame, comprising a) an electrically controllable door opener, having a moveably mounted door opener latch and an electrically switchable locking device by means of which the door opener latch can be brought into a locking position and into a releasing position in order to fix the door leaf in the closed position of the door when the door opener latch is in the locking position and to release the door leaf from the closed position of the door to open the door when the door opener latch is in the releasing position, wherein, in the locking position, the door opener latch is secured, i.e. prevented from moving, and wherein, in the releasing position, the door opener latch is not secured, i.e. is not prevented from moving, and b) a counter element interacting with the door opener latch, wherein the door opener having the door opener latch is mounted on the stationary door frame and the counter element is mounted on the door leaf or the counter element is mounted on the stationary door frame and the door opener having the door opener latch is mounted on the door leaf, wherein it is provided that (i) the door opener latch has a magnet and the counter element has a magnetisable material that interacts with the magnet of the door opener latch or a magnet that interacts with the magnet of the door opener latch, (ii) the counter element can be moved between an extended and a retracted, i.e. withdrawn, position, (iii) the counter element is loaded by a spring in such a way that, when the door is not in the closed position, the counter element is retracted, i.e. withdrawn, under the effect of the spring, (iv) when the door is in the closed position, the counter element is extended under a magnetic influence between the door opener latch and counter element, against the effect of the spring, (v) the door opener latch has a moveably mounted base body and a catch body that can be removably fixed on the base body in a variably adjustable position and is made of a magnetisable material and the magnet of door opener latch is arranged between the base body and the catch body. a) an electrically controllable door opener, having a moveably mounted door opener latch and an electrically switchable locking device by means of which the door opener latch can be brought into a locking position and into a releasing position in order to fix the door leaf in the closed position of the door when the door opener latch is in the locking position and to release the door leaf from the closed position of the door to open the door when the door opener latch is in the releasing position, wherein, in the locking position, the door opener latch is secured, i.e. prevented from moving, and wherein, in the releasing position, the door opener latch is not secured, i.e. is not prevented from moving, and b) a counter element interacting with the door opener latch, wherein the door opener having the door opener latch is mounted on the stationary door frame and the counter element is mounted on the door leaf or the counter element is mounted on the stationary door frame and the door opener having the door opener latch is mounted on the door leaf, (i) the door opener latch has a magnet and the counter element has a magnetisable material that interacts with the magnet of the door opener latch or a magnet that interacts with the magnet of the door opener latch, (ii) the counter element can be moved between an extended and a retracted, i.e. withdrawn, position, (iii) the counter element is loaded by a spring in such a way that, when the door is not in the closed position, the counter element is retracted, i.e. withdrawn, under the effect of the spring, (iv) when the door is in the closed position, the counter element is extended under a magnetic influence between the door opener latch and counter element, against the effect of the spring, (v) the door opener latch has a moveably mounted base body and a catch body that can be removably fixed on the base body in a variably adjustable position and is made of a magnetisable material and the magnet of door opener latch is arranged between the base body and the catch body.