Lecture de musique / radio sur Freebox Player (Devialet)

Bonjour à tous !

Tout d’abord, je vous prie d’accepter mes excuses si mes questions sont triviales, je suis un Home Assistant n00b fraîchement débarqué de Jeedom :slight_smile: Dans l’état actuel des choses, j’ai déjà réussi à faire pas mal de choses (automatisations, périphériques ZWave, etc.) donc c’est déjà un premier succès !

Mon problème

J’aimerais utiliser Home Assistant pour lire de la musique et des radios sur mon Freebox Player Devialet situé dans le salon. J’ai essayé manuellement (Médias → Radio Browser → choix d’une radio [RTL2 en l’occurrence]) et par le biais de scripts avec toujours le même résultat : j’entends une sorte de grésillement / souffle (comme quand on perd le signal radio dans une voiture). J’ai aussi ce comportement quand j’essaie d’utiliser Music Assistant.
Ce qui me surprend un petit peu, c’est que Home Assistant a immédiatement détecté mon player comme « Apple TV ». Est-ce que cela est normal ?

Merci d’avance à tous pour votre aide !

Ma configuration


System Information

version core-2024.9.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.46-haos
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.1
Stage running
Available Repositories 1426
Downloaded Repositories 5
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 13.1
update_channel stable
supervisor_version supervisor-2024.09.1
agent_version 1.6.0
docker_version 26.1.4
disk_total 234.0 GB
disk_used 8.3 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board generic-x86-64
supervisor_api ok
version_api ok
installed_addons File editor (5.8.0), Terminal & SSH (9.15.0), Z-Wave JS (0.7.2), Music Assistant Server (2.2.6)
Dashboards
dashboards 3
resources 1
views 6
mode storage
Recorder
oldest_recorder_run 26 septembre 2024 à 08:20
current_recorder_run 1 octobre 2024 à 12:19
estimated_db_size 503.11 MiB
database_engine sqlite
database_version 3.45.3
___

Bonjour à tous !
Voici quelques logs de la plateforme :

Logs pour AirPlay (bruit de grésillement) 2024-10-04 14:20:44.339 WARNING (MainThread) [homeassistant.components.freebox.router] Home access is not granted 2024-10-04 14:21:04.858 WARNING (MainThread) [custom_components.versatile_thermostat.prop_algorithm] Thermostat Bureau - Proportional algorithm: calculation is not possible cause target_temp (20.0) or current_temp (None) is null. Heating/cooling will be disabled. This could be normal at startup 2024-10-04 14:35:21.909 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_ALBUM was used from mass, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.ALBUM instead, please report it to the author of the 'mass' custom integration 2024-10-04 14:35:21.912 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_ARTIST was used from mass, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.ARTIST instead, please report it to the author of the 'mass' custom integration 2024-10-04 14:35:21.914 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_DIRECTORY was used from mass, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.DIRECTORY instead, please report it to the author of the 'mass' custom integration 2024-10-04 14:35:21.916 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_MUSIC was used from mass, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.MUSIC instead, please report it to the author of the 'mass' custom integration 2024-10-04 14:35:21.919 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_PLAYLIST was used from mass, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.PLAYLIST instead, please report it to the author of the 'mass' custom integration 2024-10-04 14:35:21.921 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_TRACK was used from mass, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.TRACK instead, please report it to the author of the 'mass' custom integration 2024-10-04 14:35:21.923 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_ALBUM was used from mass, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.ALBUM instead, please report it to the author of the 'mass' custom integration 2024-10-04 14:35:21.925 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_ARTIST was used from mass, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.ARTIST instead, please report it to the author of the 'mass' custom integration 2024-10-04 14:35:21.927 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_PLAYLIST was used from mass, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.PLAYLIST instead, please report it to the author of the 'mass' custom integration 2024-10-04 14:35:21.929 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_TRACK was used from mass, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.TRACK instead, please report it to the author of the 'mass' custom integration
Logs pour DLNA Digital Media Renderer (qui me donne le player comme indisponible) 2024-10-04 15:08:57.948 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration mass which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-10-04 15:08:57.948 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration scheduler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-10-04 15:08:57.949 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-10-04 15:08:57.949 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration versatile_thermostat which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-10-04 15:08:59.495 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x7fccd93baf50>, <Purpose.SERVER_AUTH: _ASN1Object(nid=129, shortname=‹ serverAuth ›, longname=‹ TLS Web Server Authentication ›, oid=‹ 1.3.6.1.5.5.7.3.1 ›)>) inside the event loop by integration ‹ freebox › at homeassistant/components/freebox/init.py, line 26: await api.open(entry.data[CONF_HOST], entry.data[CONF_PORT]) (offender: /usr/local/lib/python3.12/ssl.py, line 713: context.load_default_certs(purpose)), please create a bug report at Issues · home-assistant/core · GitHub

