I am getting some crazy high cpu usage and it seems to be due to something on core but no idea how I can pinpoint what it is, nothing blatantly obvious in the usual HA log in the root.
Restarting HA fixes it temporarily:
The core log is underneath but it doesn’t seem to be the full one, I see this a few times there, not sure it’s the cause of the high cpu.
File "/usr/local/lib/python3.13/site-packages/pychromecast/dial.py", line 42, in get_host_from_service
service_info = zconf.get_service_info("_googlecast._tcp.local.", service.name)
File "/usr/local/lib/python3.13/site-packages/zeroconf/_core.py", line 289, in get_service_info
if info.request(self, timeout, question_type):
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src/zeroconf/_services/info.py", line 800, in zeroconf._services.info.ServiceInfo.request
AssertionError: Zeroconf instance loop must be running, was it already stopped?
[Master bedroom display(192.168.0.164):8009] Unhandled exception in worker thread, attempting reconnect
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/pychromecast/socket_client.py", line 548, in run
if self._run_once() == 1:
~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/pychromecast/socket_client.py", line 568, in _run_once
if not self._check_connection():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/pychromecast/socket_client.py", line 690, in _check_connection
self.initialize_connection()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/pychromecast/socket_client.py", line 310, in initialize_connection
host, port, service_info = get_host_from_service(
~~~~~~~~~~~~~~~~~~~~~^
service, self.zconf
^^^^^^^^^^^^^^^^^^^
)
Any idea how I can troubleshoot this issue, it seems to be getting worse
2 posts - 2 participants