HA Crashes Daily

Hello!

HA has been crashing daily and I am unsure why. I cannot roll back to a previous backup as I do not know when it started. I have my firmware information and logs below. Any help would be appreciated! Thank you in advance!

  • Core2024.2.1
  • Supervisor2024.01.1
  • Operating System11.5
  • Frontend20240207.
2024-02-18 11:17:07.147 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration molad which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.153 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration google_photos which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.170 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration mail_and_packages which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.174 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration scheduler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.182 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration adaptive_lighting which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.187 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration anniversaries which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.191 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration google_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.196 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.202 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration nws_alerts which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.207 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration gkeep which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.212 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration deebot which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.217 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration daily_schedule which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.226 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration ytube_music_player which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.231 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration weatherdotcom which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:07.236 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-18 11:17:18.269 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2024-02-18 11:17:18.514 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=78 from 2024-02-17 18:37:47.980675)
2024-02-18 11:17:37.607 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2024-02-18 11:17:37.608 WARNING (MainThread) [homeassistant.setup] Setup of bluetooth is taking over 10 seconds.
2024-02-18 11:17:38.044 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /store request
2024-02-18 11:17:38.044 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store - 
2024-02-18 11:17:38.046 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /resolution/info request
2024-02-18 11:17:38.047 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /resolution/info - 
2024-02-18 11:17:38.049 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /network/info request
2024-02-18 11:17:38.049 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /network/info - 
2024-02-18 11:17:38.050 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request
2024-02-18 11:17:38.051 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /core/info - 
2024-02-18 11:17:38.052 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request
2024-02-18 11:17:38.052 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /os/info - 
2024-02-18 11:17:38.053 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request
2024-02-18 11:17:38.054 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /supervisor/info - 
2024-02-18 11:17:38.056 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons request
2024-02-18 11:17:38.056 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons - 
2024-02-18 11:17:38.058 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /info request
2024-02-18 11:17:38.058 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /info - 
2024-02-18 11:17:38.059 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /homeassistant/options request
2024-02-18 11:18:03.490 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform template is taking over 10 seconds.
2024-02-18 11:18:03.491 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform template is taking over 10 seconds.
2024-02-18 11:18:03.491 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds.
2024-02-18 11:18:03.491 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds.
2024-02-18 11:18:08.481 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server core-mosquitto:1883 (7)
2024-02-18 11:18:15.423 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server core-mosquitto:1883 (7)
2024-02-18 11:18:16.656 WARNING (MainThread) [homeassistant.setup] Setup of input_button is taking over 10 seconds.
2024-02-18 11:18:16.657 WARNING (MainThread) [homeassistant.setup] Setup of schedule is taking over 10 seconds.
2024-02-18 11:18:19.013 WARNING (MainThread) [homeassistant.setup] Setup of timer is taking over 10 seconds.
2024-02-18 11:18:19.014 WARNING (MainThread) [homeassistant.setup] Setup of input_datetime is taking over 10 seconds.
2024-02-18 11:18:19.014 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds.
2024-02-18 11:18:19.015 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds.
2024-02-18 11:18:19.015 WARNING (MainThread) [homeassistant.setup] Setup of python_script is taking over 10 seconds.
2024-02-18 11:18:19.015 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds.
2024-02-18 11:18:19.016 WARNING (MainThread) [homeassistant.setup] Setup of tag is taking over 10 seconds.
2024-02-18 11:18:19.016 WARNING (MainThread) [homeassistant.setup] Setup of counter is taking over 10 seconds.
2024-02-18 11:18:19.017 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.
2024-02-18 11:18:19.025 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform template is taking over 10 seconds.
2024-02-18 11:18:19.026 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform template is taking over 10 seconds.
2024-02-18 11:18:19.026 WARNING (MainThread) [homeassistant.setup] Setup of logbook is taking over 10 seconds.
2024-02-18 11:18:19.636 ERROR (MainThread) [custom_components.weatherdotcom.coordinator] Error fetching Weather.com data: TimeoutError()
2024-02-18 11:18:19.641 ERROR (MainThread) [custom_components.weatherdotcom.coordinator] Error fetching Weather.com data: TimeoutError()
2024-02-18 11:18:19.797 WARNING (MainThread) [homeassistant.setup] Setup of system_health is taking over 10 seconds.
2024-02-18 11:18:19.798 WARNING (MainThread) [homeassistant.setup] Setup of tplink is taking over 10 seconds.
2024-02-18 11:18:38.391 WARNING (MainThread) [deebot_client.hardware.deebot] No capabilities found for 85as7h. Using fallback.
2024-02-18 11:19:00.704 WARNING (MainThread) [homeassistant.components.camera] Setup of camera platform google_photos is taking over 10 seconds.
2024-02-18 11:19:00.705 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform google_photos is taking over 10 seconds.
2024-02-18 11:19:00.705 WARNING (MainThread) [homeassistant.components.select] Setup of select platform google_photos is taking over 10 seconds.
2024-02-18 11:19:13.211 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ state_attr('weather.forecast_home_celsius_met', 'temperature') | float }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2006, in forgiving_float_filter
    return float(value)
           ^^^^^^^^^^^^
TypeError: float() argument must be a string or a real number, not 'NoneType'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 572, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2332, in _render_with_context
    return template.render(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2009, in forgiving_float_filter
    raise_no_default("float", value)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1637, in raise_no_default
    raise ValueError(
ValueError: Template error: float got invalid input 'None' when rendering template '{{ state_attr('weather.forecast_home_celsius_met', 'temperature') | float }}' but no default was specified

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 698, in async_render_to_info
    render_info._result = self.async_render(
                          ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 574, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'None' when rendering template '{{ state_attr('weather.forecast_home_celsius_met', 'temperature') | float }}' but no default was specified
2024-02-18 11:19:13.256 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'None' when rendering template '{{ state_attr('weather.forecast_home_celsius_met', 'temperature') | float }}' but no default was specified') while processing template 'Template<template=({{ state_attr('weather.forecast_home_celsius_met', 'temperature') | float }}) renders=4>' for attribute '_temperature' in entity 'weather.forecast_home_celsius'
2024-02-18 11:33:58.995 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.browser_mod.media_player.BrowserModPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.PAUSE|SEEK|VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|PLAY_MEDIA|STOP|PLAY|BROWSE_MEDIA: 152463>, please report it to the author of the 'browser_mod' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Start by disabling your custom integrations. If that helps, enable one by one until the problem starts again.

Hello,

Could you also provide your hardware specifications, ram, CPU etc

When you say it crashes daily can you be more specific? Does the system hang, freeze, become unresponsive … Or does it simply reboot itself

Can you provide all the logs from /config including the old rotated log prior to the ‘crash’

Provide as much information as you can as the issue could be any number of things

Thank you both for the quick response!

Please see the requested info below:

rpi3-64
uses 0.8 GB / 1 GB
and about 5% of the processor

System simply reboots

I am unsure how to access /config as there is no folder by that name when I access my files via File Editor

I don’t think 1GB of RAM is going to cut it

1 Like

Interesting, I will look into that. In the meant time I will disable some addons to hopefully free up RAM

1 Like