core icon indicating copy to clipboard operation
core copied to clipboard

System Bridge not loading entities

Open n00bcodr opened this issue 1 year ago • 1 comments

The problem

System Bridge is not loading entities I can see them being fetched with debug logging and they are also available at http://192.168.68.168:9170/app/data.html?apiKey=**************&apiPort=9170

image

What version of Home Assistant Core has the issue?

core-2023.12.3

What was the last working version of Home Assistant Core?

core-2023.12.3

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

systembridge

Link to integration documentation on our website

https://www.home-assistant.io/integrations/system_bridge

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2023-12-27 00:02:16.730 DEBUG (MainThread) [homeassistant.components.system_bridge] Set new data for: cpu
2023-12-27 00:02:16.730 DEBUG (MainThread) [homeassistant.components.system_bridge] Manually updated system_bridge data
2023-12-27 00:02:17.841 DEBUG (MainThread) [homeassistant.components.system_bridge] Connection error occurred for 192.168.68.168. Will retry: None
2023-12-27 00:03:46.823 DEBUG (MainThread) [systembridgeconnector.version.Version] systembridgeconnector.version.Version __init__
2023-12-27 00:03:46.823 DEBUG (MainThread) [systembridgeconnector.http_client.HTTPClient] systembridgeconnector.http_client.HTTPClient __init__
2023-12-27 00:03:47.057 DEBUG (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] systembridgeconnector.websocket_client.WebSocketClient __init__
2023-12-27 00:03:47.057 INFO (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Connecting to WebSocket: ws://192.168.68.168:9170/api/websocket (aiohttp: 3.9.1)
2023-12-27 00:03:47.059 INFO (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Connected to WebSocket
2023-12-27 00:03:47.059 INFO (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Registering data listener: {"modules": ["battery", "cpu", "disk", "display", "gpu", "media", "memory", "processes", "system"]}
2023-12-27 00:03:47.059 DEBUG (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Sent message: {"api_key": "-5d2d-4631-829c-", "id": "11124541a8b84e73b40c71d58641383b", "event": "REGISTER_DATA_LISTENER", "modules": ["battery", "cpu", "disk", "display", "gpu", "media", "memory", "processes", "system"]}
2023-12-27 00:03:47.059 INFO (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] Listen for messages
2023-12-27 00:03:47.063 DEBUG (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] New message: DATA_UPDATE
2023-12-27 00:03:47.063 DEBUG (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] New data for: battery
{'last_updated': {}}
2023-12-27 00:03:47.063 DEBUG (MainThread) [homeassistant.components.system_bridge] Set new data for: battery
2023-12-27 00:03:47.063 DEBUG (MainThread) [homeassistant.components.system_bridge] Manually updated system_bridge data
2023-12-27 00:03:47.072 DEBUG (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] New message: DATA_UPDATE
2023-12-27 00:03:47.072 DEBUG (MainThread) [systembridgeconnector.websocket_client.WebSocketClient] New data for: cpu
{'last_updated': {'count': 1703635398.170696, 'frequency_current': 1703635398.1762323, 'frequency_min': 1703635398.1815019, 'frequency_max': 1703635398.1865644, 'frequency_0_current': 1703635398.192728, 'frequency_0_min': 1703635398.1975913, 'frequency_0_max': 1703635398.202488, 'frequency_1_current': 1703635398.2070696, 'frequency_1_min': 1703635398.2117596, 'frequency_1_max': 1703635398.216679, 'frequency_2_current': 1703635398.2216563, 'frequency_2_min': 1703635398.2265098, 'frequency_2_max': 1703635398.23193, 'frequency_3_current': 1703635398.2373197, 'frequency_3_min': 1703635398.2422283, 'frequency_3_max': 1703635398.246748, 'load_average': 1703635398.2515495, 'power_package': 1703635398.2569857, 'stats_ctx_switches': 1703635398.26268, 'stats_interrupts': 1703635398.2677388, 'stats_soft_interrupts': 1703635398.2731292, 'stats_syscalls': 1703635398.2779589, 'temperature': 1703635398.2840865, 'times_user': 1703635398.289711, 'times_nice': 1703635398.2961497, 'times_system': 1703635398.302063, 'times_idle': 1703635398.3086896, 'times_iowait': 1703635398.3141057, 'times_irq': 1703635398.319914, 'times_softirq': 1703635398.3259792, 'times_steal': 1703635398.3319092, 'times_guest': 1703635398.3374875, 'times_guest_nice': 1703635398.342973, 'times_percent_user': 1703635399.3506076, 'times_percent_nice': 1703635399.3601203, 'times_percent_system': 1703635399.3688507, 'times_percent_idle': 1703635399.3774655, 'times_percent_iowait': 1703635399.385906, 'times_percent_irq': 1703635399.3937774, 'times_percent_softirq': 1703635399.4009867, 'times_percent_steal': 1703635399.4085426, 'times_percent_guest': 1703635399.4163244, 'times_percent_guest_nice': 1703635399.425562, 'times_per_cpu_0_user': 1703635399.4335587, 'times_per_cpu_0_nice': 1703635399.442017, 'times_per_cpu_0_system': 1703635399.4505584, 'times_per_cpu_0_idle': 1703635399.4590294, 'times_per_cpu_0_iowait': 1703635399.4668782, 'times_per_cpu_0_irq': 1703635399.4728014, 'times_per_cpu_0_softirq': 1703635399.4779603, 'times_per_cpu_0_steal': 1703635399.4833055, 'times_per_cpu_0_guest': 1703635399.4884758, 'times_per_cpu_0_guest_nice': 1703635399.49545, 'times_per_cpu_1_user': 1703635399.5026543, 'times_per_cpu_1_nice': 1703635399.5098238, 'times_per_cpu_1_system': 1703635399.5175002, 'times_per_cpu_1_idle': 1703635399.5256987, 'times_per_cpu_1_iowait': 1703635399.5326872, 'times_per_cpu_1_irq': 1703635399.540506, 'times_per_cpu_1_softirq': 1703635399.5475633, 'times_per_cpu_1_steal': 1703635399.5546494, 'times_per_cpu_1_guest': 1703635399.5616274, 'times_per_cpu_1_guest_nice': 1703635399.5686338, 'times_per_cpu_2_user': 1703635399.5756087, 'times_per_cpu_2_nice': 1703635399.5825708, 'times_per_cpu_2_system': 1703635399.5896475, 'times_per_cpu_2_idle': 1703635399.5965297, 'times_per_cpu_2_iowait': 1703635399.6029494, 'times_per_cpu_2_irq': 1703635399.6101153, 'times_per_cpu_2_softirq': 1703635399.6177125, 'times_per_cpu_2_steal': 1703635399.6252294, 'times_per_cpu_2_guest': 1703635399.63201, 'times_per_cpu_2_guest_nice': 1703635399.6387794, 'times_per_cpu_3_user': 1703635399.6455305, 'times_per_cpu_3_nice': 1703635399.6529164, 'times_per_cpu_3_system': 1703635399.6601548, 'times_per_cpu_3_idle': 1703635399.66758, 'times_per_cpu_3_iowait': 1703635399.6742787, 'times_per_cpu_3_irq': 1703635399.6810086, 'times_per_cpu_3_softirq': 1703635399.6875334, 'times_per_cpu_3_steal': 1703635399.6944013, 'times_per_cpu_3_guest': 1703635399.7022235, 'times_per_cpu_3_guest_nice': 1703635399.7098641, 'times_per_cpu_percent_0_user': 1703635400.7185266, 'times_per_cpu_percent_0_nice': 1703635400.7289784, 'times_per_cpu_percent_0_system': 1703635400.7378025, 'times_per_cpu_percent_0_idle': 1703635400.7462866, 'times_per_cpu_percent_0_iowait': 1703635400.754628, 'times_per_cpu_percent_0_irq': 1703635400.7636168, 'times_per_cpu_percent_0_softirq': 1703635400.7716491, 'times_per_cpu_percent_0_steal': 1703635400.7800279, 'times_per_cpu_percent_0_guest': 1703635400.7882853, 'times_per_cpu_percent_0_guest_nice': 1703635400.7955716, 'times_per_cpu_percent_1_user': 1703635400.8018641, 'times_per_cpu_percent_1_nice': 1703635400.8076718, 'times_per_cpu_percent_1_system': 1703635400.8142257, 'times_per_cpu_percent_1_idle': 1703635400.8210945, 'times_per_cpu_percent_1_iowait': 1703635400.8276467, 'times_per_cpu_percent_1_irq': 1703635400.834291, 'times_per_cpu_percent_1_softirq': 1703635400.8410888, 'times_per_cpu_percent_1_steal': 1703635400.848408, 'times_per_cpu_percent_1_guest': 1703635400.8555958, 'times_per_cpu_percent_1_guest_nice': 1703635400.8624868, 'times_per_cpu_percent_2_user': 1703635400.868945, 'times_per_cpu_percent_2_nice': 1703635400.8757336, 'times_per_cpu_percent_2_system': 1703635400.883202, 'times_per_cpu_percent_2_idle': 1703635400.8900976, 'times_per_cpu_percent_2_iowait': 1703635400.8981774, 'times_per_cpu_percent_2_irq': 1703635400.9059863, 'times_per_cpu_percent_2_softirq': 1703635400.9133863, 'times_per_cpu_percent_2_steal': 1703635400.9205813, 'times_per_cpu_percent_2_guest': 1703635400.940316, 'times_per_cpu_percent_2_guest_nice': 1703635400.945584, 'times_per_cpu_percent_3_user': 1703635400.9503875, 'times_per_cpu_percent_3_nice': 1703635400.9551249, 'times_per_cpu_percent_3_system': 1703635400.9596093, 'times_per_cpu_percent_3_idle': 1703635400.9639614, 'times_per_cpu_percent_3_iowait': 1703635400.9690077, 'times_per_cpu_percent_3_irq': 1703635400.9745145, 'times_per_cpu_percent_3_softirq': 1703635400.979664, 'times_per_cpu_percent_3_steal': 1703635400.9843755, 'times_per_cpu_percent_3_guest': 1703635400.9897056, 'times_per_cpu_percent_3_guest_nice': 1703635400.994663, 'usage': 1703635402.002132, 'usage_0': 1703635403.015574, 'usage_1': 1703635403.024775, 'usage_2': 1703635403.0332484, 'usage_3': 1703635403.041137, 'voltage': 1703635403.050228}, 'times_per_cpu_percent_3_steal': 0.0, 'usage_2': 13.8, 'frequency_max': 3100.0, 'frequency_1_min': 800.0, 'times_per_cpu_2_guest': 0.0, 'times_percent_system': 5.1, 'times_per_cpu_percent_0_guest_nice': 0.0, 'times_per_cpu_percent_1_idle': 61.0, 'times_per_cpu_percent_3_idle': 73.0, 'times_per_cpu_2_irq': 0.0, 'count': 4, 'times_per_cpu_1_softirq': 4.6, 'times_per_cpu_3_guest_nice': 0.0, 'times_per_cpu_percent_1_irq': 0.0, 'times_per_cpu_percent_3_guest_nice': 0.0, 'times_guest_nice': 0.0, 'times_idle': 21753.22, 'times_per_cpu_2_system': 322.41, 'times_per_cpu_percent_2_steal': 0.0, 'times_per_cpu_2_idle': 5441.2, 'times_per_cpu_percent_0_softirq': 0.0, 'times_per_cpu_percent_2_guest': 0.0, 'times_iowait': 425.08, 'times_per_cpu_3_guest': 0.0, 'times_per_cpu_3_softirq': 138.34, 'times_per_cpu_0_guest': 0.0, 'times_per_cpu_percent_2_idle': 77.0, 'times_per_cpu_3_idle': 5360.15, 'times_per_cpu_1_idle': 5492.1, 'frequency_3_max': 3100.0, 'times_per_cpu_percent_1_steal': 0.0, 'times_per_cpu_percent_1_guest_nice': 0.0, 'times_per_cpu_percent_3_nice': 0.0, 'times_per_cpu_percent_1_system': 10.0, 'times_per_cpu_0_nice': 2.82, 'times_per_cpu_1_iowait': 108.7, 'times_per_cpu_3_user': 1024.19, 'times_per_cpu_percent_3_user': 17.0, 'times_per_cpu_3_steal': 0.0, 'times_percent_user': 21.4, 'times_per_cpu_0_guest_nice': 0.0, 'times_per_cpu_percent_3_iowait': 0.0, 'frequency_3_min': 800.0, 'times_per_cpu_percent_0_user': 25.0, 'times_per_cpu_percent_2_nice': 0.0, 'times_per_cpu_percent_1_guest': 0.0, 'times_per_cpu_1_nice': 2.83, 'times_per_cpu_1_irq': 0.0, 'times_per_cpu_0_iowait': 110.45, 'times_per_cpu_1_user': 1026.59, 'times_system': 1269.38, 'times_user': 4151.45, 'times_per_cpu_percent_0_irq': 0.0, 'times_per_cpu_2_softirq': 35.22, 'times_per_cpu_percent_0_idle': 70.0, 'times_per_cpu_percent_1_user': 28.0, 'times_per_cpu_percent_2_user': 17.0, 'times_per_cpu_2_steal': 0.0, 'times_per_cpu_percent_2_system': 3.0, 'times_per_cpu_percent_2_irq': 0.0, 'times_per_cpu_0_softirq': 5.49, 'times_per_cpu_percent_0_system': 3.0, 'times_per_cpu_0_idle': 5462.96, 'stats_ctx_switches': 61314154, 'frequency_current': 3100.0255, 'times_per_cpu_percent_0_guest': 0.0, 'times_per_cpu_1_system': 315.92, 'times_per_cpu_0_user': 1048.33, 'times_per_cpu_percent_3_irq': 0.0, 'times_percent_irq': 0.0, 'times_per_cpu_1_guest': 0.0, 'times_steal': 0.0, 'usage_1': 16.5, 'times_per_cpu_percent_2_softirq': 0.0, 'frequency_2_min': 800.0, 'stats_syscalls': 0, 'times_irq': 0.0, 'times_per_cpu_3_system': 313.63, 'times_per_cpu_3_irq': 0.0, 'times_per_cpu_percent_3_softirq': 0.0, 'times_per_cpu_percent_3_guest': 0.0, 'times_per_cpu_percent_1_iowait': 0.0, 'times_per_cpu_percent_1_nice': 0.0, 'times_softirq': 183.64, 'times_per_cpu_1_steal': 0.0, 'times_percent_nice': 0.0, 'times_per_cpu_percent_2_guest_nice': 0.0, 'frequency_0_min': 800.0, 'temperature': None, 'load_average': 1.4899088541666667, 'usage': 19.3, 'frequency_min': 800.0, 'times_per_cpu_0_steal': 0.0, 'times_guest': 0.0, 'times_per_cpu_3_nice': 3.66, 'times_per_cpu_2_guest_nice': 0.0, 'power_package': None, 'frequency_2_current': 2813.192, 'usage_0': 13.8, 'times_percent_iowait': 0.3, 'times_per_cpu_percent_3_system': 7.0, 'times_per_cpu_2_user': 1053.27, 'frequency_1_current': 3075.185, 'times_per_cpu_1_guest_nice': 0.0, 'usage_3': 16.3, 'times_per_cpu_0_irq': 0.0, 'frequency_0_max': 3100.0, 'times_per_cpu_percent_0_nice': 0.0, 'times_per_cpu_percent_1_softirq': 0.0, 'times_per_cpu_3_iowait': 113.46, 'times_per_cpu_percent_0_iowait': 0.0, 'times_per_cpu_percent_2_iowait': 0.0, 'voltage': None, 'times_percent_softirq': 0.5, 'frequency_0_current': 3100.092, 'stats_soft_interrupts': 18958867, 'frequency_2_max': 3100.0, 'stats_interrupts': 27650274, 'times_per_cpu_percent_0_steal': 0.0, 'times_per_cpu_0_system': 317.64, 'times_percent_steal': 0.0, 'times_percent_guest': 0.0, 'frequency_3_current': 3100.03, 'times_per_cpu_2_iowait': 92.5, 'times_per_cpu_2_nice': 3.35, 'times_percent_guest_nice': 0.0, 'times_nice': 12.68, 'times_percent_idle': 72.7, 'frequency_1_max': 3100.0}
2023-12-27 00:03:47.072 DEBUG (MainThread) [homeassistant.components.system_bridge] Set new data for: cpu
2023-12-27 00:03:47.072 DEBUG (MainThread) [homeassistant.components.system_bridge] Manually updated system_bridge data
2023-12-27 00:03:48.341 DEBUG (MainThread) [homeassistant.components.system_bridge] Connection error occurred for 192.168.68.168. Will retry: None

Additional information

No response

n00bcodr avatar Dec 27 '23 00:12 n00bcodr

Hey there @timmo001, mind taking a look at this issue as it has been labeled with an integration (system_bridge) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of system_bridge can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign system_bridge Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


system_bridge documentation system_bridge source (message by IssueLinks)

home-assistant[bot] avatar Dec 27 '23 00:12 home-assistant[bot]

This appears to be the same issue as the one I posted at first glance: https://github.com/home-assistant/core/issues/105664. Our logs appear a bit different though. Are you sure the version where it stopped working and the one where it worked are the same? That appears to be an error. This was last working for me at 2023.11.

tkdrob avatar Dec 28 '23 13:12 tkdrob

Please make sure you are running the latest version of system bridge and try again. Thanks

timmo001 avatar Dec 31 '23 11:12 timmo001

@timmo001 I am running the latest version of systembridge 3.11.2

I also tried uninstalling what I have and reinstalling it again, I have the same issue.

What I have noticed is, once the homeassistant integration is configured, when I close systembridge I get.

image

n00bcodr avatar Jan 03 '24 13:01 n00bcodr

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.

Closing, as issue not seen with 4.x.x.

n00bcodr avatar Apr 03 '24 19:04 n00bcodr