- Ensure you are using an appropriate power supply. See the warning at the top of this page:
-
USB peripherals directly attached to the Pi can exceed the power supply limits (for example SSDs and Disk drives). Use the Raspberry Pi Power Supply Checker Integration to monitor your power. Always attach these to a separately powered USB hub then attach the USB hub to the Pi.
-
Try a different power supply (power supplies can fail).
-
The SD card, SSD, etc. may have corrupt files from a crash, power fail, repeated power cycles without proper shutdown, etc. Try a clean install and recovery from a backup. Or If you find the configuration.yaml, copy all files and directories (including hidden files) in that folder somewhere safe, and after installing a new HA, copy them to your new installation.
-
Check the system log files to see if there are any errors that correlate to the times of the crash. If the system won’t boot, you can move the system media (e.g. SD Card) to a Windows system and use Linux Reader to read the partitions and files.
- Home-assistant.log
- home-assistant.log.1
- Home-assistant.log.fault
-
Check the other log files.
-
Could an Integration be misbehaving?
- Check the Known Issues for the integration
- Remove the suspect integration to see if that helps.
-
More diagnostic and repair tools can be found here: Common tasks - Operating System - Home Assistant.