Help to integrate Yamaha YAS109

Hi,
I’ve a Yamaha soundbar YAS109 and I try to integrate in Home Assistant.
I’m using a raspberrypi with snapcast client and bluetooth output connected to YAS109 soundbar.
It’s ok but to power on/off, select source and set volume I’ve to use yamaha app in my smartphone connect to home lan (as soundbar too).
Is it possible to integrate the soundbar into HA as media player and to have services to make the actions listed above?
HA core is 2021.12.4 in docker, and Yamaha soundbar has software 5.02
Thank you in advance

That claims it works with muciscast, so you could try using the Yamaha musicast integration

No, it doesn‘t. The YAS-209 has.

I got my info from amazon :man_shrugging:

Looks like that doesn’t even have musicast

Looks like that doesn’t even have musicast

You are correct, yet the 109 has neither.

amazon lies, let it be known

Anyways, @elle2 it doesn’t look like there’s a way to integrate that into HA. Sorry.

Hi guys , I have an old rxv473 and it running very well as media_player and also via DLNA integration . I can select sources and everything .

As rxv473 is old I dnt expect muciscast to work and it did not . My question is does muciscast add anything new that is not covered by the two methods above . And if so is there a workaround ?

Thank you

I don’t know, I don’t have musicast. I’m using an RXV677 through the yamaha integration.

OK, musicast isn’t available so no integration …
But with yamaha app on Android connected with wifi to soundbar it’s possible to manage the player. I hoped that something was possible with HA …

Hi, if I use DLNA integration then HA discovers the entity media_player.yas_109
With this entity I can set the volume, send play and pause command, but no source selection neither turn on or off.
Is there a specific configuration to do?

sorry i was away all day , if you can ping it you can integrate it .

did you add something like this ?
#===========================================================================
media_player:

  • platform: yamaha
    host: 10.0.0.22
    source_ignore:

    • “AUX”
    • “HDMI3”
    • “HDMI4”

    source_names:

    HDMI1: “OFC_ATV4”
    HDMI2: “PS4_PRO”

#==================================================================

I will help my dude dnt worry , let me know if you need other info

check this Yamaha Network Receivers - Home Assistant , also note the above get messed up when i paste it , so better check that link or I can send you the text file

1 Like

Unfortunately if I use this configuration (yamaha integration) the media player is not discovered. If I use the DLNA integration from UI then HA discover a media player as I told above.

can you share your yaml section that you have added for this ?

If I add this to media_player section:

  - platform: yamaha
    host: 192.168.0.121

no media player is discovered

Instead if I use DLNA Digital Media Render integration from UI, then it discovered YAS 109 soundbar as a media player

image

No source and no power button

Lets forget about dnla for now ( for me its also only on/off and volume only )

We can focus on the the media_player option . So to trouble shoot please do this …

1 ) Remove DNLA integration
2) Add media_player to yaml
3) Restart HA
4) Check the developer tools if you see new Yamaha entity ( look carefully )

report back because i will be waiting

I’ve follow your indications,but I’ve no media_player referred to yamaha soundbar, only already known other media players into my lan.

Its okay we are doing this to test .

I have deleted my setup and started again to test for you .

Please do this now :

Add DNLA back
What is the new entity added now ?
Add Media Control Card ( select your entity media_player.yamaha_receiver )

Let me now the result

This is the media player added


And this is the Media Control Card
image