Gate with reed-contact