Wireless monitor for a door, window or other opening panel