Magnetic Contact
From Amazon
SONOFF DW2-WiFi Door Window Sensor, Mini Wireless Door Window Alarm System, Smart Monitoring Device for Home Security, Works with Alexa and Google Home, 2.4 GHz WiFi Only, No Hub Required
Smart Living
SONOFF DW2-RF - 433MHz RF Wireless Door/Window Sensor