SONOS ERROR (ERROR 800)-- Cant play any local media through any sonos on my network when starting from home assistant

Hello all,

Can you all help me figure out what is going on with the subject on my home assistant installation. I have pasted the LOG Errors below and don’t really even know where to begin to get this working. Thank you all fo any help you can provide!! (Also, as a sidenote, I have check and uPNP is enabled on my Google Wifi Mesh Router System)

What I have learned so far:
I can play music from the radio browser.
I can play music from local media(I added a few songs directly to the pi)
If I go into “DLNA Servers”, I can play music from within there (there is a plex folder that I am playing from)-- Screenshot 1 below.
The ERRORS below are created when I try to play music from within PLEX Icon within the media browser. See all screenshots excluding #1 and the error log below.-- Everything within the section seems to be better organized/ laid out additionally.
And lastly, the plex icon seems to work properly for cast devices and other media players. Sonos is the only one giving issues as the logs are showing.

Thank you all again for any guidance you all can give.

Logger: homeassistant.components.websocket_api.http.connection
Source: components/sonos/helpers.py:81
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 2:46:04 AM (4 occurrences)
Last logged: 2:48:36 AM

[547516495712] Error calling SonosMediaPlayerEntity.play_media on media_player.living_room_sonos_speaker: UPnP Error 800 received: from 192.168.1.52
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sonos/helpers.py", line 67, in wrapper
    result = funct(self, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 594, in play_media
    plex_plugin.add_to_queue(result.media)
  File "/usr/local/lib/python3.9/site-packages/soco/plugins/plex.py", line 200, in add_to_queue
    response = self.soco.avTransport.AddURIToQueue(
  File "/usr/local/lib/python3.9/site-packages/soco/services.py", line 207, in _dispatcher
    return self.send_command(action, *args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/soco/services.py", line 515, in send_command
    self.handle_upnp_error(response.text)
  File "/usr/local/lib/python3.9/site-packages/soco/services.py", line 568, in handle_upnp_error
    raise SoCoUPnPException(
soco.exceptions.SoCoUPnPException: UPnP Error 800 received:  from 192.168.1.52

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1704, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1741, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 768, in async_play_media
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/sonos/helpers.py", line 81, in wrapper
    raise SonosUpdateError(message) from err
homeassistant.components.sonos.exception.SonosUpdateError: Error calling SonosMediaPlayerEntity.play_media on media_player.living_room_sonos_speaker: UPnP Error 800 received:  from 192.168.1.52

Screenshot 1:

Screenshot 2:

This was corrected by adding plex as a music service in the sonos app.

1 Like