# Lecture de musique / radio sur Freebox Player (Devialet)

**URL:** <https://forum.hacf.fr/t/lecture-de-musique-radio-sur-freebox-player-devialet/48686>\
**Category:** Entraide Home Assistant\
**Tags:** lecteur-multimedia-media-playe, freebox-player\
**Created:** [Octobre 2, 2024, 2:30 UTC](https://forum.hacf.fr/t/lecture-de-musique-radio-sur-freebox-player-devialet/48686 "2024-10-02T14:30:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![n2xt](https://forum.hacf.fr/user_avatar/forum.hacf.fr/n2xt/32/79307_2.png) [@n2xt](https://forum.hacf.fr/u/n2xt)\
**Post date:** [Octobre 2, 2024, 2:30 UTC](https://forum.hacf.fr/t/lecture-de-musique-radio-sur-freebox-player-devialet/48686/1 "2024-10-02T14:30:46Z")

</div>

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 🙂 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 «&nbsp;Apple TV&nbsp;». 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 |

\_\_\_

---

<div class="post-metadata">

**Author:** ![n2xt](https://forum.hacf.fr/user_avatar/forum.hacf.fr/n2xt/32/79307_2.png) [@n2xt](https://forum.hacf.fr/u/n2xt)\
**Post date:** [Octobre 4, 2024, 1:50 UTC](https://forum.hacf.fr/t/lecture-de-musique-radio-sur-freebox-player-devialet/48686/2 "2024-10-04T13:50:52Z")

</div>

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=‹&nbsp;serverAuth&nbsp;›, longname=‹&nbsp;TLS Web Server Authentication&nbsp;›, oid=‹&nbsp;1.3.6.1.5.5.7.3.1&nbsp;›)\>) inside the event loop by integration ‹&nbsp;freebox&nbsp;› 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](https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+freebox%22)
> 
> For developers, please see [Blocking operations with asyncio | Home Assistant Developer Docs](https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs)
> 
> Traceback (most recent call last):
> 
> File «&nbsp;&nbsp;», line 198, in \_run\_module\_as\_main
> 
> File «&nbsp;&nbsp;», line 88, in \_run\_code
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/ **main**.py&nbsp;», line 223, in
> 
> sys.exit(main())
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/ **main**.py&nbsp;», line 209, in main
> 
> exit\_code = runner.run(runtime\_conf)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/runner.py&nbsp;», line 189, in run
> 
> return loop.run\_until\_complete(setup\_and\_run\_hass(runtime\_config))
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/base\_events.py&nbsp;», line 674, in run\_until\_complete
> 
> self.run\_forever()
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/base\_events.py&nbsp;», line 641, in run\_forever
> 
> self.\_run\_once()
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/base\_events.py&nbsp;», line 1990, in \_run\_once
> 
> handle.\_run()
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/events.py&nbsp;», line 88, in \_run
> 
> self.\_context.run(self.\_callback, \*self.\_args)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/setup.py&nbsp;», line 165, in async\_setup\_component
> 
> result = await \_async\_setup\_component(hass, domain, config)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/setup.py&nbsp;», line 461, in \_async\_setup\_component
> 
> await asyncio.gather(
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/setup.py&nbsp;», line 463, in
> 
> create\_eager\_task(
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/util/async\_.py&nbsp;», line 45, in create\_eager\_task
> 
> return Task(coro, loop=loop, name=name, eager\_start=True)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/config\_entries.py&nbsp;», line 742, in async\_setup\_locked
> 
> await self.async\_setup(hass, integration=integration)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/config\_entries.py&nbsp;», line 594, in async\_setup
> 
> result = await component.async\_setup\_entry(hass, self)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/components/freebox/ **init**.py&nbsp;», 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 ‹&nbsp;freebox&nbsp;› 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 «&nbsp;&nbsp;», line 198, in \_run\_module\_as\_main
> 
> File «&nbsp;&nbsp;», line 88, in \_run\_code
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/ **main**.py&nbsp;», line 223, in
> 
> sys.exit(main())
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/ **main**.py&nbsp;», line 209, in main
> 
> exit\_code = runner.run(runtime\_conf)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/runner.py&nbsp;», line 189, in run
> 
> return loop.run\_until\_complete(setup\_and\_run\_hass(runtime\_config))
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/base\_events.py&nbsp;», line 674, in run\_until\_complete
> 
> self.run\_forever()
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/base\_events.py&nbsp;», line 641, in run\_forever
> 
> self.\_run\_once()
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/base\_events.py&nbsp;», line 1990, in \_run\_once
> 
> handle.\_run()
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/events.py&nbsp;», line 88, in \_run
> 
> self.\_context.run(self.\_callback, \*self.\_args)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/setup.py&nbsp;», line 165, in async\_setup\_component
> 
> result = await \_async\_setup\_component(hass, domain, config)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/setup.py&nbsp;», line 461, in \_async\_setup\_component
> 
> await asyncio.gather(
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/setup.py&nbsp;», line 463, in
> 
> create\_eager\_task(
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/util/async\_.py&nbsp;», line 45, in create\_eager\_task
> 
> return Task(coro, loop=loop, name=name, eager\_start=True)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/config\_entries.py&nbsp;», line 742, in async\_setup\_locked
> 
> await self.async\_setup(hass, integration=integration)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/config\_entries.py&nbsp;», line 594, in async\_setup
> 
> result = await component.async\_setup\_entry(hass, self)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/components/freebox/ **init**.py&nbsp;», 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(‹&nbsp;/config/.storage/freebox/mwfvdaik\_fbxos\_fr.conf&nbsp;›), ‹&nbsp;r&nbsp;›) inside the event loop by integration ‹&nbsp;freebox&nbsp;› 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, «&nbsp;r&nbsp;») as f:)  
> #open
> 
> Traceback (most recent call last):
> 
> File «&nbsp;&nbsp;», line 198, in \_run\_module\_as\_main
> 
> File «&nbsp;&nbsp;», line 88, in \_run\_code
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/ **main**.py&nbsp;», line 223, in
> 
> sys.exit(main())
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/ **main**.py&nbsp;», line 209, in main
> 
> exit\_code = runner.run(runtime\_conf)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/runner.py&nbsp;», line 189, in run
> 
> return loop.run\_until\_complete(setup\_and\_run\_hass(runtime\_config))
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/base\_events.py&nbsp;», line 674, in run\_until\_complete
> 
> self.run\_forever()
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/base\_events.py&nbsp;», line 641, in run\_forever
> 
> self.\_run\_once()
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/base\_events.py&nbsp;», line 1990, in \_run\_once
> 
> handle.\_run()
> 
> File «&nbsp;/usr/local/lib/python3.12/asyncio/events.py&nbsp;», line 88, in \_run
> 
> self.\_context.run(self.\_callback, \*self.\_args)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/setup.py&nbsp;», line 165, in async\_setup\_component
> 
> result = await \_async\_setup\_component(hass, domain, config)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/setup.py&nbsp;», line 461, in \_async\_setup\_component
> 
> await asyncio.gather(
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/setup.py&nbsp;», line 463, in
> 
> create\_eager\_task(
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/util/async\_.py&nbsp;», line 45, in create\_eager\_task
> 
> return Task(coro, loop=loop, name=name, eager\_start=True)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/config\_entries.py&nbsp;», line 742, in async\_setup\_locked
> 
> await self.async\_setup(hass, integration=integration)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/config\_entries.py&nbsp;», line 594, in async\_setup
> 
> result = await component.async\_setup\_entry(hass, self)
> 
> File «&nbsp;/usr/src/homeassistant/homeassistant/components/freebox/ **init**.py&nbsp;», 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(«&nbsp;ServerDisconnectedError(‹&nbsp;Server disconnected&nbsp;›)&nbsp;», 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(«&nbsp;ServerDisconnectedError(‹&nbsp;Server disconnected&nbsp;›)&nbsp;», 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(«&nbsp;ServerDisconnectedError(‹&nbsp;Server disconnected&nbsp;›)&nbsp;», None)

---

<div class="post-metadata">

**Author:** ![Guib](https://forum.hacf.fr/user_avatar/forum.hacf.fr/guib/32/86247_2.png) [@Guib](https://forum.hacf.fr/u/Guib)\
**Post date:** [Novembre 27, 2024, 12:38 UTC](https://forum.hacf.fr/t/lecture-de-musique-radio-sur-freebox-player-devialet/48686/3 "2024-11-27T12:38:28Z")

</div>

Salut, je souhaiterais faire à peu prêt la même chose que toi !  
J’ai un player youtube musique sur mon dashboard et j’aimerais que la musique se lance sur le freebox player (Devialet)

Je peux bien choisir le freebox player comme speaker pour youtube music mais ça ne se lance pas… Si toute fois tu as trouvé une solution, je suis preneur !

---

<div class="post-metadata">

**Author:** ![n2xt](https://forum.hacf.fr/user_avatar/forum.hacf.fr/n2xt/32/79307_2.png) [@n2xt](https://forum.hacf.fr/u/n2xt)\
**Post date:** [Novembre 27, 2024, 12:53 UTC](https://forum.hacf.fr/t/lecture-de-musique-radio-sur-freebox-player-devialet/48686/4 "2024-11-27T12:53:10Z")

</div>

Salut Guib !

J’ai trouvé une solution mais qui relève complètement du bricolage pour le moment, n’ayant pas trouvé mieux ☹ J’ai gardé le Jeedom que j’avais auparavant et avec lequel je parvenais à lancer la musique, j’ai laissé ce seul script en charge de la musique actif, et je le déclenche depuis HomeAssistant.  
Ça m’embête un peu, parce que je suis complètement satisfait de HomeAssistant sur tous les autres points donc hors de question de revenir à Jeedom, mais je dois garder cette ancienne solution up pour le moment.

Désolé de ne pas pouvoir plus t’aider.
