Deep sleep not working with ESP BLE MESH
Posted: Fri Oct 08, 2021 1:41 pm
I have been trying to use BLE Mesh along with Deep sleep. The code works fine and it looks like the esp is going into deep sleep. However, when I measure the energy consumed using a multimeter, I see it is consuming around 60mA on average. It would be great if some could guide me on this. I am attaching my code below as zip. The code basic reads GPIO which is connected to a motion sensor. Sends the data to client and goes to sleep. It wakes up again after TIME_TO_SLEEP_IN_MINUTES minutes (which is set to 0.5) and repeats the same steps.