I have four ESP-01 modules connected to AM2320 temp/humidity sensors. I have made the "DeepSleep mod" and after sending temp and humidity info over WiFi, they go to DeepSleep for 30min. Power comes from 18650 batteries that last several months that way.
The problem is, that after a while (few days to few weeks) eventually all of the ESP-01 modules start sending false data (2147483648 for temp and 2147483647 for humidity), which appears to be maximum value for 32bit data, until I disconnect the battery for some seconds. Then, after reconnecting the battery it's all good again for few days to few weeks.
What could be the problem or solution to the problem? Could it be hardware related or software related? My first thought was to add a function to the code that resets the ESP-01 every day or so, but recovering from DeepSleed should also reset the module?