Help to integrate Yamaha YAS109

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

what do you see if you click on YAS_109

image

Can you add sources to your yaml like in this page .Yamaha Network Receivers - Home Assistant
How many input does YAS109 have ?

source_names:

HDMI1: “OFC_ATV4”
HDMI2: “PS4_PRO”

I did not give up and I can try with you further but I seen below post which could indicate good and bad news

Ok, thank you.
I’ll try to read carefully that post and if I have some questions I’ll post there.

I did not mean that we stop investigating but as you wish , I seen on that post that some guys are able to do it so do not give up

We can also test more.
The configuration of source_names you suggested is into media_player section,isn’t? As I’ve said before, the section in yaml file with platform: yamaha is not right in my case.

its okay … we will solve this

Just add the section as it is in the link below ( how many input does this YAS109 have , add one for each input ) .

Also what is your raspberrypi info , network setup … …etc . give all info you can

I forgot to ask if you have it connected via wifi then try to have it on utp to test

Nothing to do …
If I remove DLNA integrations and add media player configuration as the link you suggest, there is no media player yamaha …
I use a wired raspberry pi3, and the soundbar is wireless connected to switch and it is controlled by the yamaha app on my softphone.

yes very good , connect the YAS109 to utp cable and not wifi .
Also if you added the sources to your yaml then send a copy

The YAS 109 has no wired connection, only wifi or bluetooth.

you have the YAS109 network setting on standby ?
can you ping the YAS109 ( when it is on ) from the Pi terminal ?
can you ping the YAS109 ( when it is off ) from the Pi terminal ?

Is this the same YAS109 one you have !!!
This one has a utp port , is yours different model

YAS-109 - Specs - Sound Bars - Audio & Visual - Products - Yamaha - United States

I was wrong,there is a utp port.
I connected an ethernet cable but there is no change. No media player discovered.
I can ping the soundbar when is on and also when is off.
I don’t know how to “have network setting on standby”.

It is okay but the issue is that it takes long time to get your correct response and its very difficult now to double check all the info you provided .The idea to connect your device via UTP was to redo all your setup again without wifi .

What I would advice you if this is important is to get familiar with your setup
and capture all the details and see if you missed something else .

For your device options , you can read the documentation in the link I sent you before

good luck

@elle2
I have the same exact issue with YAS209
Device isn’t discovered unless I enable dlna
When enabling dlna I get a media_player entity with no options to control sources, turn on or off etc.

Did you get this working by any chance?

No, I didn’t.
I think that these models can’t be really integrated in home assistant.

Hello, I’m facing the same issue with my Yamaha YAS 109. I added the Yamaha media player platform in configuration Yaml, but after a restart I get error on the log :

2023-01-02 00:15:09.904 ERROR (SyncWorker_5) [rxv] Failed to fetch http://192.168.1.12:80/YamahaRemoteControl/desc.xml
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.10/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.10/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.10/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.10/http/client.py", line 1037, in _send_output
self.send(msg)
File "/usr/local/lib/python3.10/http/client.py", line 975, in send
self.connect()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xa016cd48>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.12', port=80): Max retries exceeded with url: /YamahaRemoteControl/desc.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xa016cd48>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/rxv/rxv.py", line 137, in _discover_features
desc_xml = self._session.get(
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.12', port=80): Max retries exceeded with url: /YamahaRemoteControl/desc.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xa016cd48>: Failed to establish a new connection: [Errno 111] Connection refused'))