Had a look at the log file now just before it gets unresponsive:
Here is the MQTT error I get every 80ms
2023-02-07 04:31:14.330 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...xffff800d3b50>)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 693, in _mqtt_handle_message
self._mqtt_data.state_write_requests.process_write_state_requests()
File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 267, in process_write_state_requests
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 566, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 683, in _async_write_ha_state
self.hass.states.async_set(
File "/usr/src/homeassistant/homeassistant/core.py", line 1512, in async_set
state = State(
File "/usr/src/homeassistant/homeassistant/core.py", line 1144, in __init__
raise InvalidStateError(
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.thermostat_musikzimmer_program. State max length is 255 characters.
This one I have posted in the integrations thread already.
But after a couple of hours this happens and then the log ends
2023-02-07 04:54:20.385 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server homeassistant.local:1883 (16)
2023-02-07 04:58:32.615 WARNING (KNX Interface) [xknx.log] Received DisconnectRequest from tunnelling server.
2023-02-07 05:50:14.620 WARNING (KNX Interface) [xknx.log] Received DisconnectRequest from tunnelling server.
2023-02-07 06:03:31.525 WARNING (MainThread) [xknx.cemi] Could not send CEMI frame: Sending telegram failed. No active communication channel. for <CEMIFrame code="L_DATA_REQ" src_addr="IndividualAddress("15.15.12")" dst_addr="GroupAddress("0/0/4")" flags="1011110011100000" tpci="TDataGroup()" payload="<GroupValueRead />" />
2023-02-07 06:03:31.632 WARNING (MainThread) [xknx.log] Sending telegram failed. No active communication channel.
2023-02-07 06:03:31.724 WARNING (MainThread) [xknx.cemi] Could not send CEMI frame: Sending telegram failed. No active communication channel. for <CEMIFrame code="L_DATA_REQ" src_addr="IndividualAddress("15.15.12")" dst_addr="GroupAddress("0/0/10")" flags="1011110011100000" tpci="TDataGroup()" payload="<GroupValueRead />" />
2023-02-07 06:03:31.732 WARNING (MainThread) [xknx.log] Sending telegram failed. No active communication channel.
2023-02-07 06:03:32.361 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 0/0/4
2023-02-07 06:03:32.450 WARNING (MainThread) [xknx.log] Could not sync group address '0/0/4' (Esszimmer nord-ost - Position)
2023-02-07 06:03:32.452 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 0/0/10
2023-02-07 06:03:32.453 WARNING (MainThread) [xknx.log] Could not sync group address '0/0/10' (Esszimmer ost - Position)
2023-02-07 06:03:42.299 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_mosquitto/stats request
2023-02-07 06:03:42.617 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for core_mosquitto:
2023-02-07 06:03:42.635 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/45df7312_zigbee2mqtt/stats request
2023-02-07 06:03:42.638 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for 45df7312_zigbee2mqtt:
2023-02-07 06:03:42.640 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_vscode/stats request
2023-02-07 06:03:42.642 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for a0d7b954_vscode:
2023-02-07 06:04:56.192 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 06:05:47.391 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_2_4ghz is taking over 10 seconds
2023-02-07 06:05:47.456 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_5ghz is taking over 10 seconds
2023-02-07 06:05:47.457 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_gast is taking over 10 seconds
2023-02-07 06:05:47.458 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 06:05:47.459 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating fritz binary_sensor took longer than the scheduled update interval 0:00:30
2023-02-07 06:05:47.460 WARNING (MainThread) [homeassistant.components.switch] Updating fritz switch took longer than the scheduled update interval 0:00:30
2023-02-07 06:05:47.462 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 06:06:31.893 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 06:23:48.846 WARNING (KNX Interface) [xknx.log] Received DisconnectRequest from tunnelling server.
2023-02-07 06:57:01.180 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.fritz_box_7590_link_upload_noise_margin is taking over 10 seconds
2023-02-07 06:57:20.091 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_2_4ghz is taking over 10 seconds
2023-02-07 06:57:32.041 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_5ghz is taking over 10 seconds
2023-02-07 06:57:45.024 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_gast is taking over 10 seconds
2023-02-07 06:58:27.649 WARNING (MainThread) [homeassistant.components.switch] Updating fritz switch took longer than the scheduled update interval 0:00:30
2023-02-07 06:58:38.628 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 06:59:26.534 WARNING (MainThread) [homeassistant.helpers.entity] Updating state for sensor.fritz_box_7590_link_upload_noise_margin (<class 'homeassistant.components.fritz.sensor.FritzBoxSensor'>) took 2.008 seconds. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+fritz%22
2023-02-07 07:00:14.317 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:00:14.895 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating fritz binary_sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:00:15.256 WARNING (MainThread) [homeassistant.components.switch] Updating fritz switch took longer than the scheduled update interval 0:00:30
2023-02-07 07:00:15.438 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:00:18.986 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from supervisor (172.30.32.2). Requested URL: '/api/config'. (HomeAssistantSupervisor/2023.01.1 aiohttp/3.8.3 Python/3.10)
2023-02-07 07:00:19.455 ERROR (MainThread) [homeassistant.components.homeassistant_alerts] Timeout fetching homeassistant_alerts data
2023-02-07 07:00:19.699 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 0/0/4
2023-02-07 07:00:19.719 WARNING (MainThread) [xknx.log] Could not sync group address '0/0/4' (Esszimmer nord-ost - Position)
2023-02-07 07:00:19.722 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 0/0/10
2023-02-07 07:00:19.725 WARNING (MainThread) [xknx.log] Could not sync group address '0/0/10' (Esszimmer ost - Position)
2023-02-07 07:00:33.768 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_vscode/stats request
2023-02-07 07:00:36.002 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for a0d7b954_vscode:
2023-02-07 07:00:36.822 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_mosquitto/stats request
2023-02-07 07:00:37.301 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for core_mosquitto:
2023-02-07 07:00:37.774 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/45df7312_zigbee2mqtt/stats request
2023-02-07 07:00:38.107 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for 45df7312_zigbee2mqtt:
2023-02-07 07:00:39.233 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 0/0/16
2023-02-07 07:00:39.870 WARNING (MainThread) [xknx.log] Could not sync group address '0/0/16' (Esszimmer sĆ¼d-ost - Position)
2023-02-07 07:00:40.601 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 0/0/22
2023-02-07 07:00:41.287 WARNING (MainThread) [xknx.log] Could not sync group address '0/0/22' (Esszimmer sĆ¼d - Position)
2023-02-07 07:00:43.955 ERROR (MainThread) [homeassistant.components.hassio.handler] /addons/45df7312_zigbee2mqtt/changelog return code 500
2023-02-07 07:00:44.257 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch changelog for 45df7312_zigbee2mqtt:
2023-02-07 07:00:55.287 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_mosquitto/changelog request
2023-02-07 07:00:55.859 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch changelog for core_mosquitto:
2023-02-07 07:01:07.991 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 3/0/9
2023-02-07 07:01:08.585 WARNING (MainThread) [xknx.log] Could not sync group address '3/0/9' (Bad sĆ¼d-ost - Position)
2023-02-07 07:01:13.938 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:01:17.625 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 3/0/15
2023-02-07 07:01:18.183 WARNING (MainThread) [xknx.log] Could not sync group address '3/0/15' (Bad sĆ¼d - Position)
2023-02-07 07:01:18.544 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 3/0/21
2023-02-07 07:01:18.936 WARNING (MainThread) [xknx.log] Could not sync group address '3/0/21' (Bad sĆ¼d-west - Position)
2023-02-07 07:03:20.580 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:03:52.861 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:04:38.198 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_5ghz is taking over 10 seconds
2023-02-07 07:04:39.208 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_gast is taking over 10 seconds
2023-02-07 07:05:36.909 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating fritz binary_sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:05:37.035 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:05:37.058 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.1-coordinator data: Unable to perform operation. 401 Unauthorized (ERR_NONE)401 UnauthorizedERR_NONEWebserver Tue, 07 Feb 2023 06:05:30 GMT
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/fritzconnection/core/soaper.py", line 140, in raise_fritzconnection_error
root = etree.fromstring(response.content)
File "/usr/local/lib/python3.10/xml/etree/ElementTree.py", line 1342, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: mismatched tag: line 1, column 156
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 243, in _async_update_data
await self.async_scan_devices()
File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 470, in async_scan_devices
dev_info.wan_access = await self._async_get_wan_access(
File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 330, in _async_get_wan_access
wan_access = await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/fritzconnection/core/fritzconnection.py", line 378, in call_action
return self.soaper.execute(service, action_name, arguments)
File "/usr/local/lib/python3.10/site-packages/fritzconnection/core/soaper.py", line 259, in execute
return handle_response(response)
File "/usr/local/lib/python3.10/site-packages/fritzconnection/core/soaper.py", line 241, in handle_response
raise_fritzconnection_error(response)
File "/usr/local/lib/python3.10/site-packages/fritzconnection/core/soaper.py", line 150, in raise_fritzconnection_error
raise FritzConnectionException(msg)
fritzconnection.core.exceptions.FritzConnectionException: Unable to perform operation. 401 Unauthorized (ERR_NONE)401 UnauthorizedERR_NONEWebserver Tue, 07 Feb 2023 06:05:30 GMT
2023-02-07 07:07:22.281 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:07:58.289 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:08:00.217 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating fritz binary_sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:08:04.719 WARNING (MainThread) [homeassistant.components.switch] Updating fritz switch took longer than the scheduled update interval 0:00:30
2023-02-07 07:08:05.386 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:08:21.411 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /info request
2023-02-07 07:08:22.991 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request
2023-02-07 07:08:24.027 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request
2023-02-07 07:08:26.227 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request
2023-02-07 07:08:29.885 ERROR (MainThread) [homeassistant.components.hassio] Error fetching hassio data: Error on Supervisor API:
2023-02-07 07:08:35.041 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating fritz binary_sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:09:04.039 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:09:59.225 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:10:05.300 WARNING (MainThread) [homeassistant.components.switch] Updating fritz switch took longer than the scheduled update interval 0:00:30
2023-02-07 07:10:09.475 WARNING (MainThread) [homeassistant.components.sensor] Updating fritz sensor took longer than the scheduled update interval 0:00:30
2023-02-07 07:12:38.517 WARNING (KNX Interface) [xknx.log] Received DisconnectRequest from tunnelling server.
2023-02-07 07:13:18.405 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_2_4ghz is taking over 10 seconds
2023-02-07 07:13:23.404 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_5ghz is taking over 10 seconds
2023-02-07 07:13:29.042 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.fritz_box_7590_wi_fi_osre_gast is taking over 10 seconds
Looks to me like everything is failing and running into timeouts until it stops eventually.
The total runtime from restart to end of logfile is about 10 hours.