YandexStation
YandexStation copied to clipboard
Failed to connect to LinkPlay device
обновился до 3.19.0
пока похожей ошибки лога не видел проблема именно в колонке Irbis A01 (а на всех яндекс колонках (мини,миди, лайт 1-2) - проблем нет) Купил даже Лайт позавчера, вместо ирбиса
Она управляется, но произносить отказывается - вроде не обиделась - обычные разговоры поддерживает
action: tts.yandex_station_say
entity_id: media_player.yandex_station_ff98f010ace94f6807d8***
data:
message: Привет
в логе ошибка LinkPlay отвязывал, привязывал, все три способа вызова tts испробовал - раньше работала только через 3-й способ (что выше) и больше никак.
лог
Регистратор: homeassistant.components.linkplay.config_flow
Источник: components/linkplay/config_flow.py:41
интеграция: linkplay (документация, проблемы)
Зафиксировано первый раз: 17:07:14 (4 случая)
Зафиксировано последний раз: 17:12:30
Failed to connect to LinkPlay device at 192.168.22.98
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1248, in _wrap_create_connection
sock = await aiohappyeyeballs.start_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aiohappyeyeballs/impl.py", line 122, in start_connection
raise first_exception
File "/usr/local/lib/python3.13/site-packages/aiohappyeyeballs/impl.py", line 73, in start_connection
sock = await _connect_sock(
^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aiohappyeyeballs/impl.py", line 208, in _connect_sock
await loop.sock_connect(sock, address)
File "/usr/local/lib/python3.13/asyncio/selector_events.py", line 641, in sock_connect
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.13/asyncio/selector_events.py", line 681, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.22.98', 80)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/linkplay/utils.py", line 47, in session_call_api
response = await session.get(url)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 768, in _request
resp = await handler(req)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 723, in _connect_and_send_request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
req, traces=traces, timeout=real_timeout
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 622, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1189, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1561, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1530, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1271, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 192.168.22.98:80 ssl:default [Connect call failed ('192.168.22.98', 80)]
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/linkplay/config_flow.py", line 41, in async_step_zeroconf
bridge = await linkplay_factory_httpapi_bridge(discovery_info.host, session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/linkplay/discovery.py", line 66, in linkplay_factory_httpapi_bridge
return await linkplay_factory_bridge_endpoint(http_endpoint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/linkplay/discovery.py", line 39, in linkplay_factory_bridge_endpoint
await bridge.device.update_status()
File "/usr/local/lib/python3.13/site-packages/linkplay/bridge.py", line 59, in update_status
self.properties = await self.bridge.json_request(LinkPlayCommand.DEVICE_STATUS) # type: ignore[assignment]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/linkplay/bridge.py", line 499, in json_request
response = await self.endpoint.json_request(command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/linkplay/endpoint.py", line 58, in json_request
return await session_call_api_json(self._endpoint, self._session, command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/linkplay/utils.py", line 80, in session_call_api_json
result = await session_call_api(endpoint, session, command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/linkplay/utils.py", line 50, in session_call_api
raise LinkPlayRequestException(
f"{error} error requesting data from '{url}'"
) from error
linkplay.exceptions.LinkPlayRequestException: Cannot connect to host 192.168.22.98:80 ssl:default [Connect call failed ('192.168.22.98', 80)] error requesting data from 'http://192.168.22.98/httpapi.asp?command=getStatusEx'