I am fighting with an issue I am not able to solve by myself even after days of googling and testing.
I am trying to put my ESP into deep sleep without satisfying result. So I have this traditional measure, send and sleep routine. After I execute machine.deepsleep() command my ESP is waking up for a random number of times. So it can send 15 measures over mqtt or 50 measures, no pattern at all.
I've obviously connected D0 with RST, I tried 2 differernt power banks and power supply with the same result.
What is strange, when ESP stops sending data it should be in deep sleep (last command in log) but I can access it via rshell (when connected to rpi3 usb port). So I am totally confused :/
Any help much appreciated.