jjlawren / sonos_cloud

Sonos cloud API integration for Home Assistant with improved TTS/alerts handling
121 stars 5 forks source link

Announcements / TTS does not work anymore #50

Open xteaun opened 10 months ago

xteaun commented 10 months ago

I had my Sonos speakers set up to play messages to me when I ask the voice assistant questions. After one of the last HA updates the TTS stopped working. When I call the service, as described in the documentation, I get a green tick, but no audio plays:

service: media_player.play_media
data:
  entity_id: media_player.kitchen
  media_content_id: media-source://tts/cloud?message=I am very loud
  media_content_type: music
  extra:
    volume: 80

What am I doing wrong? :) Is this a bug?

StoricU commented 1 month ago

I have the same problem now. Unsure when it started, but tts is not working any more. If a song i playing and I call the service, the music stops for 2 secons and the restart. The tts is not coming thru.. 🤔

I'm suspecting it might occured after I disabled HTTPS and duckdns and started using Tailscale and just HTTP.

pwcutajar commented 2 weeks ago

I have the same

i see this in the logs

Logger: custom_components.sonos_cloud.media_player Source: custom_components/sonos_cloud/media_player.py:147 integration: Sonos Cloud (documentation, issues) First occurred: 31 October 2024 at 10:23:19 (33 occurrences) Last logged: 20:21:45

Play request failed (410): {"errorCode":"ERROR_RESOURCE_GONE"} Play request failed (504): {"errorCode":"ERROR_GATEWAY_TIMEOUT"}