I describe a problem I have with a system based on an ESP32 microcontroller.
After many programming tests that I carried out in the house where I live, I got a stable system (without resets) , but, when I moved it to its destination to my country house, to control irrigation, boiler, hot water, heating, mains water pressure, temperature... etc. , I discover that the system resets randomly many times a day. The only explanation I can find is that the mains current reaches my house with an unusual noise. I have tried different power supplies for the ESP32, but the differences are minimal, and it is independent if I keep the ESP32 disconnected from all the sensors and relays, the problem is always the same.The only option I can think of now is that the power in this house is quite poor (noise), and causes the ESP32 to restart. If anyone could help me or give me some idea on how to proceed I would be very grateful.