Sonos Integration can't discover my device

Hi all,

I’m running HA on my Raspberry Pi and have a Sonos Arc that I want to connect.

It connected all fine via the Sonos Integration in the UI when my Wifi was on the router directly, until I installed my Mesh network (TP-Link Deco S4).

The Mesh network created a new Wifi network and after I connected the Sonos to this network, the Sonos integration is created in the UI, but no devices are added.

I’m getting the following error messages when turning the logging on:

2021-08-17 10:25:05 DEBUG (Sonos-Discovery) [pysonos.discovery] Sending discovery packets on 192.168.2.12
2021-08-17 10:25:05 DEBUG (Sonos-Discovery) [pysonos.discovery] Sending discovery packets on 172.30.32.1
2021-08-17 10:25:05 DEBUG (Sonos-Discovery) [pysonos.discovery] Sending discovery packets on 172.17.0.1
2021-08-17 10:25:05 DEBUG (Sonos-Discovery) [pysonos.discovery] Received discovery response from ('192.168.2.33', 38069): "b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age = 1800\r\nEXT:\r\nLOCATION: http://192.168.68.108:1400/xml/device_description.xml\r\nSERVER: Linux UPnP/1.0 Sonos/64.3-19080 (ZPS19)\r\nST: urn:schemas-upnp-org:device:ZonePlayer:1\r\nUSN: uuid:RINCON_F0F6C176F3E401400::urn:schemas-upnp-org:device:ZonePlayer:1\r\nX-RINCON-HOUSEHOLD: Sonos_Qa6jPpM45xpPIe4Mf2PVvhCM7h\r\nX-RINCON-BOOTSEQ: 3\r\nBOOTID.UPNP.ORG: 3\r\nX-RINCON-WIFIMODE: 1\r\nX-RINCON-VARIANT: 2\r\nHOUSEHOLD.SMARTSPEAKER.AUDIO: Sonos_Qa6jPpM45xpPIe4Mf2PVvhCM7h.OJxkfebk4WthIz6BABqm\r\n\r\n'"
2021-08-17 10:25:15 DEBUG (Sonos-Discovery) [pysonos.discovery] Error handling discovery response, ex=HTTPConnectionPool(host='192.168.2.33', port=1400): Max retries exceeded with url: /xml/ZoneGroupTopology1.xml (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f6cc70be0>, 'Connection to 192.168.2.33 timed out. (connect timeout=10)'))

The last line shows the error, where it tried to connect to 192.168.2.33. When I put that IP in my browser, it goes to the TP-Link Admin page, so it feels like it can’t get through here.

The Sonos app works perfectly fine on the Wifi created by the TP-Link devices.

I searched on the forums, but can’t find anyone with this exact error message and/or a solution I know how to try.

Can anyone help out? :slight_smile:
Thanks in advance!

are your homeassistant and Sonos in the same network?

I’m not sure how I can check that?

The IP to reach my Home Assistant is 192.168.2.12. The Raspberry Pi is connect via an Ethernet cable to the router.
The IP to reach the Sonos Arc is 192.168.68.108. It is connected to the Wifi network that is created by the Mesh network.

The TP-Link Mesh devices are in turn connected to the same router as the Raspberry Pi.

seems to be two different networks.
I have no clue about the TP-Link Mesh networks. But it seems your home assistant is not able to see / connect the other network.

1 Like

Unless you explicitely want 2 networks, put your Deco mesh in “AP” mode so that you only have one network.

1 Like

That worked!

The IP from the Sonos Arc moved to 192.168.2.xx after changing that and can be found in HA again.

Maybe a bit off-topic question then, but I’m not exactly following what I’ve done haha.
I still see two Wifi networks available. The original one (before setting up the mesh), and the new one, created by the mesh (the better one).
I would’ve expected it to become one network now?

Thanks a lot for both your replies and thinking along!

You mean the old wifi from, e.g., you router?
Unless you gave the mesh wifi the same name, there is no automagic disabling of the old one. Just disable it.

I see, thanks for the info!