This circuit can be supplied with voltages of 6 or 12 V, depending on the relay. The transistor can be the BC548 and the resistor can also have higher values for less standby consumption, with up to 47k. The sensors in the drawing are only two, but the number can be much larger. Reed sensors are ideal for protecting homes, stores, industrial facilities, etc.