home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.72k stars 30.45k forks source link

I am getting devices responding with a delay #116214

Closed rchiileea closed 5 months ago

rchiileea commented 5 months ago

The problem

every thing has a delay since 2024.4 press a switch nothing happens for 5 seconds, automation run, delay for 5 seconds, click on add or remove or delete (be it card, system item, or integration) delay... its strange indeed.

also system bridge stoppped working, netgear showing issues runner issues

What version of Home Assistant Core has the issue?

core-2024.4.3

What was the last working version of Home Assistant Core?

2024.3.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

not sure if its all of the integrations tbh, but something is not right

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-04-26 07:31:05.937 WARNING (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Error message: {'id': 'a841f47f2f70433e919118c3f4f3b4ad', 'type': 'ERROR', 'data': {}, 'subtype': None, 'message': 'Cannot find data for module', 'module': 'disks'}
2024-04-26 07:31:25.744 ERROR (SyncWorker_44) [pynetgear.router] 404 service 'AdvancedQoS:1', method 'GetQoSEnableStatus', service not found
2024-04-26 07:31:43.840 WARNING (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Error message: {'id': 'a841f47f2f70433e919118c3f4f3b4ad', 'type': 'ERROR', 'data': {}, 'subtype': None, 'message': 'Cannot find data for module', 'module': 'disks'}
2024-04-26 07:32:11.497 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 416, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 494, in _handle_coordinator_update
    self.async_write_ha_state()
2024-04-26 07:33:07.462 WARNING (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Error message: {'id': 'a841f47f2f70433e919118c3f4f3b4ad', 'type': 'ERROR', 'data': {}, 'subtype': None, 'message': 'Cannot find data for module', 'module': 'disks'}
2024-04-26 07:33:22.927 WARNING (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Error message: {'id': 'a841f47f2f70433e919118c3f4f3b4ad', 'type': 'ERROR', 'data': {}, 'subtype': None, 'message': 'Cannot find data for module', 'module': 'disks'}
2024-04-26 07:33:32.191 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 416, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 494, in _handle_coordinator_update
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 998, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1119, in _async_write_ha_state
    state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1056, in __async_calculate_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1004, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 548, in state
    value = self.native_value
            ^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tronity/sensor.py", line 97, in native_value
    return self.data[self.entity_description.key]
           ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'chargerPower'
2024-04-26 07:33:47.651 WARNING (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Error message: {'id': 'a841f47f2f70433e919118c3f4f3b4ad', 'type': 'ERROR', 'data': {}, 'subtype': None, 'message': 'Cannot find data for module', 'module': 'disks'}
2024-04-26 07:34:19.673 WARNING (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Error message: {'id': 'a841f47f2f70433e919118c3f4f3b4ad', 'type': 'ERROR', 'data': {}, 'subtype': None, 'message': 'Cannot find data for module', 'module': 'disks'}
2024-04-26 07:34:23.706 WARNING (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Error message: {'id': 'a841f47f2f70433e919118c3f4f3b4ad', 'type': 'ERROR', 'data': {}, 'subtype': None, 'message': 'Cannot find data for module', 'module': 'disks'}
2024-04-26 07:34:36.142 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.garden_1_main] Error from stream worker: Stream has no video
2024-04-26 07:34:40.883 WARNING (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Error message: {'id': 'a841f47f2f70433e919118c3f4f3b4ad', 'type': 'ERROR', 'data': {}, 'subtype': None, 'message': 'Cannot find data for module', 'module': 'disks'}
2024-04-26 07:34:51.722 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 416, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 494, in _handle_coordinator_update
    self.async_write_ha_state()

Additional information

System Information

system specs (i know its overkill)

12th Gen Intel(R) Core(TM) i5-12400T 32GB memory 2x 480gb Data centre m.2 drives

version core-2024.4.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.25-haos
arch x86_64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4432 Installed Version | 1.34.0 Stage | running Available Repositories | 1415 Downloaded Repositories | 106
Aqara Gateway telnet_logged | -- | -- mqtt_connected |
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | May 18, 2024 at 1:00 AM relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | true remote_server | eu-central-1-13.ui.nabu.casa certificate_status | ready instance_id | fbef342cfd5440cabaa05e3da80c2310 can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.2 -- | -- update_channel | stable supervisor_version | supervisor-2024.04.0 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 439.4 GB disk_used | 27.3 GB healthy | true supported | true board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | Home Assistant Google Drive Backup (0.112.1), File editor (5.8.0), Studio Code Server (5.15.0), FTP (5.0.2), Advanced SSH & Web Terminal (17.2.0), Mosquitto broker (6.4.0), Samba share (12.3.1), Matter Server (5.5.1), Silicon Labs Multiprotocol (2.4.5), Whisper (2.0.0), Glances (0.21.1), Node-RED (17.0.12), Piper (1.5.0), DeepStack (2021.09.1), Double Take (beta) (1.13.1), go2rtc (1.8.5), Fusion (2024.4.0), Zigbee2MQTT (1.36.1-1), Frigate (Full Access) Beta (0.13.2)
Dashboards dashboards | 10 -- | -- resources | 78 views | 59 mode | storage
Recorder oldest_recorder_run | April 17, 2024 at 11:59 AM -- | -- current_recorder_run | April 26, 2024 at 7:20 AM estimated_db_size | 1419.56 MiB database_engine | sqlite database_version | 3.44.2
Spotify api_endpoint_reachable | ok -- | --
mib1185 commented 5 months ago

please restart in safe mode and check again - the erorr message you posted is originated by a custom component custom_components/tronity

rchiileea commented 5 months ago

I just got back from a trip, yes safe mode seems to not have changed things, but the latest update applied has fixed the slow respone. 2024.4.4 which is good. However system bridge wont even connect no more, instead of connecting and showing errors, its now just failing to connect (removed and trying to re add it). (machine has latest version installed)

issue-triage-workflows[bot] commented 5 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.