[Nearing Release] Sonos Advanced Controller

Anyone run into an issue where different events occur but the speaker never says anything and then hours later suddenly you get a barrage of everything that had been queued up? How does that even happen?

1 Like

I've seen this many times, it has something to do with the queue getting stuck. You'll be able to identify it by looking at the state variable "audio clip playing" being stuck on true. Best way to clear it is to play a high priority TTS.

I tried to troubleshoot this with @daniel.winks when he was actively developing the driver but he was unable to reproduce the issue.

Interesting. Good to know even if it's annoying. Especially after I queued up "TEST" about 25 times. :joy:

1 Like

During our troubleshooting @daniel.winks proposed adding some time of queue flush if it stayed in "true" for a long time, but I don't think it was ever implemented

Would be nice if someone could pick it up or if the actual Hubitat driver could be updated to be more functional like this one. It's nice to dream.

2 Likes

I'm wondering if sending a blank high priority TTS on a periodic schedule might mitigate the issue? I'll try it tonight and see what happens

Are there specific features you're looking for? Non-interrupting TTS is at the top of my list, and I plan to look at it some day when other things settle down, but I'm open to other ideas if they're possible with the local API (which they hopefully don't get rid of :grimacing: ).

Definitely non-interupting TTS, queueing, and Groups. I don't actually use my Sonos for music, so that's my primary wish list

Just tracking down and fixing that bug. :smiley:

1 Like

With the built-in integration? I'll need more context if there is something there. :slight_smile:

We were just discussing it above. Periodically TTS that has been sent seems like it isn't going to work and then a substantial amount of time later the log jam clears and you get all the backed up stuff. Really weird.

1 Like

From the context, it sounded like that was with the community integration. Is it happening with the built-in?

Community integration is the issue, unfortunately the system app/drivers don't support queuing