core: Playing Spotify URIs with the Sonos integration fails with UPnP Error 800
The problem
After successful upgrade to HA 0.117.0 I tried to use the new support for playing Spotify URIs with the Sonos integration by using the media_player.play_media service. I got two Sonos One (Gen 2) and one Sonos Go speakers that where already integrated in HA, and none of those managed to play Spotify playlist. Error I keep receiving in Logs is Error on play_media with UPnP Error 800 received: from 192.168.0.14. Im also experiencing the issue by using the Spotify Playlist Link and Spotify URI.
Service call from Developer Tools:
service: media_player.play_media
data:
entity_id: media_player.sonos_stue_1
media_content_id: 'https://open.spotify.com/album/1bt6q2SruMsBtcerNVtpZB'
media_content_type: music
Environment
- Home Assistant Core release with the issue: 0.117.0
- Last working Home Assistant Core release (if known): N/A, feature added in 0.117.0
- Operating environment (OS/Container/Supervised/Core): Container
- Integration causing this issue: Sonos
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/sonos
Problem-relevant configuration.yaml
default_config:
homeassistant:
name: My HA
time_zone: Europe/Oslo
unit_system: metric
external_url: "https://my.personal.url"
internal_url: "http://192.168.0.2:8123"
# Text to speech
tts:
- platform: google_translate
spotify:
client_id: ****
client_secret: ****
Traceback/Error logs
Logger: homeassistant.components.sonos.media_player
Source: components/sonos/media_player.py:475
Integration: Sonos (documentation, issues)
First occurred: 11:23:13 PM (1 occurrences)
Last logged: 11:23:13 PM
Error on play_media with UPnP Error 800 received: from 192.168.0.14
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (7 by maintainers)
Thank you, that is a nice surprise. I will add it for the 0.118 beta then.
I made a new beta-008 that I think takes care of the US issue but I am not so sure about Family.
It can be installed as a custom repository (integration) with HACS: https://github.com/amelchio/sonos … can someone please test?
If it still does not work with Family, I will sign up and see what’s different.