The direction of the motor is reversed. Please turn the motor to the other side, and then adjust the height of the magnet according to the picture. The infrared sensor only works when the door is closed, and it does not work when the door is open. Please see the picture: https://we.tl/t-xoqjqnaBZz.
By vevor