Greetings Ug,
Welcome to the forum. Let’s see if I can be of any assistance.
There needs to be a little more information passed along here for us to help you I believe. This I’m predicting is something that has to be fixed in person unless you have some logs showing a problem.
- IS HA running when it quits, does it restart correctly, ie there anything in the logs?
- Is it a power supply problem, how are you generating the 5 volts for the PI, is that able to supply 5 amps continuous?
- Is the power to the PI power supply stable, you battery up to voltage and stable, charging system(s) not giving you E-noise. (Bulbs, heaters and motors don’t care, electronics do…)
- You mentioned heat, the pi power supply can also overheat and shut down, all those kinds of things.
- This is a mobile unit, all the wiring tight and not rubbed thru intermittently.
- ETc…