TTS issue on Sonos speaker

I did indeed run scenes without effects on the speaker

Follow-up to the discussion at: Gladys Plus : Augmentation du plafond de requêtes de l'API de voix (TTS)! - #2 par Jluc

The problem must really be local because on the Gladys Plus side everything looks good in the logs.

You’re not « spamming » your speaker too much?

If your network is slow, it can take a good 10 seconds to play the voice; if you play a voice request on top of the previous one, it’s possible that it cancels the previous playback and maybe worsens the issue…

Can you show us what your scenes look like?

By any chance, does your Sonos speaker change IP addresses regularly?

@Jluc I can confirm that your scenes are spamming the API, you’re making calls every 2 seconds—are you sure your scenes are correct?

Edit: It might not be you ^^ I’m just looking at the recent calls, there were 8 API calls at 12:07, all only 2 seconds apart

@Jluc I don’t know if you’re on time, but I didn’t see any request at 12:15 on my end

It’s the same time on Gladys and on my computer

The time on the dashboard is not Gladys’s time, it’s your browser’s time, so it’s normal that they’re the same.

To check if you’re in the France time zone, go to Settings → « Systems » and verify that

Looks good to me for the time zone

I’m going to start the scene at 12:40

Ok, manually or automatically?

I’m monitoring the logs live

Edit: It’s 12:41, no API calls coming from your instance

In fact there are 2 steps in the voice generation:

  1. Gladys makes a call to Gladys Plus to fetch a personalized signed URL that will allow your Sonos speaker to download the .mp3 audio file.

This step works fine on your side; I can see it in my logs

  1. Gladys sends the URL to the Sonos speaker and it plays the .mp3 file by downloading it.

This step never happens in your case. I think your Sonos speaker never plays the file…

I’m going to remove the speaker and reconfigure it. As for the IP address, I don’t think it’s changing.

1 Like

So did that fix your problem?

Not at all and now I can no longer connect to SONOS over Wi-Fi :slightly_frowning_face:

ah, okay, the « reassuring » thing for me is that your issue doesn’t seem to be related to Gladys, actually ^^

Instability issue with your Sonos

Not reassuring for me, too bad :blush:

1 Like

Maybe your Sonos is too far from your router? Try using Ethernet to see… Otherwise, update your Sonos to see if it’s not a software issue on the Sonos.