SIRIUS: Presets do not support Sirius XM (sadly). Reason is that I had to reverse engineer the interface and was successful for those that I could get for free (Sirius costs). The return data from each content player was significantly different and I had to parse them out to separately create the presets. I also had to determine the logic in tuning to the “station” after creating the preset. Supported are Amazon Prime, TuneIn, iHeartRadio, Pandora, 8-tracks. I was hoping this extended to SIRIUS. This next week I will see what I can do on Sirius without giving my credit card.
DLNA: Almost impossible to parse out. I never figured the algorithm out to get the required data to cause the preset to play consistently. Therefore, DLNA mode presets are not supported at all (and I do not see this in the near future). Again, really hard to reverse engineer the interface. I will clarify this in the instructions.
Also are you using the speakers for notification? I see that they are setup for cloud execution and there is at least a 5 second delay sometimes longer when the ADT Hub sensors are triggered.
This is crazy as they should be setup for local execution. I know its not your fault but SmartThings have to do a better job supporting their devices.
I can send the mp3 file directly from my computer and it plays instantly on the speaker. But when I setup the same mp3 file to be played after a sensor is triggeres there is a long delay.
I wish there was a way just to be able to send a command localy to the speaker without the cloud for notification.
If there is anyway I can help let me know. I might be able to get a free trial of the services.
Cloud Execution: This is controlled by SmartThings and they determine what is cloud executed. The delay should not be five seconds, at any rate, in normal circumstances. Sounds like the combination of ADT and SmartThings is delaying excessively.
DLNA Error: It is in the State reports. The speaker has multiple sub-modes while on wi-fi. I can handle presets for the CP (content player) mode only. It is encountering some other mode while you are trying to set a preset. Therefore the error.
I will look at the code again today and see if I am encountering unexpected errors.
Are you currently using the Samsung Multiroom App? If not, download it to your smart phone and see if it sees your speakers. (Indications are that it should work, but if not, then we will have to figure another solution to make your speaker work as a TTS device.
ONWARD:
I am using a upnp Search Target that your soundbar may not support.
Is the Service Manager installed in Smart Things? if so,
go to the IDE, open “My Locations” and select your location.
Toward the bottom is a row “Installed SmartApps”. Select “List SmartApps”.
At bottom is a section “Other”. ?Select the Samsug WiFi Audio…"
Field Application State, Speakers. Copy and paste in this thread.
If the Service Manager is not installed,
run the service manager, do not close nor save (leave open on phone.
The speakers data indicate that your device is discovered. When verifying it as a Multiroom Speaker, it does not respond (or other data would be included). An example for two of my devices (one Multiroom and one not Multiroom, is at the bottom. I took out the MAC and DNI (which is the MAC less the colons)/
Question:
Have you tried the Samsung Multiroom App versus your speaker? Successfully?
No need to do the steps. Your speaker is very likely not supported (it is not a Multiroom speaker).
I have a test design of a TTS to Samsung Speaker UPNP driver that will do TTS only, no speaker control, etc. If you want, it will take a couple of days to port to SmartThings. One problem. It will set the soundbar to WiFi but the soundbar may (or may not) revert to the original input source.
surely i can use smartthings to change input back as i can control that in smartthings using the default integration so that’s a pretty good solution for tts
Hi Dave, Any luck with checking the code? I still get the DLNA error. It works with TuneIn but that is about it. Also did you have a chance to take a look at SiriusXM integration?
For some reason I missed your original message. Some notes:
What is your speaker type? Log items appreciated.
services: There are 20 + services, each with their own integration method and not always consistent. I have written a generic that may work with some. I do work with TuneIn
Speakers are LOCAL execution only, not could.
I am tuning the delay in the next revision; however, there will always be some due to the speaker’s internal protocols.
The talking alarm clock is an ST app. It isn’t a device. It uses speakers that are on the LAN. I was just asking if this app breaks the SONOS like connection to smartthings. (Was hoping to find out without experimenting and breaking my connections possibly. )
The driver has it’s own connection for audio that supports the specific functions of the Samsung WiFi speakers. It includes a full set of audio alerting functions including playText, playTrack, and speak. The playText and playTrack methods are those I usually see in the Sonos driver.