Home assistant randomly crash

Good evening,

I run home assistant on a raspberry pi 4 with a SSD

settings

System Health

version: core-2022.6.6
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
user: root
virtualenv: false
python_version: 3.9.12
os_name: Linux
os_version: 5.15.32-v8
arch: aarch64
timezone: Europe/Berlin

GitHub API: ok
GitHub Content: ok
GitHub Web: ok
GitHub API Calls Remaining: 4888
Installed Version: 1.25.5
Stage: running
Available Repositories: 1061
Downloaded Repositories: 18

logged_in: true
subscription_expiration: 25. Juni 2022 um 02:00
relayer_connected: true
remote_enabled: true
remote_connected: true
alexa_enabled: true
google_enabled: false
remote_server: eu-central-1-0.ui.nabu.casa
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok

host_os: Home Assistant OS 8.2
update_channel: stable
supervisor_version: supervisor-2022.05.3
agent_version: 1.2.1
docker_version: 20.10.14
disk_total: 222.8 GB
disk_used: 26.5 GB
healthy: true
supported: true
board: rpi4-64
supervisor_api: ok
version_api: ok
installed_addons: File editor (5.3.3), Log Viewer (0.14.0), Home Assistant Google Drive Backup (0.108.2), Z-Wave JS (0.1.62), Terminal & SSH (9.4.0), Check Home Assistant configuration (3.10.2), Samba share (9.7.0), MariaDB (2.4.0), Vaultwarden (Bitwarden) (0.17.0), Nginx Proxy Manager (0.12.0), InfluxDB (4.5.0), Duck DNS (1.15.0), ESPHome (2022.6.1), Mosquitto broker (6.1.2), Studio Code Server (5.1.1), Node-RED (12.0.2), Traccar (0.17.0), Network UPS Tools (0.11.0), Zigbee2MQTT (1.25.2-1)

dashboards: 1
resources: 12
views: 2
mode: storage

oldest_recorder_run: 12. Juni 2022 um 09:16
current_recorder_run: 22. Juni 2022 um 19:06
estimated_db_size: 1457.46 MiB
database_engine: sqlite
database_version: 3.34.1

api_endpoint_reachable: ok

The problem is, randomly (every 2-3 weeks) the “server” goes down. Then the raspberry respond to a ping and if I go to the ip without a port then the Congratulation from the nginx proxy server shows up but the webinterface doesent load when I add the port. A connection with ssh also doesen’t work.
For the onlinecontrolling I use uptimerobot this said today that home assistant goes off at 15:22 (3:22pm). Then there is only 1 solution, unplug the power and plug it in again. At this time I saved the home-assistant.log.1

log

2022-06-22 01:15:24 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Kühlschrank data
2022-06-22 03:02:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Kühlschrank data
2022-06-22 03:19:33 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching Roborock S6 data
2022-06-22 03:50:13 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Tiefkühler data
2022-06-22 04:22:58 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Tiefkühler data
2022-06-22 09:17:17 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Zirkulationspumpe data
2022-06-22 14:38:43 ERROR (MainThread) [custom_components.hacs] <Integration fred-oranje/rituals-genie> GitHub returned 404 for https://api.github.com/repos/fred-oranje/rituals-genie

This log says nothing special or anything becaus the last messange was about 1 hour ago.

How can I find the problem?

Watch your cpu and ram usage.

This looks normal


I had a similar problem. My solution was to replace the power supply. Now it is really stable again.

thanks, but for the pi it’s the original 5,1v 3a power supply
I try now another 3a powersupply maybe it work’s better.