(Release) Samsung Multiroom Speaker Integration (Unofficial)

The Service Manager and Device Handler were designed using the R1s as test-beds and work fine. When installed in SmartThings, the Multiroom App works great (no issues). So, I do not know the problem. Some questions:

  1. What version of the SmartThings App are you using (new or Classic)? Not all custom device handlers have been transitioned to the new SmartThing app yet (this is why I am stuck on the Classic App).

Dave

I’m using the classic version of the ST app. The problem is not the Multiroom App, it’s when I’m inside the ST app. I get no control when the custom DH is assigned to the R1. The smartapp is installed and the R1 is assigned. But when trying to control the R1 within the ST app with the custom DH i get no response. I’m so confused?

Will check when I get home. Was working last week

PS. You must install the service manager with the device handler. Will not work otherwise.

Thanks Dave.

Both the DH and Service Manager (SmartApp) are installed. Is there a certain order that needs to be followed? The R1 was already discovered in the Classic ST app. I than created and published the DH and the Service Manager. Next I assigned the DH to the R1 and performed the speaker discovery in the Smart App.

Note: I did receive “deviceNetworkid must be unique” errors when attempting to add the R1. It did finally take and show the green banner.

Upon completing that step I attempt to control the R1 through the ST app and get no response from the speaker. If I switch the DH back to LAN Samsung Audio it works fine.

Also - I just realized that I never did anything with " TTS Speaker Companion" file. Do I need to install that somewhere for this to work? Perhaps that is part of the issue?

Really appreciate the assist on this Dave!

-Mark

Need to uninstall the standard driver then rerun the smart app

Are you referring the default DH - “LAN SamsungAudio”? I’m not sure how to uninstall a DH that comes with the device.

Dave - disregard, I finally figured out what I was doing wrong. One last question, where do I install the TTS Speaker Companion file? Is it required?

Glad you are up and running. The R1 implementation can run with:

Any of the TTS Apps on SmartThings
Using WebCore
Using the Smart App I created.

These are all installed through the phone app and under Automation SmartApps

  1. Copy the desired non-standard SmartApp in the IDE MySmartApps Tab.
  2. On the phone app, in Automation - SmartApps select Add a SmartApp
  3. Select “My Apps” at the bottom. This will display the apps in your MySmartApps Tab on the IDE
  4. Select your app.

Dave - Everything appears to be working, but for whatever reason I can’t seem to get the SpeakTextandResume expression working in WebCore. When triggered it interrupts the music and speaks the expression, but will not resume the track it was playing before the event. Any ideas?

clip

Question is what are you playing at the time? Testing has been completed while playing the speakers internal TuneIn, iHeartRadio, Pandora, 8tracks, and Amazon playlists. Others not tested. Some notes:

  1. May not recover bluetooth or TVSoundConnect interfaces.
  2. Some services require special handling to resume.
  3. The software uses a Speaker Internal playText call that actually causes the resume. I tested and tried to fill in the holes where it did not work properly (mostly it worked fine).

Sorry, I didn’t realize it mattered. I’ve been attempting to use the command while playing Amazon Music Unlimited.

It is one of those special cases that I have to test. Did it work with the SmartThings official Device Handler?

I could make it work (probably) if I had an Amazon Unlimited account. It is how I got Amazon Music playlists to work. Next update, I will consider adding Amazon Unlimited (getting temp subscription, coding, then canceling temp).

Thanks Dave, appreciate all your hard work (and patience with me!). I don’t believe it ever worked with the original DH, but than again, I don’t think the original worked with Pandora or Tune-In either so I chalked it up as just not working at all. Keep up the GREAT work!

Can anyone point me in the right direction to control these using ST / GA ? Maybe someone is doing the below with a DTH?

  • Current State
    • 4 EA– M5 speakers grouped together
    • Connected to WAM250 Hub for use with Multiroom App
    • Smartthings sees the speakers
    • Smartthings allows me to pause and unpause the grouped speakers
  • Desired State
    • OK Google
      • Turn On Speakers
      • Turn Off Speakers
      • Play Spotify
      • Play Spotify Playlist
      • Play Spotify specific Radio Station
      • Skip to next song
      • Play Local FM station
      • Turn up Speakers
      • Turn Down Speakers
