SmartThings Community

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

(Chuck) #34

I have not tried BigTalker yet, but using the Sonos code, I have setup notifications for people coming and going. Used Events to Trigger Alerts, and Custom Messages (which appears to create a instant TTS mp3 routed from amazon servers, played on your device). Have not cared to try any music streams yet.

When looking at your DLNA device, the lower PLAY button activates a internet radio station. It is easy to confuse that with the above PLAY button.

On my Fiance’s iPhone, i installed the program ULE recommended “Browse UPnP” for iOS on the App Store and it showed many of the devices around my house that were DLNA. You then click on the item and it states the schemas. You need to look for “urn:schemas-upnp-org:device:MediaRenderer:1”

I did not have any luck with various Free iOS apps for sending custom notifications to iPhone or iPad yet.

After some searching, and testing, i can recommend a similar app for Android, its called “UPnP Tool” on the Google Play Store.

That will allow you to verify if your device states MediaRenderer:1.

Glad to hear it’s working on the Squeezebox. Id love to buy some cheap $40 Android tablets and mount them in various rooms however none seem to have very good speakers.

Hopefully I can make some time this weekend to play some more, you guys are making me jealous!


Alarm that plays a song or sound on the mobile device
Portable speakers - mid range - restricted to sonos for a long time?
(Greg) #35

Anyone know of an iOS app that will act as a DLNA renderer? This would work perfectly with my current setup of old iPhone Manything security cameras.


(Ule) #36

New version available v 1.5


(Isriam) #37

thank you for the update! if anyone can find an ios app that is a dlna renderer that would be awesome

1 Like

(Greg) #38

@ule @chuckc81 I installed the UPnPlay app on a 2-3 year old Galaxy3 Tablet, but have’t had any luck discovering it as a media renderer. Do you have any tips for getting this app to work? If it’s an os limitation, any thoughts on how far I’ll have to roll back android to get it to work?



(Brian S. Lowrance) #39


I have the devicetype and smartapp installed. When I launch the app, it just continuously scans without finding anything.
My UPNP player is on and here is what Live Logging shows when it scans that IP:

10:54:41 PM: debug Executing GET /MediaRenderer/desc.xml HTTP/1.1

That’s it, it shows others hosts as well that are not media renderer’s, but it doesn’t request /MediaRenderer/desc.xml for those like it does the expected device ( Here is a log from another host that is not a DLNA / MediaRenderer device:

10:54:37 PM: debug Executing GET / HTTP/1.1

The DLNA MediaRenderer device is a Yamaha RX-V671 and lists it is DLNA 1.5 certified. UPNP Browser did show "urn:schemas-upnp-org:device:MediaRenderer:1"

When I visit in my browser, I get the following XML:

<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:ms="urn:microsoft-com:wmc-1-0" xmlns:pnpx="" xmlns:df="" xmlns:yamaha="urn:schemas-yamaha-com:device-1-0">
<device ms:X_MS_SupportsWMDRM="true">
<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>
<pnpx:X_deviceCategory>MediaDevices Multimedia.DMR MediaDevice.DMC</pnpx:X_deviceCategory>
<microsoft:magicPacketWakeSupported xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0">0</microsoft:magicPacketWakeSupported>
<microsoft:magicPacketSendSupported xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0">1</microsoft:magicPacketSendSupported>
<manufacturer>YAMAHA CORPORATION</manufacturer>
<modelDescription>AV Receiver</modelDescription>

UPnP DimmableLight Device
(Ule) #40

HI rayzubock

I have updated the media renderer conect, now show in logs the MR found

Update the MR connect , the new file is in github

Launch the connect from phone app , and verify the logs in IDE

The logs can show me the problem and I can fix it.

Send me the logs.


MediaRenderer device found [devicetype:04, mac:00077777777, ip:C0A8778C, port:1F62, ssdpPath:/description.xml, ssdpUSN:uuid:5f9ec1b3-ed59-2365-4530-0008f31f8854::urn:schemas-upnp-org:device:MediaRenderer:1, ssdpTerm:urn:schemas-upnp-org:device:MediaRenderer:1, hub:b323a0c3-2c0d-495c-46d6-12d3bb66676c]



(Brian S. Lowrance) #41

PM’d you the logs from the updated version.


(Greg) #42

@chuckc81 how did the sabrent receiver work? Would love to get this app working but I don’t have any compatible hardware.



Just an update for me. UPnpPlay was not work for me on android b/c by default the local media renderer is disabled. A settings changed got it to work and I got some sounds to play. Now I just need to work on some viable use cases. :smile:

And as for the “My Apps” section not appearing after selecting “+”. Apparently you need to log out of the android app and log back in to see it. I know see that option and see all of my custom apps. Hopefully that doesn’t need to be done everytime I add a new SmartApp.


(Daniel Hamel) #44

Hey man, it’s working great except i get a error when refreshing:
java.lang.SecurityException: Invoking methods on class groovy.lang.GString$2 is not allowed @ line 268


(Ule) #45

Hi @trueppp , I have updated the code with the new fixes, please share your media renderer model to increase the working list, thanks


Rocki = Cheap Sonos Alternative?
(Daniel Hamel) #46

Will test,

Im using Kodi (on PC) and XBMC on ARM


(Daniel Hamel) #47

Getting this when trying to update the DeviceType:

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script14248972482462092552932.groovy: 141: Method definition not expected here. Please define the method at an appropriate place or perhaps try using a block/Closure instead. at line: 141 column: 1. File: script14248972482462092552932.groovy @ line 141, column 1.
def parse(description) {

1 error


(Ule) #48

Sorry I did not replace all the code, fixed, thanks


(Daniel Hamel) #49

Working great now :smiley: thanks.

Should Custom messages work?


(Ule) #50

Yes , Custom message works, some times Custom Messages take more time to play, you can adjust the delay before message in preference. I use “sonos notify with sound” to test the app, the Media Renderer app works with any sonos app, send your comments to improve the device



On the squeezebox boom the alert sounds are working fine, but I cannot get a custom message to play. I’ve tested this on my actual Sonos, and there is no problem there.

I also cannot get the weather report function to work on my squeezebox, but I can play any music URL with no problem. So it’s functioning as a DLNA renderer but something is preventing it from doing all that it should.


(Ule) #52

Hi @pd_ in player preference there is delay before messages, some media renderers take more time to play a http file, try to increase the time before the message, if you have problems to resume the playing song you can increase the time between actions,


(Daniel Hamel) #53

Ok, my Kodi box takes about 8 seconds to load a file so that must be it…I lose the start of any local song I push.

Also…do you know a good way to get a radio station to work? I start this up on my player: I can select it but it wont start on any device that I have through smartthings