Hi Gareth, hi Zach,
I have not noticed a problem I could directly relate to a sleep mode with the ESP, but I get random disconnects seldomly too (though thats related to all the radio noise on a stage). I have not looked at the code I provided in a long time, I will have a look when I'm back from holiday.
@Zach: how does the problem show for you? How do you power the ESP (I mostly use a powerbank plugged into the USB port)
My first hacky idea to circumvent the problem would be to keep the ESP busy with some loop. I will be using my pedal quite extensively in the next 2 weeks, so doing some debugging would be possible. If the ESP has a sleep mode, there should be some documentation on it, but I don't know how easy this will be to control from the Arduino framework. Disabling it would be the cleanest solution for sure.
Best,
Leo