1 Like

Hi Dave - where is the preferences pages?

In smartThings classic, you get to the preferences page by selecting the device and then the gear icon at the top right of the page.

In the new SmartThings, there are no preferences - but also no tiles other than on/off. They sort of throw out anything they do not want.

Dave

HI Dave,

I’ve setup your SmartApp but I’m having issues with the presets and announcements. The presets don’t work and i’m unable to get the announcements to work consistently while music is playing.

I tested the preset function. It is working, BUT, the phone app api is not updating (which is a SmartThings issue). Looking at the events, the add event is being created. You can update the details display (with the add buttons), by going back to the My Home page and then selecting the device again (slowly).

To trouble shoot your problem, I need the following:
a. Device model you are using.
b. Live Logging for the device while the error is occuring.
c. After the error, the device events list (go to My Devices, select the device. At bottom is a selection for List Events.

Dave

dave

Hi Dave,

Thanks for getting back to me. I’ve tried to include all the info you’ve asked for. Please let me know if you need anything else.

a.) Model = WAM1500/ZC

b.) Live Logging

56e42783-dbbc-47a5-8fa8-1e0f8ce1ad6a 12:49:13 AM: info getPlayTime: schedSetTrackDescription turned off

56e42783-dbbc-47a5-8fa8-1e0f8ce1ad6a 12:49:13 AM: info generalResponse_RadioInfo: Track Description is Mad Dog Sports Radio.

56e42783-dbbc-47a5-8fa8-1e0f8ce1ad6a 12:49:13 AM: info getPlayTime: schedSetTrackDescription turned off

56e42783-dbbc-47a5-8fa8-1e0f8ce1ad6a 12:49:13 AM: info generalResponse_RadioInfo: Track Description is Mad Dog Sports Radio.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:46 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:46 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:30 AM: info playContent A Changed Man Live @ SiriusXM on SiriusXM.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:26 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:26 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:21 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:19 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:19 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:13 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:13 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:09 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:09 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:09 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:47:09 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:46:40 AM: info playContent TomShillueShow.com on SiriusXM.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:46:29 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:46:29 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:46:15 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:46:15 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:46:00 AM: info playContent TomShillueShow.com on SiriusXM.

7a4b4ce4-766d-4fc5-8983-4bfc639a5e0f 12:45:10 AM: info getPlayTime: schedSetTrackDescription turned off

7a4b4ce4-766d-4fc5-8983-4bfc639a5e0f 12:45:10 AM: info generalResponse_RadioInfo: Track Description is Dark Matter Digital Network.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:44:53 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:44:53 AM: info generalResponse_RadioInfo: Track Description is TomShillueShow.com.

cfe7d94c-2474-46e7-8cbd-b21132797499 12:44:34 AM: info setTrackDescription: Updated trackDesciption to optical

56e42783-dbbc-47a5-8fa8-1e0f8ce1ad6a 12:44:10 AM: info getPlayTime: schedSetTrackDescription turned off

56e42783-dbbc-47a5-8fa8-1e0f8ce1ad6a 12:44:10 AM: info generalResponse_RadioInfo: Track Description is Mad Dog Sports Radio.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:59 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:59 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:54 AM: warn searchRadioList Added info: You are not authorised, please sign in.51Pandora

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:54 AM: warn searchRadioList: Invalid Preset Title: null

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:43 AM: info playContent Mad Dog Sports Radio on SiriusXM.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:39 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:39 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:23 AM: info playContent on SiriusXM.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:18 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:18 AM: info generalResponse_RadioInfo: Track Description is Unknown Player.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:42:08 AM: warn parse: parseLanMesage failed. index:15, mac:D8E0E19A04AC, ip:0A010152, port:D6D9

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:41:52 AM: info playContent Mad Dog Sports Radio on SiriusXM.

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:41:43 AM: info getPlayTime: schedSetTrackDescription turned off

