The Mi Door and Window Sensor work erratically, sometimes working and sometimes not working.

If the Mi Door and Window Sensor work erratically, sometimes working and sometimes not working, please refer to the following steps:
1. Make sure your sensor has enough battery power or replace the battery if needed;
2. Ensure the sensor is close enough to the hub or gateway for a strong signal and keep the sensor away from other electronic devices that may cause interference;
3. Make sure both your sensor and the app are up to date with the latest software;
4. The sensor must correctly aligned and mounted on a suitable surface and suitable environment with moderate temperature and humidity;
5. Restart your sensor and gateway to refresh their connections;
6. Reset your sensor and re-pair it with the gateway;
7. If the issue persists, contact your local after-sales for further assistance regarding this issue.