Just attach to the door, and the movement of the door makes the bell ring, simple and effective.
Specification