ok, not following along here, we're trying to figure out if the lack of Hubitat providing a content type in the response to the speakers get request to the tts url is causing the issue.
What I see in the above is that it does work (for whatever reason) with content type "audio/mpeg".
What does this same trace look like when you use a Hubitat tts url?
I can't get the trace between the Soundbar and the Hubitat device (my system does not have a promiscuous mode WiFi adapter and even on the LAN adapter, the PC has to be one of the devices for the capture to work). I use wireshark, so if there is one that does LAN capture between all devices?
Ok, I can add the content type and do some internal testing, so long as it doesn't break sonos, and it shouldn't, I'll add it to our hub code.
If that doesn't fix the issue, I'm out of ideas...
OK, content type audio/mpeg has been added to the tts response and will be in the next release, as I said, this is just a wild guess as to what the problem is.
Mike, it is up to you. I would be happy to slim up and test the Samsung Multiroom Speaker device handler to replicate the Sonos Speaker API you currently have - none of the extra features. Why - give a consistent set of speaker drivers tested with an agreed upon Selection app.
I would then use child devices to add-in the unique functionality in three packages: basic (source select, equalizer), internal player control (presets, shuffle/repeat), and grouping.
Does that seem like a good idea or a waste of time?
PS - if you want any tech data on these speakers, I actually know quite a bit and am willing to share.
that would make it more attractive to include in future builds, though I can't give you any idea on when or if that might be, more of a when than an if probably.
It is literally a "feature" of the speaker AVTransport handler where it is apparently looking for something that is not present in your output; therefore, not actually connecting to/playing the URL. I would say the Samsung Soundbar is the odd-system-out, not Hubitat.
Lots of other options that don't take too much to get going. I'm using VLC player for a door open tone now, but I was using it for TTS and it worked really well. Also, if you have a Google Home or Mini, the Google Assistant Relay port is really nice and gives you a choice of voices.
History. The issue is with some code I am writing. It works for the Samsung Multi-room speakers, but not the soundbar. I can do TTS with AWS fine on the speakers. Have to use another TTS service for the soundbar. When used, the sound will interrupt the playing steam, play the notification text, and then resume the playing stream. Speakers are synced so that the same can be played throughout the house.
PS - This is not for me. It is for other users of the devices - I want it to be as easy as possible for them to be able to utilize the functions of the speakers-soundbars; including TTS, playing channels, and controlling the device settings. It is a lot of code and all works well except tts on the soundbar.
I know we can set the TTS voice globally, but is there a way to set it "locally" in a rule for example
Something like:
speak "this is a test" using Sally voice or "this is another test" using Matthew voice
Is there a character limit in what can be said with TTS?
I have a completely random clicking coming from one of my google home speakers (nothing in the logs about it) and about the only way I can get it to stop clicking (without powering it off for an extended period) is I created a virtual switch that makes it speak for a long sentence. After the sentence the speaker usually stops clicking.
Reason I ask for the character limit is this is the rule that the virtual switch runs.