Hi,
for a few weeks already I have a anoying issue with my HASS without changing anything to the automations and entities. After 18 to 36 hours of running the web interface gets slow and a few hours later automations stop running. The issues are resolved after a hard reset of the raspi. But restarting from the web is not possible at this stage. After reset everything is running fine again. Today I could download the logs (see below) before I did the reset. One example for it going wrong is that no texts are displayed anymore.
At the moment I am not sure where to look for the issue. My best guess is that something with DuckDNS is not going allright. I’ve read before that cloudflare would be the better option anyway. In the logs I don’t see the specific issue.
Where would you start to resolve this?
2024-08-10 21:49:11.597 WARNING (SyncWorker_0) [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-08-10 21:49:11.600 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration localtuya 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-08-10 21:49:11.602 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration midea_dehumidifier_lan 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-08-10 21:49:39.573 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/frontend", "/config/custom_components/hacs/hacs_frontend", False)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 54: hass.http.register_static_path(f"{URL_BASE}/frontend", locate_dir(), cache_headers=False), please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:39.587 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/iconset.js", "/config/custom_components/hacs/iconset.js", True)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 57: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:39.604 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:39.619 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles", "/config/www/community", True)])`; This function will be removed in 2025.7 at custom_components/hacs/base.py, line 1162: self.hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:45.075 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for switchflurtuerdruecker @ 192.168.0.211: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.0.211', port=6053))]: [Errno 113] Connect call failed ('192.168.0.211', 6053) (SocketAPIError)
2024-08-10 21:49:45.078 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for switchflurklingel @ 192.168.0.134: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.0.134', port=6053))]: [Errno 113] Connect call failed ('192.168.0.134', 6053) (SocketAPIError)
2024-08-10 21:49:55.174 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 630: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:55.671 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:55.899 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:55.953 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:55.989 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:56.218 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:57.466 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:57.480 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:57.596 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:57.609 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:57.622 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:57.732 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:57.866 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-10 21:49:57.988 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 01:27:44.152 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.0.114: Response error
2024-08-11 01:27:45.157 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.0.114: Exception trying to establish web socket connection for hub 11992142: Cannot connect to host 192.168.0.114:8088 ssl:default [Network unreachable]
2024-08-11 01:27:48.580 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}) renders=6>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_einspeisung_keller'
2024-08-11 01:27:48.581 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}) renders=94>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_verbrauch_keller'
2024-08-11 01:27:56.648 ERROR (Recorder) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 715, in ping
await self._send_frame(message, WSMsgType.PING)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 675, in _send_frame
self._write(header + mask + message)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 702, in _write
raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
2024-08-11 02:09:04.002 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 357, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "aiohttp/_http_parser.pyx", line 563, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message:
Pause on PRI/Upgrade:
b''
^
2024-08-11 03:49:55.446 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 03:49:55.460 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 03:49:55.475 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 03:49:55.587 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 03:52:21.280 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 357, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "aiohttp/_http_parser.pyx", line 563, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message:
Pause on PRI/Upgrade:
b''
^
2024-08-11 07:27:44.155 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.0.114: Response error
2024-08-11 07:27:45.160 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.0.114: Exception trying to establish web socket connection for hub 11992142: Cannot connect to host 192.168.0.114:8088 ssl:default [Network unreachable]
2024-08-11 07:27:48.340 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}) renders=10>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_einspeisung_keller'
2024-08-11 07:27:48.341 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}) renders=244>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_verbrauch_keller'
2024-08-11 07:27:56.132 ERROR (Recorder) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 715, in ping
await self._send_frame(message, WSMsgType.PING)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 675, in _send_frame
self._write(header + mask + message)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 702, in _write
raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
2024-08-11 09:49:55.463 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 09:49:55.483 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 09:49:55.501 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 09:49:55.516 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 13:27:43.151 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.0.114: Response error
2024-08-11 13:27:49.284 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}) renders=138>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_einspeisung_keller'
2024-08-11 13:27:49.285 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}) renders=334>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_verbrauch_keller'
2024-08-11 13:27:54.358 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 715, in ping
await self._send_frame(message, WSMsgType.PING)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 675, in _send_frame
self._write(header + mask + message)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 702, in _write
raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
2024-08-11 15:07:14.394 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}) renders=184>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_einspeisung_keller'
2024-08-11 15:07:14.396 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}) renders=344>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_verbrauch_keller'
2024-08-11 15:49:55.475 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 15:49:55.492 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 15:49:55.511 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 15:49:55.525 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-11 18:30:27.699 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 357, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "aiohttp/_http_parser.pyx", line 563, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message:
Pause on PRI/Upgrade:
b''
^
2024-08-11 18:44:00.782 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}) renders=266>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_einspeisung_keller'
2024-08-11 18:44:00.784 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}) renders=382>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_verbrauch_keller'
2024-08-11 18:47:36.875 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}) renders=274>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_einspeisung_keller'
2024-08-11 18:47:36.884 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}) renders=386>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_verbrauch_keller'
2024-08-11 19:27:45.152 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.0.114: Response error
2024-08-11 19:27:51.430 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_2_8_0_2')) *1/1000 | round(3) }}) renders=294>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_einspeisung_keller'
2024-08-11 19:27:51.431 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}' but no default was specified') while processing template 'Template<template=({{ float(states('sensor.tasmota_sm_1_8_0_2'))*1/1000 | round(3) }}) renders=402>' for attribute '_attr_native_value' in entity 'sensor.meter_stromzaehler_verbrauch_keller'
2024-08-11 19:28:00.023 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 715, in ping
await self._send_frame(message, WSMsgType.PING)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 675, in _send_frame
self._write(header + mask + message)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 702, in _write
raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport