Meet the Zero WiFi Smart Window Sensor: a handy tool that helps you keep an eye on events in your property. It connects with the Mijia app. It has a g-sensor to detect any window break.
This IP33 rated sensor runs on AA battery. It monitors for any abnormal glass vibration to warn you. You can find out more about it here.