Inside EMS Door from ELSYS.se you will find internal sensors for detecting when something has moved.

Typical for door activation but the application scope is bigger than that.

The minimal magnet is designed to be mounted on the part that may move and the EMS Door close to it on something fixed.