The TF-sensor readings "hangs" exactly after 13 days.
After that always the same value is given out.
This behavior was occured every 13 days in the last 5 months.
What could that be?
How do you guys track the amperage draw of the stick when sleeping? Do you take it apart, cut a power line, hook up a multimeter in between, and later resolder?
Also have you guys experimented with the difference between
AFAIU Axp.DeepSleep is only supposed to turn off "external devices" (gyro, screen, etc.) but not the ESP itself, right?
And @Morris45 what does the Wire.begin(32, 33); line do in your code above? And why are we commenting out M5.begin()? What's the battery life you're getting from your watch? I'm trying to do a simple infrared remote (that only wakes up when you first pres the main button) and even in full deep sleep, I'm only getting 2 days.
I have the latest version of the M5Stack gray, but the board also reads 2018.3. I am going to try out your code that you used for M5StickC on my M5Stack Gray with PlatformIO.
I will report back how it went. All I want is a wake up on movement :). The same thing you got running on your M5StickC.
It is a built-in function of PMU. One pressing will only reset the ESP32, double pressing will be treated as power off, so the PMU will directly cut-off the MCU's power. We may supply modifying such functions in the future hardware releases.