How to judge whether Mi Door and Window Sensor 2 is working normally?

Close the main body of the sensor to the magnet and separate it for 2-3 times. Then enter the main page of the sensor in MI Home APP and refresh the device log. If there is a corresponding log, it indicates that the device works normally