RELEASE Generic Media Renderer (DLNA Speakers). Cheap Sonos Alternative (Update V2)

Thanks for the apps!

Is there any chance you could add GitHub integration please? I think you just need to change the folder name bu there may be more to it of course

Thanks,

Mark.

I have a problem with bubbleupnp server on my android shield tv. Whenever there is a power outage and shield is restarted along with buubleupnp server, media renderers are not preserved, and i have to check ‘Create a DLNA renderer’ again for my google home. The big problem is that even if i do so, then generic media renderer in smartthings doesn,t recognize previous instance but finds a new one, and any of my configured CORE pistons doesn,t work to say anything.

Have anyone experienced such problem? And dealt to resolve it anyhow?

hi, some virtual dlna speaker change the unique id each time is started or restarted, then smartthings can not find the player.

Yeah, I also purchased it from New Egg. At first it didnt work with ST but then after a while it seemed it was supported.

I’m seeing the exact same problem as @mariley. I’m 99% the app currently in the SmartApps marketplace is a completely different app from that I used to use, and if I try to add new instances of what is now called Speaker Companion, it won’t list my existing player when I choose “Play a notification” or “Play weather report”.

Oddly, if I choose “Control - play/stop/pause/skip” it does list the existing player. What’s more, all my old notifications created with the previous Speaker Notify with Sound app continue to work fine.

I’ve also noticed that there is no code for anything called Speaker Companion in the SmartThingsPublic repo, and the code for Speaker Notify with Sound was last updated 2 years ago, so I suspect installing that app in the IDE rather than using the (closed source?) app currently in the Marketplace would actually restore it to the previous working functionality.

Try my app called MediaRenderer events, maybe can help you

[Updated] Media Renderer Events, play messages, radio stations, tracks, sounds

Sorry for the high level response… I don’t have all the technical details, but if you search more in the forum you will probably find them.

Smartthings supports 2 types of sound devices: “Music Players” and “Speech Synthesis”. The speaker companion app only supports “Speech synthesis” devices. @ule 's app supports both.

Silly question but how exactly do I test/troubleshoot this? I’ve connected fine and the control functions such as stop, play, volume, etc work fine, but I can’t get any of the text to speech events to work.

Hi, the device itself have some controls, but you must to control the device trough some smart app, I suggest you to use Media Renderer events to test.

I think the people does not understand the way the speaker works. if you explain all you do to send text to speaker, we can to find the problem

Hi Ule,

I have created a few basic things in media renderer events to test it. The first one was to tell me when my door sensor is opened. This one doesn’t do anything unfortunately :frowning:

I tried a couple more basic ones, like telling me switches turn on and off, also do not work.

If the speaker is playing music however, the basic controls in the connected speaker work.

Hi, in the smart app list you going to find the media renderer app you have created, if you push the play button, it must to sent the text to speaker, and you must to hear the audio, if not verify the logs and send them to me.

1 Like

0578845e-9fcb-45ec-8622-252e56ea38d9 1:56:22 PM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 1:56:22 PM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 1:56:22 PM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 1:56:22 PM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 1:56:19 PM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 1:56:18 PM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 1:56:14 PM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 1:56:14 PM: debug getChildDevices(false), children=1
01542f1e-daa4-494e-9c0f-3482098cea6d 1:56:13 PM: trace Exiting takeAction()
396b46f1-702e-46d4-bbb7-4d41b28400d4 1:56:07 PM: trace getPhrases(), state.welcomeIssue = null

Hi , I need the logs of the player and the app to see the actions.

The player being the network speaker and the app being the media renderer events smart app? I’m not sure how to get logs for a smart app.

2017-09-02 2:26:25.097 PM EDT
moments ago APP_COMMAND playTrackAndResume Fan On Alert sent playTrackAndResume command to Network Speaker

Clear
0578845e-9fcb-45ec-8622-252e56ea38d9 11:32:16 AM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 11:32:15 AM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 11:32:13 AM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 11:32:11 AM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 11:32:07 AM: debug getChildDevices(false), children=1
0578845e-9fcb-45ec-8622-252e56ea38d9 11:30:03 AM: debug MediaRenderer device found[devicetype:04, mac:3CBD3E10A333, ip:C0A8014A, port:270F, ssdpPath:/74102e62-e76a-0913-2848-25ef4032e675/Upnp/device.xml, ssdpUSN:uuid:74102e62-e76a-0913-2848-25ef4032e675-MR::urn:schemas-upnp-org:device:MediaRenderer:1, ssdpTerm:urn:schemas-upnp-org:device:MediaRenderer:1, hub:22c51920-01e1-434e-85cd-869e631f1825]

SmartThings Message shows up in the app, but nothing plays.

I’m having issues with the ability to use TTS as well so I tired to create a webcore piston to play a track to notify when the door was opened but the track will not play.

