Door contact / reed switch

I’m trying to do the same thing. Can someone reference a contact sensor that works with the esp8266. I’d do an esp32, but I already have an 8266 right there

Just google ‘reed switch’.