As others have suggested just use a reed switch security contact. If you can't find a way to mount an normal type you can buy heavy duty versions that can be mounted on the bottom of the door and the fixed part is strong enough to drive over it. This is one example.
Les
Les
Last edited: