Hi,
I running Home Assistant as Docker container and just moved to a new platform (VMware Photon OS).
Photon OS by default has some pretty strict firewall configuration which currently prevents the Roon integration from working.
I see the following error in my logs:
2024-04-01 14:10:07.316 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Roon Labs Music Player for roon
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 504, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/roon/__init__.py", line 22, in async_setup_entry
if not await roonserver.async_setup():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/roon/server.py", line 57, in async_setup
self.roonapi = await self.hass.async_add_executor_job(get_roon_api)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/roon/server.py", line 53, in get_roon_api
return RoonApi(ROON_APPINFO, token, host, port, blocking_init=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/roonapi/roonapi.py", line 798, in __init__
raise RoonApiException("Host and port of the roon core must be specified!")
roonapi.roonapi.RoonApiException: Host and port of the roon core must be specified!
So it looks like the integration cannot find the server.
I could try to remove the integration and re-add it - looking at the documentation it seems as I would be able to enter the RoonServer IP address manually in that case.
However, I don’t want to lose all my already configured Roon endpoint entities (I guess that’s a side effect of removing the integration) just to find out that this is not working either.
So long story short: does anyone know which ports I need to open in my firewall configuration to make this work?
Thanks in advance!
Sebastian