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

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

Yes this station works. Thanks.

Great news, thanks, the signature does not expire until now, try to identify the non working station to remove them from app.

Hi, I have update the device, but I have publish in a new post, if you want to read it.

any plans to support the Harman Kardon?
http://hksmartthingsintegration.readthedocs.io/en/latest/

Hi, The Harman Kardon must to works like Generic MediaRenderer, I don´t have this kind of speakers to test groups, but it must to be found with media renderer Connect.

I am. What are you having problems with? Remember, you have to add the device to WebCore the same way you would a light or a switch after you create it. Once that’s done, you can use the speaker as a voice synthesis device. If you are trying to use WebCore to play a media file for an alarm or whatnot, that is something that WebCore can’t do I’m pretty sure. However you can use WebCore to trigger a virtual switch and then use a SmartApp called Speaker Notify with Sound. This doesn’t allow you to pick any old noise you want but there are several there to choose from.

Hi ule.

Managed to get this to detect and inatall
VIERA E30 Series Speaker - panasonic TV
Denon Amp Living Room Speaker - AVR-X2300W

And with the last, I at least got the Talking Alarm Clock to work.

Great Work

However neither of these players are always switched on or in the room I would like to use this App.

Do you have plans for a Squeezebox integration. See my post May 7 2017.

Apologies for the newbie questions. I’ve tried to find like challenges in the thread but am still stuck.

I’ve installed MediaRenderer Connect app and device handler.
I searched and found my Denon AVR-1913 and Panasonic Viera ST-50. My DirecTV receivers were also indentified by the way.

I’ve installed the talking alarm clock but failed to produce any sounds from either the Viera TV or Denon receiver. The Viera’s volume was controlled successfully but neither text to speech nor sounds was produced successfully.

Similarly, when I installed Speaker Companion, no devices are found that are capable of supporting the app.

Any help would be greatly appreciated! Thanks do much for your work to make this platform useful and interesting!