System is based on ESP32 Module 12F with wifi. (DOITING ESP-12F )
My finished Arduino project runs stable as long as I dont take main power 230 V
When power off, 230V, then when power back system dont load.
Only stable way to restart is to disconnect USB cable then reconnect USB.
System is powered with a USB charger.
Is there a way to force system to reboot safe when mains powers goes on after a off?
An ESP-12F is usually an ESP8266 and not an ESP32. Post a link to the actual product you're using!
Most probably this is caused by that USB charger but you failed to provide a link to it, so we're not able to check that.
If you pull that USB charger out of the mains and don't reconnect for one minute. After that you reconnect to the mains. Does the ESP start correctly in this case?
Phone chargers must provide much current but don't have to have a small rise time. Have you tried a Raspberry Pi power supply? I would expect them to be faster.