da875b4f-ea34-42ce-b33e-7caf1d0d515e 12:41:43 AM: info generalResponse_RadioInfo: Track Description is Trending NOW!.

12:41:39 AM: info Waiting on events…

12:41:39 AM: info For past logs for individual things go to the My Devices section, find the device and click on the Events link on the device information page.

12:41:39 AM: info This console provides live logging of your SmartThings.

c.)List Events
Date Source Type Name Value User Displayed Text Changed

|2019-03-03 12:46:40.830 AM EST
6 minutes ago
|COMMAND|||preset_1||preset_1 command was sent to Family Room Left|true|
|2019-03-03 12:46:15.794 AM EST
7 minutes ago
|DEVICE||trackDescription|Unknown Player||Family Room Left track description is Unknown Player|true|
|2019-03-03 12:46:00.535 AM EST
7 minutes ago
|COMMAND|||preset_1||preset_1 command was sent to Family Room Left|true|
|2019-03-03 12:45:56.127 AM EST
7 minutes ago
|DEVICE||preset_2|A Changed Man Live @ SiriusXM||Family Room Left preset2 is A Changed Man Live @ SiriusXM|true|
|2019-03-03 12:45:55.837 AM EST
7 minutes ago
|COMMAND|||preset_2||preset_2 command was sent to Family Room Left|true|
|2019-03-03 12:45:55.804 AM EST
7 minutes ago
|DEVICE||preset_2|updating||Family Room Left preset2 is updating|true|
|2019-03-03 12:45:52.605 AM EST
7 minutes ago
|COMMAND|||preset_2||preset_2 command was sent to Family Room Left|true|
|2019-03-03 12:45:52.584 AM EST
7 minutes ago
|DEVICE||preset_2|add||Family Room Left preset2 is add|true|
|2019-03-03 12:44:53.419 AM EST
8 minutes ago
|DEVICE||trackDescription|TomShillueShow.com||Family Room Left track description is TomShillueShow.com|true|
|2019-03-03 12:44:43.509 AM EST
8 minutes ago
|DEVICE||preset_1|TomShillueShow.com||Family Room Left preset1 is TomShillueShow.com|true|
|2019-03-03 12:44:43.282 AM EST
8 minutes ago
|COMMAND|||preset_1||preset_1 command was sent to Family Room Left|true|
|2019-03-03 12:44:43.258 AM EST
8 minutes ago
|DEVICE||preset_1|updating||Family Room Left preset1 is updating|true|
|2019-03-03 12:44:35.331 AM EST
8 minutes ago
|COMMAND|||preset_1||preset_1 command was sent to Family Room Left|true|
|2019-03-03 12:44:35.307 AM EST
8 minutes ago
|DEVICE||preset_1|add||Family Room Left preset1 is add|true|
|2019-03-03 12:44:32.780 AM EST
8 minutes ago
|COMMAND|||finishDeletePreset||finishDeletePreset command was sent to Family Room Left|true|
|2019-03-03 12:44:32.731 AM EST
8 minutes ago
|DEVICE||preset_1|vacant||Family Room Left preset1 is vacant|true|
|2019-03-03 12:44:32.716 AM EST
8 minutes ago
|DEVICE||deletePresetState|inactive||Family Room Left delete preset state is inactive|true|
|2019-03-03 12:44:29.425 AM EST
8 minutes ago
|COMMAND|||preset_1||preset_1 command was sent to Family Room Left|true|
|2019-03-03 12:44:29.394 AM EST
8 minutes ago
|DEVICE||deletePresetState|PRESS TO DELETE preset_1||Family Room Left delete preset state is PRESS TO DELETE preset_1|true|
|2019-03-03 12:44:27.998 AM EST
8 minutes ago
|COMMAND|||deletePreset||deletePreset command was sent to Family Room Left|true|
|2019-03-03 12:44:27.974 AM EST
8 minutes ago
|DEVICE||deletePresetState|armed||Family Room Left delete preset state is armed|true|
|2019-03-03 12:44:26.250 AM EST
8 minutes ago
|COMMAND|||finishDeletePreset||finishDeletePreset command was sent to Family Room Left|true|
|2019-03-03 12:44:26.236 AM EST
8 minutes ago
|DEVICE||preset_2|vacant||Family Room Left preset2 is vacant|true|
|2019-03-03 12:44:26.219 AM EST
8 minutes ago
|DEVICE||deletePresetState|inactive||Family Room Left delete preset state is inactive|true|
|2019-03-03 12:44:25.105 AM EST
9 minutes ago
|COMMAND|||preset_2||preset_2 command was sent to Family Room Left|true|
|2019-03-03 12:44:25.074 AM EST
9 minutes ago
|DEVICE||deletePresetState|PRESS TO DELETE preset_2||Family Room Left delete preset state is PRESS TO DELETE preset_2|true|
|2019-03-03 12:44:22.826 AM EST
9 minutes ago
|COMMAND|||deletePreset||deletePreset command was sent to Family Room Left|true|
|2019-03-03 12:44:22.801 AM EST
9 minutes ago
|DEVICE||deletePresetState|armed||Family Room Left delete preset state is armed|true|
|2019-03-03 12:44:20.853 AM EST
9 minutes ago
|COMMAND|||finishDeletePreset||finishDeletePreset command was sent to Family Room Left|true|
|2019-03-03 12:44:20.841 AM EST
9 minutes ago
|DEVICE||preset_3|vacant||Family Room Left preset3 is vacant|true|
|2019-03-03 12:44:20.827 AM EST
9 minutes ago
|DEVICE||deletePresetState|inactive||Family Room Left delete preset state is inactive|true|
|2019-03-03 12:44:19.009 AM EST
9 minutes ago
|COMMAND|||preset_3||preset_3 command was sent to Family Room Left|true|
|2019-03-03 12:44:18.980 AM EST
9 minutes ago
|DEVICE||deletePresetState|PRESS TO DELETE preset_3||Family Room Left delete preset state is PRESS TO DELETE preset_3|true|
|2019-03-03 12:44:16.352 AM EST
9 minutes ago
|COMMAND|||deletePreset||deletePreset command was sent to Family Room Left|true|
|2019-03-03 12:44:16.326 AM EST
9 minutes ago
|DEVICE||deletePresetState|armed||Family Room Left delete preset state is armed|true|
|2019-03-03 12:43:25.343 AM EST
10 minutes ago
|DEVICE||errorMessage|inactive||Family Room Left error message is inactive|true|
|2019-03-03 12:42:54.739 AM EST
10 minutes ago
|DEVICE||errorMessage|searchRadioList: Invalid Pres…||Family Room Left error message is searchRadioList: Invalid Preset Title: null|true|
|2019-03-03 12:42:53.411 AM EST
10 minutes ago
|COMMAND|||preset_2||preset_2 command was sent to Family Room Left|true|
|2019-03-03 12:42:43.024 AM EST
10 minutes ago
|COMMAND|||preset_1||preset_1 command was sent to Family Room Left|true|
|2019-03-03 12:42:23.599 AM EST
11 minutes ago
|COMMAND|||preset_3||preset_3 command was sent to Family Room Left|true|
|2019-03-03 12:42:18.271 AM EST
11 minutes ago
|DEVICE||trackDescription|Unknown Player||Family Room Left track description is Unknown Player|true|
|2019-03-03 12:42:15.119 AM EST
11 minutes ago
|COMMAND|||refresh||refresh command was sent to Family Room Left|true|
|2019-03-03 12:42:14.909 AM EST
11 minutes ago
|COMMAND|||refresh||refresh command was sent to Family Room Left|true|
|2019-03-03 12:42:14.876 AM EST
11 minutes ago
|COMMAND|||refresh||refresh command was sent to Family Room Left|true|
|2019-03-03 12:42:14.245 AM EST
11 minutes ago
|COMMAND|||refresh||refresh command was sent to Family Room Left|true|
|2019-03-03 12:42:14.201 AM EST
11 minutes ago
|DEVICE||switch|off||Family Room Left switch is off|true|
|2019-03-03 12:42:12.835 AM EST
11 minutes ago
|DEVICE||status|stopped||Family Room Left status is stopped|true|
|2019-03-03 12:42:12.679 AM EST
11 minutes ago
|COMMAND|||refresh||refresh command was sent to Family Room Left|true|
|2019-03-03 12:41:52.133 AM EST
11 minutes ago
|COMMAND|||preset_1||preset_1 command was sent to Family Room Left|true|
|2019-03-03 12:41:43.676 AM EST
11 minutes ago
|DEVICE||trackDescription|Trending NOW!||Family Room Left track description is Trending NOW!|true|
|2019-03-03 12:41:17.374 AM EST
12 minutes ago
|DEVICE||preset_3|||Family Room Left preset3 is|true|
|2019-03-03 12:41:14.622 AM EST
12 minutes ago
|COMMAND|||preset_3||preset_3 command was sent to Family Room Left|true|
|2019-03-03 12:41:14.605 AM EST
12 minutes ago
|DEVICE||preset_3|updating||Family Room Left preset3 is updating|true|
|2019-03-03 12:41:12.699 AM EST
12 minutes ago
|COMMAND|||preset_3||preset_3 command was sent to Family Room Left|true|
|2019-03-03 12:41:12.672 AM EST
12 minutes ago
|DEVICE||preset_3|add||Family Room Left preset3 is add|true|
|2019-03-03 12:41:06.140 AM EST
12 minutes ago
|COMMAND|||refresh||refresh command was sent to Family Room Left|true|
|2019-03-03 12:41:02.412 AM EST
12 minutes ago
|COMMAND|||refresh||refresh command was sent to Family Room Left|true|
|2019-03-03 12:41:02.349 AM EST
12 minutes ago
|DEVICE||switch|on||Family Room Left switch is on|true|
|2019-03-03 12:40:34.531 AM EST
12 minutes ago
|DEVICE||trackDescription|||Family Room Left track description is|true|
|2019-03-03 12:40:22.687 AM EST
13 minutes ago
|DEVICE||trackDescription|Trending NOW!||Family Room Left track description is Trending NOW!|true|
|2019-03-03 12:40:22.669 AM EST
13 minutes ago
|DEVICE||status|playing||Family Room Left status is playing|true|
|2019-03-03 12:40:22.362 AM EST
13 minutes ago
|COMMAND|||refresh||refresh command was sent to Family Room Left|true|
|2019-03-03 12:40:20.346 AM EST
13 minutes ago
|DEVICE||errorMessage|inactive||Family Room Left error message is inactive|true|
|2019-03-03 12:40:15.510 AM EST
13 minutes ago
|DEVICE||masterVolume|20||Family Room Left master volume is 20|true|
|2019-03-03 12:40:15.491 AM EST
13 minutes ago
|DEVICE||level|20||Family Room Left level is 20|true|
|2019-03-03 12:40:14.816 AM EST
13 minutes ago
|DEVICE||mute|unmuted||Family Room Left mute is unmuted|true|
|2019-03-03 12:40:14.205 AM EST
13 minutes ago
|COMMAND|||refresh||refresh command was sent to Family Room Left|true|
|2019-03-03 12:39:50.866 AM EST
13 minutes ago
|COMMAND|||preset_2||preset_2 command was sent to Family Room Left|true|
|2019-03-03 12:39:50.829 AM EST
13 minutes ago
|DEVICE||errorMessage|addPreset: Preset for DLNA mo…||Family Room Left error message is addPreset: Preset for DLNA mode not currently supported.|true|
|2019-03-03 12:39:50.805 AM EST
13 minutes ago
|DEVICE||preset_2|updating||Family Room Left preset2 is updating|true|
|2019-03-03 12:39:47.489 AM EST
13 minutes ago
|COMMAND|||preset_2||preset_2 command was sent to Family Room Left|true|
|2019-03-03 12:39:47.461 AM EST
13 minutes ago
|DEVICE||preset_2|add||Family Room Left preset2 is add|true|

If there is a better way to post the log and events let me know. It’s my first time posting this type info.