hass-music-assistant icon indicating copy to clipboard operation
hass-music-assistant copied to clipboard

Sonos speakers regularly not found/not available

Open HA-TB303 opened this issue 3 months ago • 8 comments

What version of Music Assistant has the issue?

2.0.2

What version of the Home Assistant Integration have you got installed?

2024.5.1

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

  • [X] Yes

The problem

Sonos speakers are either regularly not found or appear "not (yet) available" in MA.

This mostly happens on battery powered speakers, but I can also easily reproduce on a normal speaker and even on ethernet connected speakers.

How to reproduce

Unplug/Turn off a speaker, want 10 minutes, check: httpp://ha_ip:8123/d5369777_music_assistant_beta/ingress One or more speakers appear like: CleanShot 2024-05-12 at 10 58 26

Then check the home assistant sonos integration if speakers are actually offline: CleanShot 2024-05-12 at 10 59 20

In this case all speakers appeared unavailable in MA, when in fact only the 'logeerkamer' (A Sonos Roam) was unavailable at that time (turned off). The rest appeared ONLINE in the HA integration. Even woonkamer (a ethernet connected Sonos ARC) appeared offline in MA, but was online in the HA integration.

Disabling the speaker in MA and then enabling it again mostly "fixes" it.

This makes Sonos quit unusable within MA.

Music Providers

Youtube music RadioBrowser Music Assistant

Player Providers

(only) Sonos

Full log output

N/A (I can send on request, too much private information in there)

Additional information

No response

What version of Home Assistant Core are your running

2024.5.3

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Generic x86-64 (e.g. Intel NUC)

HA-TB303 avatar May 12 '24 09:05 HA-TB303