Hello,
New here…
I cannot seem to use the Up2Stream Amp with Home Assistant using LinkPlay (auto configured via discovery).
I configure it automatically with HA and I get the following error:
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:942
First occurred: 10:01:15 AM (9 occurrences)
Last logged: 10:02:33 AM
Update for media_player.living_room fails
Traceback (most recent call last):
File “/usr/local/lib/python3.12/site-packages/linkplay/utils.py”, line 46, in session_call_api
response = await session.get(url)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/client.py”, line 659, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/connector.py”, line 557, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/connector.py”, line 1002, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/connector.py”, line 1305, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/connector.py”, line 1061, in _wrap_create_connection
sock = await aiohappyeyeballs.start_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py”, line 82, in start_connection
sock = await _connect_sock(
^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py”, line 174, in _connect_sock
await loop.sock_connect(sock, address)
File “/usr/local/lib/python3.12/asyncio/selector_events.py”, line 641, in sock_connect
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.12/site-packages/linkplay/utils.py”, line 45, in session_call_api
async with async_timeout.timeout(API_TIMEOUT):
File “/usr/local/lib/python3.12/site-packages/async_timeout/init.py”, line 141, in aexit
self._do_exit(exc_type)
File “/usr/local/lib/python3.12/site-packages/async_timeout/init.py”, line 228, in _do_exit
raise asyncio.TimeoutError
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/linkplay/media_player.py”, line 149, in _wrap
return await func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/linkplay/media_player.py”, line 198, in async_update
await self._bridge.player.update_status()
File “/usr/local/lib/python3.12/site-packages/linkplay/bridge.py”, line 93, in update_status
properties: dict[PlayerAttribute, str] = await self.bridge.json_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/linkplay/bridge.py”, line 288, in json_request
response = await self.endpoint.json_request(command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/linkplay/endpoint.py”, line 51, in json_request
return await session_call_api_json(self._endpoint, self._session, command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/linkplay/utils.py”, line 65, in session_call_api_json
result = await session_call_api(endpoint, session, command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/linkplay/utils.py”, line 49, in session_call_api
raise LinkPlayRequestException(
linkplay.exceptions.LinkPlayRequestException: error requesting data from ‘https://192.168.15.29/httpapi.asp?command=getPlayerStatusEx’
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 942, in async_update_ha_state
await self.async_device_update()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1300, in async_device_update
await self.async_update()
File “/usr/src/homeassistant/homeassistant/components/linkplay/media_player.py”, line 151, in _wrap
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Exception occurred when communicating with API <function LinkPlayMediaPlayerEntity.async_update at 0x7f34dab39c60>: error requesting data from ‘https://192.168.15.29/httpapi.asp?command=getPlayerStatusEx’
It seems that the HA is trying on HTTPS but I assume the Arylic doesn’t respond on HTTPS but HTTP. Can someone please confirm what needs to be done to get this working in Home Assistant, this was the main reason I bought this device. Does the firmware on the Up2Stream Amp needs to be updated to support HTTPS???
Please help