I want to wake up the esp8266 from deepsleep with one of two reed sensors. Each of them can do that and within the sketch i want to find out which one it was. It could happen that the sensor is already back to the initial state when the esp has startet and connected. I can not find a solution for that. My first thought was to connect it to rst and an gpio, but as i wrote it can happen that the sensor is already back to start when the esp started.
Anybody an idea or some hints how to solve it ?
Thank you !