Okay, here we go. So it is working half way. As was stated previously, it works every other time. I think when I tested earlier the volume on my specific speaker was to low to hear.
That brings up another issues in that when requesting notification, we have no control of the volume as we did before. Previously, in another life, you could temporarily set the volume for the announcement and then it would reset to the previous level. So this is another side issue.
Anyway, here is the logs of both working and not working.
Let me know how I can help.
Working /
2024-02-10T14:23:47.952088113+00:00 TRACE SamsungAudio Received event with handler capability
2024-02-10T14:23:47.957462738+00:00 INFO SamsungAudio <Device: e684cd70-9061-4c35-a1d6-3589e88a8fae (Samsung Wireless Upstairs)> received command: {“args”:{“uri”:“https://audionotification-useast1.smartthings.com/83d52b95-8f75-4d60-bc16-02da138af337.f411c694-a452-402b-9462-114cc11dbe3f.mp3"},“capability”:“audioNotification”,“command”:“playTrackAndResume”,“component”:“main”,“positional_args”:["https://audionotification-useast1.smartthings.com/83d52b95-8f75-4d60-bc16-02da138af337.f411c694-a452-402b-9462-114cc11dbe3f.mp3”]}
2024-02-10T14:23:47.971749613+00:00 TRACE SamsungAudio Found CapabilityCommandDispatcher handler in samsung-audio
2024-02-10T14:23:48.067505738+00:00 TRACE SamsungAudio Triggering UPnP Command Request for [Audio Notification → SetUrlPlayback]
2024-02-10T14:23:48.077004280+00:00 TRACE SamsungAudio Final Notification Command URL for making Audio Notification http request = http://xx.xx.xx.xx:55001/UIC?cmd=<pwron>on</pwron><name>SetUrlPlayback</name><p%20type=“cdata”%20name=“url”%20val=“empty”><![CDATA[https://audionotification-useast1.smartthings.com/83d52b95-8f75-4d60-bc16-02da138af337.f411c694-a452-402b-9462-114cc11dbe3f.mp3]]%3E%3C/p%3E%3Cp%20type=%22dec%22%20name=%22buffersize%22%20val=%220%22/%3E%3Cp%20type=%22dec%22%20name=%22seektime%22%20val=%220%22/%3E%3Cp%20type=%22dec%22%20name=%22resume%22%20val=%221%22/%3E
2024-02-10T14:23:48.185738821+00:00 DEBUG SamsungAudio Response Map table with https: {handler_res={__index={__index=RecursiveTable: __index, _stack={{}, n=1}, cdata=function: 0x1ed5778, endtag=function: 0x1eb5e40, new=function: 0x1ec1500, options={noreduce={}}, reduce=function: 0x1ed5578, root={}, starttag=function: 0x1ed54a0, text=function: 0x1ed5778}, _stack={{UIC={method=“PausePlaybackEvent”, response={_attr={result=“ok”}, playtime=“0”}, speakerip=“xx.xx.xx.xx”, user_identifier=“public”, version=“1.0”}}, n=1}, options={noreduce={}}, parseAttributes=true, root={UIC=RecursiveTable: UIC}}}
2024-02-10T14:23:48.189475030+00:00 DEBUG SamsungAudio resp method and error code : {method=“PausePlaybackEvent”}
2024-02-10T14:23:48.193489571+00:00 INFO SamsungAudio Recieved error code nil
2024-02-10T14:23:48.198363030+00:00 INFO SamsungAudio Falling back to http for AudioNotification Command http://xx.xx.xx.xx:55001/UIC?cmd=<pwron>on</pwron><name>SetUrlPlayback</name><p%20type=“cdata”%20name=“url”%20val=“empty”><![CDATA[http://audionotification-useast1.smartthings.com/83d52b95-8f75-4d60-bc16-02da138af337.f411c694-a452-402b-9462-114cc11dbe3f.mp3]]%3E%3C/p%3E%3Cp%20type=%22dec%22%20name=%22buffersize%22%20val=%220%22/%3E%3Cp%20type=%22dec%22%20name=%22seektime%22%20val=%220%22/%3E%3Cp%20type=%22dec%22%20name=%22resume%22%20val=%221%22/%3E
2024-02-10T14:23:48.805395571+00:00 DEBUG SamsungAudio Response Map table with http: {handler_res={__index={__index=RecursiveTable: __index, _stack={{}, n=1}, cdata=function: 0x1ed5778, endtag=function: 0x1eb5e40, new=function: 0x1ec1500, options={noreduce={}}, reduce=function: 0x1ed5578, root={}, starttag=function: 0x1ed54a0, text=function: 0x1ed5778}, _stack={{UIC={method=“ErrorEvent”, response={_attr={result=“ng”}, errCode=“URL_OPEN_FAIL”}, speakerip=“xx.xx.xx.xx”, user_identifier=“public”, version=“1.0”}}, n=1}, options={noreduce={}}, parseAttributes=true, root={UIC=RecursiveTable: UIC}}}
2024-02-10T14:23:48.808071571+00:00 DEBUG SamsungAudio Samsung Wireless Upstairs device thread event handled
2024-02-10T14:23:49.547948029+00:00 INFO SamsungAudio Refresh → collecting updated data to send to server…
2024-02-10T14:23:49.551530529+00:00 TRACE SamsungAudio Triggering UPnP Command Request for [getPlayStatus]
2024-02-10T14:23:49.609183779+00:00 INFO SamsungAudio <Device: 2f4fb87a-0018-43f6-a34d-04ec9fe58282 (Samsung Wireless Audio Patio)> emitting event: {“attribute_id”:“switch”,“capability_id”:“switch”,“component_id”:“main”,“state”:{“value”:“on”}}
2024-02-10T14:23:49.616507779+00:00 INFO SamsungAudio <Device: 2f4fb87a-0018-43f6-a34d-04ec9fe58282 (Samsung Wireless Audio Patio)> emitting event: {“attribute_id”:“playbackStatus”,“capability_id”:“mediaPlayback”,“component_id”:“main”,“state”:{“value”:“stopped”}}
2024-02-10T14:23:49.621978279+00:00 TRACE SamsungAudio Triggering UPnP Command Request for [GetVolume]
2024-02-10T14:23:49.726213404+00:00 INFO SamsungAudio <Device: 2f4fb87a-0018-43f6-a34d-04ec9fe58282 (Samsung Wireless Audio Patio)> emitting event: {“attribute_id”:“volume”,“capability_id”:“audioVolume”,“component_id”:“main”,“state”:{“value”:0}}
2024-02-10T14:23:49.730631529+00:00 TRACE SamsungAudio Triggering UPnP Command Request for [getMute]
2024-02-10T14:23:49.843464654+00:00 INFO SamsungAudio <Device: 2f4fb87a-0018-43f6-a34d-04ec9fe58282 (Samsung Wireless Audio Patio)> emitting event: {“attribute_id”:“mute”,“capability_id”:“audioMute”,“component_id”:“main”,“state”:{“value”:“muted”}}
2024-02-10T14:23:49.848713363+00:00 DEBUG SamsungAudio Samsung Wireless Audio device thread event handled
Not Working /
2024-02-10T14:25:42.008430660+00:00 TRACE SamsungAudio Received event with handler capability
2024-02-10T14:25:42.054492827+00:00 INFO SamsungAudio <Device: e684cd70-9061-4c35-a1d6-3589e88a8fae (Samsung Wireless Upstairs)> received command: {“args”:{“uri”:“https://audionotification-useast1.smartthings.com/83d52b95-8f75-4d60-bc16-02da138af337.f411c694-a452-402b-9462-114cc11dbe3f.mp3"},“capability”:“audioNotification”,“command”:“playTrackAndResume”,“component”:“main”,“positional_args”:["https://audionotification-useast1.smartthings.com/83d52b95-8f75-4d60-bc16-02da138af337.f411c694-a452-402b-9462-114cc11dbe3f.mp3”]}
2024-02-10T14:25:42.057482493+00:00 TRACE SamsungAudio Found CapabilityCommandDispatcher handler in samsung-audio
2024-02-10T14:25:42.062410160+00:00 TRACE SamsungAudio Triggering UPnP Command Request for [Audio Notification → SetUrlPlayback]
2024-02-10T14:25:42.072142452+00:00 TRACE SamsungAudio Final Notification Command URL for making Audio Notification http request = http://xx.xx.xx.xx:55001/UIC?cmd=<pwron>on</pwron><name>SetUrlPlayback</name><p%20type=“cdata”%20name=“url”%20val=“empty”><![CDATA[https://audionotification-useast1.smartthings.com/83d52b95-8f75-4d60-bc16-02da138af337.f411c694-a452-402b-9462-114cc11dbe3f.mp3]]%3E%3C/p%3E%3Cp%20type=%22dec%22%20name=%22buffersize%22%20val=%220%22/%3E%3Cp%20type=%22dec%22%20name=%22seektime%22%20val=%220%22/%3E%3Cp%20type=%22dec%22%20name=%22resume%22%20val=%221%22/%3E
2024-02-10T14:25:42.192212618+00:00 DEBUG SamsungAudio Response Map table with https: {handler_res={__index={__index=RecursiveTable: __index, _stack={{}, n=1}, cdata=function: 0x1ed5778, endtag=function: 0x1eb5e40, new=function: 0x1ec1500, options={noreduce={}}, reduce=function: 0x1ed5578, root={}, starttag=function: 0x1ed54a0, text=function: 0x1ed5778}, _stack={{UIC={method=“PausePlaybackEvent”, response={_attr={result=“ok”}, playtime=“0”}, speakerip=“xx.xx.xx.xx”, user_identifier=“public”, version=“1.0”}}, n=1}, options={noreduce={}}, parseAttributes=true, root={UIC=RecursiveTable: UIC}}}
2024-02-10T14:25:42.194838702+00:00 DEBUG SamsungAudio resp method and error code : {method=“PausePlaybackEvent”}
2024-02-10T14:25:42.199207077+00:00 INFO SamsungAudio Recieved error code nil
2024-02-10T14:25:42.202991660+00:00 INFO SamsungAudio Falling back to http for AudioNotification Command http://xx.xx.xx.xx:55001/UIC?cmd=<pwron>on</pwron><name>SetUrlPlayback</name><p%20type=“cdata”%20name=“url”%20val=“empty”><![CDATA[http://audionotification-useast1.smartthings.com/83d52b95-8f75-4d60-bc16-02da138af337.f411c694-a452-402b-9462-114cc11dbe3f.mp3]]%3E%3C/p%3E%3Cp%20type=%22dec%22%20name=%22buffersize%22%20val=%220%22/%3E%3Cp%20type=%22dec%22%20name=%22seektime%22%20val=%220%22/%3E%3Cp%20type=%22dec%22%20name=%22resume%22%20val=%221%22/%3E
2024-02-10T14:25:42.916000160+00:00 DEBUG SamsungAudio Response Map table with http: {handler_res={__index={__index=RecursiveTable: __index, _stack={{}, n=1}, cdata=function: 0x1ed5778, endtag=function: 0x1eb5e40, new=function: 0x1ec1500, options={noreduce={}}, reduce=function: 0x1ed5578, root={}, starttag=function: 0x1ed54a0, text=function: 0x1ed5778}, _stack={{UIC={method=“UrlPlayback”, response={_attr={result=“ok”}, buffersize=“0”, seektime=“0”, url=“http://audionotification-useast1.smartthings.com/83d52b95-8f75-4d60-bc16-02da138af337.f411c694-a452-402b-9462-114cc11dbe3f.mp3”}, speakerip=“xx.xx.xx.xx”, user_identifier={}, version=“1.0”}}, n=1}, options={noreduce={}}, parseAttributes=true, root={UIC=RecursiveTable: UIC}}}
2024-02-10T14:25:42.918694202+00:00 DEBUG SamsungAudio Samsung Wireless Upstairs device thread event handled
2024-02-10T14:25:49.548951703+00:00 INFO SamsungAudio Refresh → collecting updated data to send to server…
2024-02-10T14:25:49.552699244+00:00 TRACE SamsungAudio Triggering UPnP Command Request for [getPlayStatus]
2024-02-10T14:25:49.663145078+00:00 INFO SamsungAudio <Device: 2f4fb87a-0018-43f6-a34d-04ec9fe58282 (Samsung Wireless Audio Patio)> emitting event: {“attribute_id”:“switch”,“capability_id”:“switch”,“component_id”:“main”,“state”:{“value”:“on”}}
2024-02-10T14:25:49.671230453+00:00 INFO SamsungAudio <Device: 2f4fb87a-0018-43f6-a34d-04ec9fe58282 (Samsung Wireless Audio Patio)> emitting event: {“attribute_id”:“playbackStatus”,“capability_id”:“mediaPlayback”,“component_id”:“main”,“state”:{“value”:“stopped”}}
2024-02-10T14:25:49.680074328+00:00 TRACE SamsungAudio Triggering UPnP Command Request for [GetVolume]
2024-02-10T14:25:49.790182994+00:00 INFO SamsungAudio <Device: 2f4fb87a-0018-43f6-a34d-04ec9fe58282 (Samsung Wireless Audio Patio)> emitting event: {“attribute_id”:“volume”,“capability_id”:“audioVolume”,“component_id”:“main”,“state”:{“value”:0}}
2024-02-10T14:25:49.794741536+00:00 TRACE SamsungAudio Triggering UPnP Command Request for [getMute]
2024-02-10T14:25:49.907032869+00:00 INFO SamsungAudio <Device: 2f4fb87a-0018-43f6-a34d-04ec9fe58282 (Samsung Wireless Audio Patio)> emitting event: {“attribute_id”:“mute”,“capability_id”:“audioMute”,“component_id”:“main”,“state”:{“value”:“muted”}}
2024-02-10T14:25:49.909754786+00:00 DEBUG SamsungAudio Samsung Wireless Audio device thread event handled