1.avoid to install the sensor on the metal.2.to make sure good wireless communication,the distance between the sensor and Gateway should be less than 10 meters.4.avoid walls between Door Sensor and gateway,or reduce the distance.