How to fix ?

1. Place stickers on the sensor

2. Fix the part that goes on the doorframe

3. Fix the part that goes on the door as in the following video.