Wireless magnetic opening contact sensor