Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonos Speakers are not detected in 2021.7.0 #52645

Closed
bs42 opened this issue Jul 7, 2021 · 6 comments · Fixed by #52652
Closed

Sonos Speakers are not detected in 2021.7.0 #52645

bs42 opened this issue Jul 7, 2021 · 6 comments · Fixed by #52652
Assignees

Comments

@bs42
Copy link

bs42 commented Jul 7, 2021

The problem

All Sonos speakers vanished upon updating to 2021.7.0

What is version of Home Assistant Core has the issue?

2021.7.0

What was the last working version of Home Assistant Core?

2021.6.6

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Sonos

Link to integration documentation on our website

https://www.home-assistant.io/integrations/sonos/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

I enabled debug logs:

logger:
  default: info
  logs: 
    homeassistant.components.sonos: debug

There was nothing in the logs for any of my speakers, just the initialization entries.

I do have multiple networks enabled on the host system so I currently use the following settings ( I did try removing this in 2021.7.0, there was no change).

sonos:
  media_player:
    interface_addr: 192.168.51.1
    advertise_addr: 192.168.51.1

Rolling back to 2021.6.6 all Speakers immediately restored.

@probot-home-assistant
Copy link

Hey there @cgtobi, @jjlawren, mind taking a look at this issue as its been labeled with an integration (sonos) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

@jjlawren
Copy link
Contributor

jjlawren commented Jul 7, 2021

Have you customized your Network configuration? The Sonos discovery has recently changed to support this system-wide configuration setting. It's available under Configuration > General and your user must have "Advanced Mode" enabled.

Edit: This is specifically for the interface_addr config option which is now unused. The documentation should be updated to reflect this.

@bs42
Copy link
Author

bs42 commented Jul 7, 2021

I missed this addition of "Network" on the General section, so it was setup on auto which was incorrect for my network. Modified configuration.yaml to remove the manual Sonos interface and configured Network and all is well.

A documentation update on the Sonos integration would be much appreciated. Thanks!

@jjlawren
Copy link
Contributor

jjlawren commented Jul 7, 2021

You missed it because it didn't really exist. Sorry about that.

Pushed a PR to add a warning during startup and updated the docs to support the changes.

@therealhalifax
Copy link

I have my sonos configured via the UI without manual Network configuration. But also for me my 2 speakers are not found anymore. Seems there is another thing broken with the update?

@jjlawren
Copy link
Contributor

jjlawren commented Jul 8, 2021

@therealhalifax this issue was related to the Network integration and a multi-interface host. If this is not related to your setup then please create a new one with debug logs as shown in the original post.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants