I have a simple piece of code to monitor a door opening, wake up the Photon, send an event, and then bo back to deep sleep. The device wakes up via a reed switch opening, causing the WKP pin to go high (pulled up via 14k resistor to 3.3V). It also wakes up once an hour via timer to push battery status (I am using the SparkFun battery shield with a solar panel).
It was working fine for a few days, but then I noticed I stopped getting updates. I went and checked it out and it seems like the device simply doesn’t wake up anymore from deep sleep unless I hit the reset button. Neither the RTC timer or WKP pin seems to cause it to wake. I didn’t change any software, it just stopped working on its own.
The device is put to sleep via:
Is there any explanation as to why it would suddenly stop waking up?