Thanks Patrick. Yes, I’m on a Vera Edge and running the hotfix version.
I changed that setting in the Sonos master device settings and it now seems to be communicating with Azure. However, when I try to get it to say something via the TTS tab in one of my Sonos devices it seems to pause the current track, start playing a different track briefly (no chime), then resume the original track. I’m not hearing any TTS through the Sonos. There seems to be a different error related to playing the TTS shown in bold below.
Many thanks for your help.
</s:Envelope>" <0x77d7c000>
50 10/03/20 12:40:06.183 luup_log:361: Sonos: (UPnP) UPnP_request() status=1 statusMsg=200 result=“<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\” s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/\“><s:Body><u:PauseResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:PauseResponse></s:Body></s:Envelope>” <0x77d7c000>
50 10/03/20 12:40:06.184 luup_log:361: Sonos: [debug] playURI(“RINCON_000E58282D0801400”,“0”,“"https://verasonostts.cognitiveservices.azure.com/\“Sonos_chime.mp3”,“1”,nil,{ 1=“RINCON_000E58282D0801400” },nil,nil,true,true) <0x77d7c000>
50 10/03/20 12:40:06.196 luup_log:361: Sonos: [debug] controlByCoordinator(“RINCON_000E58282D0801400”) <0x77d7c000>
50 10/03/20 12:40:06.197 luup_log:361: Sonos: [debug] getZoneGroup() group info for “RINCON_000E58282D0801400:23” is { members={ 1=“RINCON_000E58282D0801400” }, UUID=“RINCON_000E58282D0801400:23”, Coordinator=“RINCON_000E58282D0801400” } <0x77d7c000>
50 10/03/20 12:40:06.198 luup_log:361: Sonos: [debug] controlByCoordinator() coordinator “RINCON_000E58282D0801400” dev 19 <0x77d7c000>
50 10/03/20 12:40:06.199 luup_log:361: Sonos: [debug] decodeURI(“RINCON_000E58282D0801400”,“RINCON_000E58282D0801400”,”"https://verasonostts.cognitiveservices.azure.com/\“Sonos_chime.mp3”) <0x77d7c000>
50 10/03/20 12:40:06.200 luup_log:361: Sonos: [debug] decodeURI() uri now “"https://verasonostts.cognitiveservices.azure.com/\“Sonos_chime.mp3” title nil track nil serviceId nil <0x77d7c000>
50 10/03/20 12:40:06.200 luup_log:361: Sonos: [debug] decodeURI() url “"https://verasonostts.cognitiveservices.azure.com/\“Sonos_chime.mp3” serviceId nil title nil <0x77d7c000>
50 10/03/20 12:40:06.201 luup_log:361: Sonos: [debug] decodeURI() result uri=”"https://verasonostts.cognitiveservices.azure.com/\“Sonos_chime.mp3”, meta=”“, track=nil, groupControl=true, queueing=false <0x77d7c000>
50 10/03/20 12:40:06.202 luup_log:361: Sonos: [debug] playURI() creating new group <0x77d7c000>
50 10/03/20 12:40:06.203 luup_log:361: Sonos: (UPnP) service.__index: accessing non-existing function “BecomeCoordinatorOfStandaloneGroup” <0x77d7c000>
50 10/03/20 12:40:06.203 luup_log:361: Sonos: (UPnP) service.__index: “BecomeCoordinatorOfStandaloneGroup”(“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control”, “urn:schemas-upnp-org:service:AVTransport:1”) called with parameter count=1 <0x77d7c000>
50 10/03/20 12:40:06.204 luup_log:361: Sonos: (UPnP) UPnP_request(“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control",“BecomeCoordinatorOfStandaloneGroup”,"urn:schemas-upnp-org:service:AVTransport:1”,{ InstanceID=“0” }) <0x77d7c000>
50 10/03/20 12:40:06.215 luup_log:361: Sonos: (UPnP) UPnP_request() url=“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control”, body=”<?xml version=\"1.0\" encoding=\"utf-8\"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/\“>
<s:Body>
<u:BecomeCoordinatorOfStandaloneGroup xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">0</u:BecomeCoordinatorOfStandaloneGroup>
</s:Body>
</s:Envelope>” <0x77d7c000>
50 10/03/20 12:40:06.328 luup_log:361: Sonos: (UPnP) UPnP_request() status=1 statusMsg=200 result=“<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\” s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/\“><s:Body><u:BecomeCoordinatorOfStandaloneGroupResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">RINCON_000E58282D0801400:24</u:BecomeCoordinatorOfStandaloneGroupResponse></s:Body></s:Envelope>” <0x77d7c000>
50 10/03/20 12:40:06.329 luup_log:361: Sonos: [debug] playURI() setting URI to “"https://verasonostts.cognitiveservices.azure.com/\“Sonos_chime.mp3” meta “” <0x77d7c000>
50 10/03/20 12:40:06.330 luup_log:361: Sonos: (UPnP) service.__index: accessing non-existing function “SetAVTransportURI” <0x77d7c000>
50 10/03/20 12:40:06.331 luup_log:361: Sonos: (UPnP) service.__index: “SetAVTransportURI”(“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control”, “urn:schemas-upnp-org:service:AVTransport:1”) called with parameter count=1 <0x77d7c000>
50 10/03/20 12:40:06.332 luup_log:361: Sonos: (UPnP) UPnP_request(“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control",“SetAVTransportURI”,"urn:schemas-upnp-org:service:AVTransport:1”,{ OrderedArgs={ 1=“InstanceID=0”, 2=“CurrentURI="https://verasonostts.cognitiveservices.azure.com/\“Sonos_chime.mp3”, 3=“CurrentURIMetaData=” } }) <0x77d7c000>
50 10/03/20 12:40:06.333 luup_log:361: Sonos: (UPnP) UPnP_request() url=“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control”, body=”<?xml version=\"1.0\" encoding=\"utf-8\"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\” s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/\“>
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">0“https://verasonostts.cognitiveservices.azure.com/“Sonos_chime.mp3</u:SetAVTransportURI>
</s:Body>
</s:Envelope>" <0x77d7c000>
01 10/03/20 12:40:06.404 luup_log:361: Sonos: UPnP_request (SetAVTransportURI, urn:schemas-upnp-org:service:AVTransport:1): status=1 statusMsg=500 result=[<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”><s:Body><s:Fault>s:ClientUPnPError714</s:Fault></s:Body></s:Envelope>] <0x77d7c000>
02 10/03/20 12:40:06.425 luup_log:361: stack traceback:
** [string “–[[…”]:265: in function ‘error’**
** [string “–[[…”]:289: in function <[string “–[[…”]:169>**
** (tail call): ?**
** [string “–[[…”]:1720: in function ‘playURI’**
** [string “–[[…”]:3419: in function ‘sayOrAlert’**
** [string “–[[…”]:3460: in function ‘queueAlert’**
** [string “–[[…”]:3769: in function <[string “–[[…”]:3743>**
** (tail call): ? <0x77d7c000>**
50 10/03/20 12:40:06.426 luup_log:361: Sonos: [debug] playURI() starting play on “RINCON_000E58282D0801400” at speed 1 <0x77d7c000>
50 10/03/20 12:40:06.427 luup_log:361: Sonos: (UPnP) service.__index: accessing non-existing function “Play” <0x77d7c000>
50 10/03/20 12:40:06.428 luup_log:361: Sonos: (UPnP) service.__index: “Play”(“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control”, “urn:schemas-upnp-org:service:AVTransport:1”) called with parameter count=1 <0x77d7c000>
50 10/03/20 12:40:06.429 luup_log:361: Sonos: (UPnP) UPnP_request(“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control",“Play”,"urn:schemas-upnp-org:service:AVTransport:1”,{ OrderedArgs={ 1=“InstanceID=0”, 2=“Speed=1” } }) <0x77d7c000>
50 10/03/20 12:40:06.429 luup_log:361: Sonos: (UPnP) UPnP_request() url=“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control”, body=”<?xml version=\"1.0\" encoding=\"utf-8\"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\” s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/\”>
<s:Body>
50 10/03/20 12:40:06.426 luup_log:361: Sonos: [debug] playURI() starting play on “RINCON_000E58282D0801400” at speed 1 <0x77d7c000>
50 10/03/20 12:40:06.427 luup_log:361: Sonos: (UPnP) service.__index: accessing non-existing function “Play” <0x77d7c000>
50 10/03/20 12:40:06.428 luup_log:361: Sonos: (UPnP) service._index: “Play”(“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control”, “urn:schemas-upnp-org:service:AVTransport:1”) called with parameter count=1 <0x77d7c000>
50 10/03/20 12:40:06.429 luup_log:361: Sonos: (UPnP) UPnP_request(“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control",“Play”,"urn:schemas-upnp-org:service:AVTransport:1”,{ OrderedArgs={ 1=“InstanceID=0”, 2=“Speed=1” } }) <0x77d7c000>
50 10/03/20 12:40:06.429 luup_log:361: Sonos: (UPnP) UPnP_request() url=“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control”, body=“<?xml version=\"1.0\" encoding=\"utf-8\"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\” s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/\“>
<s:Body>
<u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">01</u:Play>
</s:Body>
</s:Envelope>” <0x77d7c000>
08 10/03/20 12:40:06.488 JobHandler_LuaUPnP::HandleActionRequest device: 19 service: urn:micasaverde-com:serviceId:Sonos1 action: NotifyAVTransportChange <0x733d0520>
08 10/03/20 12:40:06.489 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=19 <0x733d0520>
08 10/03/20 12:40:06.489 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:Sonos1 <0x733d0520>
08 10/03/20 12:40:06.489 JobHandler_LuaUPnP::HandleActionRequest argument action=NotifyAVTransportChange <0x733d0520>
08 10/03/20 12:40:06.490 JobHandler_LuaUPnP::HandleActionRequest argument LastChange=<CurrentTrackMetaData val=“x-sonos-spotify:spotify%3atrack%3a3JzlizIWmMyj4eIfoiIVfM?sid=12&flags=8224&sn=1<r:streamContent></r:streamContent><r:radioShowMd></r:radioShowMd>upnp:albumArtURI/getaa?s=1&u=x-sonos-spotify%3aspotify%253atrack%253a3JzlizIWmMyj4eIfoiIVfM%3fsid%3d12%26flags%3d8224%26sn%3d1</upnp:albumArtURI>dc:titleBetter - Remastered</dc:title>upnp:classobject.item.audioItem.musicTrack</upnp:class>dc:creatorThe Screaming Jets</dc:creator>upnp:albumDirty Thirty</upnp:album>”/><r:NextTrackURI val=“x-sonos-spotify:spotify%3atrack%3a4ESoCv0wlIsv7cEScCmqWW?sid=12&flags=8224&sn=1”/><r:NextTrackMetaData val=“x-sonos-spotify:spotify%3atrack%3a4ESoCv0wlIsv7cEScCmqWW?sid=12&flags=8224&sn=1upnp:albumArtURI/getaa?s=1&u=x-sonos-spotify%3aspotify%253atrack%253a4ESoCv0wlIsv7cEScCmqWW%3fsid%3d12%26flags%3d8224%26sn%3d1</upnp:albumArtURI>dc:titleC'mon - Remastered</dc:title>upnp:classobject.item.audioItem.musicTrack</upnp:class>dc:creatorThe Screaming Jets</dc:creator>upnp:albumDirty Thirty</upnp:album>”/><r:EnqueuedTransportURI val=“x-rincon-cpcontainer:1004206cspotify%3aalbum%3a6RcqFtDApqtxWThGGlZDOx?sid=12&flags=8300&sn=1”/><r:EnqueuedTransportURIMetaData val="dc:titleDirty Thirty</dc:title>upnp:classobject.container.album.musicAlbum</upnp:class>upnp:albumDirty Thirty</upnp:album>dc:creatorThe Screaming Jets</dc:creator>upnp:albumArtURIhttps://i.scdn.co/image/ab67616d0000b2736c18414e192c2e7ec7961ada</upnp:albumArtURI><r:description>The Screaming Jets</r:description>SA_RINCON3079_X#Svc3079-58c632fa-Token“/><
AVTransportURIMetaData val=”“/><r:CurrentValidPlayModes val=“SHUFFLE,REPEAT,REPEATONE,CROSSFADE”/> <0x733d0520>
08 10/03/20 12:40:06.491 JobHandler_LuaUPnP::HandleActionRequest argument sid=uuid:RINCON_000E58282D0801400_sub0000000114 <0x733d0520>
50 10/03/20 12:40:06.553 luup_log:361: Sonos: (UPnP) UPnP_request() status=1 statusMsg=200 result=”<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/\“><s:Body><u:PlayResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:PlayResponse></s:Body></s:Envelope>” <0x77d7c000>
50 10/03/20 12:40:06.554 luup_log:361: Sonos: [debug] sayOrAlert() delaying for duration 3 <0x77d7c000>
50 10/03/20 12:40:06.565 luup_log:361: Sonos: [debug] updateNow(19) <0x77d7c000>
50 10/03/20 12:40:06.567 luup_log:361: Sonos: [debug] queueAlert(19,{ rand=“0.9507924252840989”, action=“Say”, GroupZones=“CURRENT”, serviceId=“urn:micasaverde-com:serviceId:Sonos1”, Text=“good morning”, Engine=“AZURE”, URIMetadata=“<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/\” xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">
<item id="VERA_TTS" parentID="-1" restricted="1">
dc:titleAzure Speech Service</dc:title>
<res protocolInfo="http-get::audio/mpeg:">"https://verasonostts.cognitiveservices.azure.com/\“Say.19.mp3
upnp:classobject.item.audioItem.musicTrack</upnp:class>
”, URI=“"https://verasonostts.cognitiveservices.azure.com/\“Say.19.mp3”, Duration=3, TempFile=”/www/sonos/Say.19.mp3", DeviceNum=“19” }) <0x77d7c000>
04 10/03/20 12:40:06.568 <0x77d7c000>
50 10/03/20 12:40:06.569 luup_log:361: Sonos: [debug] actionSonosNotifyAVTransportChange(19, lul_settings) zone “RINCON_000E58282D0801400” <0x77d7c000>
50 10/03/20 12:40:06.570 luup_log:361: Sonos: [debug] handleAVTransportChange(“RINCON_000E58282D0801400”, event) <0x77d7c000>
06 10/03/20 12:40:06.571 Device_Variable::m_szValue_set device: 19 service: urn:upnp-org:serviceId:AVTransport variable: TransportState was: PAUSED_PLAYBACK now: STOPPED #hooks: 0 upnp: 0 skip: 0 v:0xd07b58/NONE duplicate:0 <0x77d7c000>
06 10/03/20 12:40:06.573 Device_Variable::m_szValue_set device: 19 service: urn:upnp-org:serviceId:AVTransport variable: CurrentTrack was: 8 now: 1 #hooks: 0 upnp: 0 skip: 0 v:0xd18988/NONE duplicate:0 <0x77d7c000>
06 10/03/20 12:40:06.574 Device_Variable::m_szValue_set device: 19 service: urn:upnp-org:serviceId:AVTransport variable: CurrentTrackURI was: x-sonos-spotify:spotify%3atrack%3a2Pfzum4JXjHWE9oi2F6dQ8?sid=12&flags=8224&sn=1 now: x-sonos-spotify:spotify%3atrack%3a3JzlizIWmMyj4eIfoiIVfM?sid=12&flags=8224&sn=1 #hooks: 0 upnp: 0 skip: 0 v:0xd199a8/NONE duplicate:0 <0x77d7c000>
06 10/03/20 12:40:06.586 Device_Variable::m_szValue_set device: 19 service: urn:upnp-org:serviceId:AVTransport variable: CurrentTrackDuration was: 0:04:26 now: 0:04:36 #hooks: 0 upnp: 0 skip: 0 v:0xd18eb8/NONE duplicate:0 <0x77d7c000>
06 10/03/20 12:40:06.597 Device_Variable::m_szValue_set device: 19 service: urn:upnp-org:serviceId:AVTransport variable: CurrentTrackMetaData was: x-sonos-spotify:spotify%3atrack%3a2Pfzum4JXjHWE9oi2F6dQ8?sid=12&flags=8224&sn=1<r:streamContent></r:streamContent>upnp:albumArtURI/getaa?s=1&u=x-sonos-spotify%3aspotify%253atrack%253a2Pfzum4JXjHWE9oi2F6dQ8%3fsid%3d12%26flags%3d8224%26sn%3d1</upnp:albumArtURI>dc:titleShivers - Remastered</dc:title>upnp:classobject.item.audioItem.musicTrack</upnp:class>dc:creatorThe Screaming Jets</dc:creator>upnp:albumDirty Thirty</upnp:album> now: x-sonos-spotify:spotify%3atrack%3a3JzlizIWmMyj4eIfoiIVfM?sid=12&flags=8224&sn=1<r:streamContent></r:streamContent><r:radioShowMd></r:radioShowMd>upnp:albumArtURI/getaa?s=1&u=x-sonos-spotify%3aspotify%253atrack%253a3JzlizIWmMyj4eIfoiIVfM%3fsid%3d12%26flags%3d8224%26sn%3d1</upnp:albumArtURI>dc:titleBetter - Remastered</dc:title>upnp:classobject.item.audioItem.musicTrack</upnp:class>dc:creatorThe Screaming Jets</dc:creator>upnp:albumDirty Thirty</upnp:album> #hooks: 0 upnp: 0 skip: 0 v:0xd196a8/NONE duplicate:0 <0x77d7c000>
06 10/03/20 12:40:06.611 Device_Variable::m_szValue_set device: 19 service: urn:upnp-org:serviceId:AVTransport variable: CurrentTransportActions was: Set, Stop, Pause, Play, X_DLNA_SeekTime, Next, Previous, X_DLNA_SeekTrackNr now: Set, Stop, Pause, Play, X_DLNA_SeekTime, Next, X_DLNA_SeekTrackNr #hooks: 0 upnp: 0 skip: 0 v:0xd19c68/NONE duplicate:0 <0x77d7c000>
06 10/03/20 12:40:06.630 Device_Variable::m_szValue_set device: 19 service: urn:upnp-org:serviceId:AVTransport variable: CurrentStatus was: Shivers - Remastered: (The Screaming Jets, Dirty Thirty) now: Better - Remastered: (The Screaming Jets, Dirty Thirty) #hooks: 0 upnp: 0 skip: 0 v:0xc69588/NONE duplicate:0 <0x77d7c000>
06 10/03/20 12:40:06.631 Device_Variable::m_szValue_set device: 19 service: urn:upnp-org:serviceId:AVTransport variable: CurrentTitle was: Shivers - Remastered now: Better - Remastered #hooks: 0 upnp: 0 skip: 0 v:0xd171c8/NONE duplicate:0 <0x77d7c000>
06 10/03/20 12:40:06.632 Device_Variable::m_szValue_set device: 19 service: urn:upnp-org:serviceId:AVTransport variable: CurrentAlbumArt was: http://192.168.1.138:1400/getaa?s=1&u=x-sonos-spotify%3Aspotify%253atrack%253a2Pfzum4JXjHWE9oi2F6dQ8%3Fsid%3D12%26flags%3D8224%26sn%3D1 now: http://192.168.1.138:1400/getaa?s=1&u=x-sonos-spotify%3Aspotify%253atrack%253a3JzlizIWmMyj4eIfoiIVfM%3Fsid%3D12%26flags%3D8224%26sn%3D1 #hooks: 0 upnp: 0 skip: 0 v:0xd18398/NONE duplicate:0 <0x77d7c000>
50 10/03/20 12:40:06.633 luup_log:361: Sonos: (UPnP) service.__index: “GetPositionInfo”(“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control”, “urn:schemas-upnp-org:service:AVTransport:1”) called with parameter count=1 <0x77d7c000>
50 10/03/20 12:40:06.634 luup_log:361: Sonos: (UPnP) UPnP_request(“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control",“GetPositionInfo”,"urn:schemas-upnp-org:service:AVTransport:1”,{ InstanceID=“0” }) <0x77d7c000>
50 10/03/20 12:40:06.647 luup_log:361: Sonos: (UPnP) UPnP_request() url=“http://192.168.1.138:1400/MediaRenderer/AVTransport/Control”, body=“<?xml version=\"1.0\" encoding=\"utf-8\"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\” s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/\">
<s:Body>\