Piston attached. Any thoughts?

I used to have this Smart app configured to play radionomy stations and was working fine. Since some time ago all I get is this message played back and does not play any of the stations:

“Listen to this program on Radionomy.com. Our our free apps are available on the app store or google play. For other devices find a complete list of applicatins available on radionomy.com/devices

Any ideas?

Here is what I see in the logs:

34c4cd91-74b3-4756-ace1-a9082ab3957e 6:02:10 PM: debug getChildDevices(false), children=1
34c4cd91-74b3-4756-ace1-a9082ab3957e 6:02:05 PM: debug getChildDevices(false), children=1
ca0e62f8-7dd7-4203-85c3-a09f726273de 6:02:07 PM: trace Exiting takeAction()
ca0e62f8-7dd7-4203-85c3-a09f726273de 6:02:06 PM: info smartapp_pause called by smartAppName=Media Renderer Events, value=500, smartAppVersionId=4a150888-2e01-41aa-af1e-b2f6bf3d652d
ca0e62f8-7dd7-4203-85c3-a09f726273de 6:02:05 PM: info smartapp_pause called by smartAppName

Hi Augusto, Radionomy have changed some rules, and now the old links are not working, I have updated some stations inside media renderer player, based in Shoutcast, you can try that stations, I will verify if its possible update some radionomy stations

Hi, I have updated the mediarenderer events app,try to test, the mod its based in a cookie signature, I think its possible the cookie expire, but check it.

Although more limited in options to choose from, I was able to use the media renderer player to try stations based in Shoutcast. That works for me for now.

I checked your new version of the media renderer events app but still getting the same audio message.

Here is the data that is passed to the media player from the media renderer events app when a radionomy station is selected. I can confirm that pasting the URI below on my browser also gets me to the generic audio message instead of the actual station. Perhaps the cookie expired already?

{
“station”: “Air Lounge”,
“name”: “Air Lounge”,
“artist”: “”,
“album”: “Radionomy”,
“trackNumber”: “1”,
“status”: “stopped”,
“level”: “”,
“uri”: “http://listen.radionomy.com/air-lounge?d=dHNVaWQ9ODIyM2JlMjItOTg0My00MTU3LWJjNjYtM2Q4NjhmNWI3MTM5JnVzZXJyZWY9ODIyM2JlMjItOTg0My00MTU3LWJjNjYtM2Q4NjhmNWI3MTM5JmFwcE5hbWU9d2Vic2l0ZSZhZD1yYWRpb25vd2Vi”,
“trackUri”: “http://listen.radionomy.com/air-lounge?d=dHNVaWQ9ODIyM2JlMjItOTg0My00MTU3LWJjNjYtM2Q4NjhmNWI3MTM5JnVzZXJyZWY9ODIyM2JlMjItOTg0My00MTU3LWJjNjYtM2Q4NjhmNWI3MTM5JmFwcE5hbWU9d2Vic2l0ZSZhZD1yYWRpb25vd2Vi”,
“transportUri”: “http://listen.radionomy.com/air-lounge?d=dHNVaWQ9ODIyM2JlMjItOTg0My00MTU3LWJjNjYtM2Q4NjhmNWI3MTM5JnVzZXJyZWY9ODIyM2JlMjItOTg0My00MTU3LWJjNjYtM2Q4NjhmNWI3MTM5JmFwcE5hbWU9d2Vic2l0ZSZhZD1yYWRpb25vd2Vi”,
“enqueuedUri”: “”,
“metaData”: "<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/” xmlns:dlna=“urn:schemas-dlna-org:metadata-1-0/”><item id=“1” parentID=“1” restricted=“1”>upnp:classobject.item.audioItem.audioBroadcast</upnp:class>upnp:albumRadionomy</upnp:album>upnp:artistAir Lounge</upnp:artist>upnp:albumArtURIhttp://i3.radionomy.com/radios/400/46facdd7-38aa-441b-9f4d-7287ff80cb19.jpg</upnp:albumArtURI>dc:titleAir Lounge</dc:title><res protocolInfo=“http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000” >http://listen.radionomy.com/air-lounge "
}

Hi, I have test the station instrumentals-forever and works fine, but the station air-lounge is not anymore in Radionomy
Please test the link to known if the signature still works, for me its ok

http://listen.radionomy.com/instrumentals-forever?d=dHNVaWQ9ODIyM2JlMjItOTg0My00MTU3LWJjNjYtM2Q4NjhmNWI3MTM5JnVzZXJyZWY9ODIyM2JlMjItOTg0My00MTU3LWJjNjYtM2Q4NjhmNWI3MTM5JmFwcE5hbWU9d2Vic2l0ZSZhZD1yYWRpb25vd2Vi