The Shelly Door Window 2 sensor. It consists of two parts: one contains the electronics, the other a magnet. Both are enclosed in a white plastic case.