Rotel Player is not available
Opened this issue · 1 comments
I would love to use this component for manage my Rotel A14.
I have the amp plugged into the Rpi running Home Assistant (in Docker - Supervised version), via an RS232 - USB cable.
After copying the files to the custom_components directory and rebooting the RPi, I get the following error:
Logger: homeassistant.components.media_player
Source: helpers/entity_platform.py:361
integration: Media player (documentation, issues)
First occurred: 10:13:29 AM (1 occurrences)
Last logged: 10:13:29 AM
Error while setting up roteltcp platform for media_player
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/roteltcp/media_player.py", line 61, in async_setup_platform
await rotel.start(hass)
File "/config/custom_components/roteltcp/media_player.py", line 82, in start
transport, protocol = await hass.loop.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1122, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1104, in create_connection
sock = await self._connect_sock(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1007, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 641, in sock_connect
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.12/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.20.36', 9590)
How can I fix this?