Wemos R1 + D4184 Mofset + Sensor SR501 + Active Buzzer

What is wired to pin 6? Are you sure it is not always reading HIGH since that will keep the buzzer on all the time. A schematic, even hand drawn would be better than those photos.