The 10$ Gocomma Wifi Door Sensor on Gearbest seems to use ESP8266

They look the same PCB as the NAS-DS01W Reliable and cheap door/window sensors

I gave up trying to reflash them in the end. I could get them into programming mode but couldn’t flash them. There must be something interfering with the chip on the PCB.