I have an old OpenEVSE wall unit that I upgraded to ESP32 from the shop. It worked OK but required power cycling about twice a month when acting oddly for no obvious cause. I decided to try adding some additional smoothing to the supply rail and fitted a small circuit board with 47uF and 100nF caps. It is now three months on and I no longer have to revive the unit by power cycling.
Maybe this could be of use to others.