For developers, please see Blocking operations with asyncio | Home Assistant Developer Docs

Traceback (most recent call last):

File «  », line 198, in _run_module_as_main

File «  », line 88, in _run_code

File « /usr/src/homeassistant/homeassistant/main.py », line 223, in

sys.exit(main())

File « /usr/src/homeassistant/homeassistant/main.py », line 209, in main

exit_code = runner.run(runtime_conf)

File « /usr/src/homeassistant/homeassistant/runner.py », line 189, in run

return loop.run_until_complete(setup_and_run_hass(runtime_config))

File « /usr/local/lib/python3.12/asyncio/base_events.py », line 674, in run_until_complete

self.run_forever()

File « /usr/local/lib/python3.12/asyncio/base_events.py », line 641, in run_forever

self._run_once()

File « /usr/local/lib/python3.12/asyncio/base_events.py », line 1990, in _run_once

handle._run()

File « /usr/local/lib/python3.12/asyncio/events.py », line 88, in _run

self._context.run(self._callback, *self._args)

File « /usr/src/homeassistant/homeassistant/setup.py », line 165, in async_setup_component

result = await _async_setup_component(hass, domain, config)

File « /usr/src/homeassistant/homeassistant/setup.py », line 461, in _async_setup_component

await asyncio.gather(

File « /usr/src/homeassistant/homeassistant/setup.py », line 463, in

create_eager_task(

File « /usr/src/homeassistant/homeassistant/util/async_.py », line 45, in create_eager_task

return Task(coro, loop=loop, name=name, eager_start=True)

File « /usr/src/homeassistant/homeassistant/config_entries.py », line 742, in async_setup_locked

await self.async_setup(hass, integration=integration)

File « /usr/src/homeassistant/homeassistant/config_entries.py », line 594, in async_setup

result = await component.async_setup_entry(hass, self)

File « /usr/src/homeassistant/homeassistant/components/freebox/init.py », line 26, in async_setup_entry

await api.open(entry.data[CONF_HOST], entry.data[CONF_PORT])

2024-10-04 15:08:59.507 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7fccd93baf50>,) inside the event loop by integration ‹ freebox › at homeassistant/components/freebox/init.py, line 26: await api.open(entry.data[CONF_HOST], entry.data[CONF_PORT]) (offender: /usr/local/lib/python3.12/site-packages/freebox_api/aiofreepybox.py, line 78: ssl_ctx.load_verify_locations(cafile=cert_path))
#load_verify_locations

Traceback (most recent call last):

File «  », line 198, in _run_module_as_main

File «  », line 88, in _run_code

File « /usr/src/homeassistant/homeassistant/main.py », line 223, in

sys.exit(main())

File « /usr/src/homeassistant/homeassistant/main.py », line 209, in main

exit_code = runner.run(runtime_conf)

File « /usr/src/homeassistant/homeassistant/runner.py », line 189, in run

return loop.run_until_complete(setup_and_run_hass(runtime_config))

File « /usr/local/lib/python3.12/asyncio/base_events.py », line 674, in run_until_complete

self.run_forever()

File « /usr/local/lib/python3.12/asyncio/base_events.py », line 641, in run_forever

self._run_once()

File « /usr/local/lib/python3.12/asyncio/base_events.py », line 1990, in _run_once

handle._run()

File « /usr/local/lib/python3.12/asyncio/events.py », line 88, in _run

self._context.run(self._callback, *self._args)

File « /usr/src/homeassistant/homeassistant/setup.py », line 165, in async_setup_component

result = await _async_setup_component(hass, domain, config)

File « /usr/src/homeassistant/homeassistant/setup.py », line 461, in _async_setup_component

await asyncio.gather(

File « /usr/src/homeassistant/homeassistant/setup.py », line 463, in

create_eager_task(

File « /usr/src/homeassistant/homeassistant/util/async_.py », line 45, in create_eager_task

return Task(coro, loop=loop, name=name, eager_start=True)

File « /usr/src/homeassistant/homeassistant/config_entries.py », line 742, in async_setup_locked

await self.async_setup(hass, integration=integration)

File « /usr/src/homeassistant/homeassistant/config_entries.py », line 594, in async_setup

result = await component.async_setup_entry(hass, self)

File « /usr/src/homeassistant/homeassistant/components/freebox/init.py », line 26, in async_setup_entry

await api.open(entry.data[CONF_HOST], entry.data[CONF_PORT])

2024-10-04 15:08:59.509 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args (PosixPath(‹ /config/.storage/freebox/mwfvdaik_fbxos_fr.conf ›), ‹ r ›) inside the event loop by integration ‹ freebox › at homeassistant/components/freebox/init.py, line 26: await api.open(entry.data[CONF_HOST], entry.data[CONF_PORT]) (offender: /usr/local/lib/python3.12/site-packages/freebox_api/aiofreepybox.py, line 255: with open(file, « r ») as f:)
#open

Traceback (most recent call last):

File «  », line 198, in _run_module_as_main

File «  », line 88, in _run_code

File « /usr/src/homeassistant/homeassistant/main.py », line 223, in

sys.exit(main())

File « /usr/src/homeassistant/homeassistant/main.py », line 209, in main

exit_code = runner.run(runtime_conf)

File « /usr/src/homeassistant/homeassistant/runner.py », line 189, in run

return loop.run_until_complete(setup_and_run_hass(runtime_config))

File « /usr/local/lib/python3.12/asyncio/base_events.py », line 674, in run_until_complete

self.run_forever()

File « /usr/local/lib/python3.12/asyncio/base_events.py », line 641, in run_forever

self._run_once()

File « /usr/local/lib/python3.12/asyncio/base_events.py », line 1990, in _run_once

handle._run()

File « /usr/local/lib/python3.12/asyncio/events.py », line 88, in _run

self._context.run(self._callback, *self._args)

File « /usr/src/homeassistant/homeassistant/setup.py », line 165, in async_setup_component

result = await _async_setup_component(hass, domain, config)

File « /usr/src/homeassistant/homeassistant/setup.py », line 461, in _async_setup_component

await asyncio.gather(

File « /usr/src/homeassistant/homeassistant/setup.py », line 463, in

create_eager_task(

File « /usr/src/homeassistant/homeassistant/util/async_.py », line 45, in create_eager_task

return Task(coro, loop=loop, name=name, eager_start=True)

File « /usr/src/homeassistant/homeassistant/config_entries.py », line 742, in async_setup_locked

await self.async_setup(hass, integration=integration)

File « /usr/src/homeassistant/homeassistant/config_entries.py », line 594, in async_setup

result = await component.async_setup_entry(hass, self)

File « /usr/src/homeassistant/homeassistant/components/freebox/init.py », line 26, in async_setup_entry

await api.open(entry.data[CONF_HOST], entry.data[CONF_PORT])

2024-10-04 15:09:01.846 WARNING (MainThread) [async_upnp_client.profiles.profile] Failed (re-)subscribing to: uuid:10e3aa05-fe36-4151-9182-af17812517a8, reason: UpnpConnectionError(« ServerDisconnectedError(‹ Server disconnected ›) », None)

2024-10-04 15:09:01.882 WARNING (MainThread) [async_upnp_client.profiles.profile] Failed (re-)subscribing to: uuid:b063f20c-a35a-4656-b83a-f275a95f76ff, reason: UpnpConnectionError(« ServerDisconnectedError(‹ Server disconnected ›) », None)

2024-10-04 15:09:01.901 WARNING (MainThread) [async_upnp_client.profiles.profile] Failed (re-)subscribing to: uuid:81411230-baaf-4537-a5a1-2602ce867c45, reason: UpnpConnectionError(« ServerDisconnectedError(‹ Server disconnected ›) », None)