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

is there any lighweight android alternative to UPnPlay device working on backround?

Hi @plantucha, I just have old android phones, I have purchased an app calls Private Dancer , it works with android 2.2 and up, works in backgroud , its very simple, works great if you just want to send messages from smartthings, it cost $2 dlls https://play.google.com/store/apps/details?id=com.abk.privatedancer&hl=en , I have not tested other mediarenderers apps because my most recent android is 2.3 ( in ebay just cost 5 dlls) I think is the cheapest working speaker working with smartthings ( old android phone $5 + Free Shipping + private dancer $2 = $7 dlls speaker)

1 Like

@ule I updated to the v1.9.4a version, still same errorsā€¦

c476680b-5f8f-44d9-a4be-ca8550b0f8a0  9:38:49 PM: debug <DIDL-Lite></DIDL-Lite><DIDL-Lite></DIDL-Lite><DIDL-Lite></DIDL-Lite>
c476680b-5f8f-44d9-a4be-ca8550b0f8a0  9:38:49 PM: debug Help us to fix this error, report this incident
c476680b-5f8f-44d9-a4be-ca8550b0f8a0  9:38:49 PM: debug Error when parsing XML Metadata: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 25; The markup in the document following the root element must be well-formed.
c476680b-5f8f-44d9-a4be-ca8550b0f8a0  9:38:47 PM: debug <DIDL-Lite></DIDL-Lite><DIDL-Lite></DIDL-Lite><DIDL-Lite></DIDL-Lite>
c476680b-5f8f-44d9-a4be-ca8550b0f8a0  9:38:47 PM: debug Help us to fix this error, report this incident
c476680b-5f8f-44d9-a4be-ca8550b0f8a0  9:38:47 PM: debug Error when parsing XML Metadata: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 25; The markup in the document following the root element must be well-formed.
c476680b-5f8f-44d9-a4be-ca8550b0f8a0  9:38:46 PM: debug <DIDL-Lite></DIDL-Lite><DIDL-Lite></DIDL-Lite><DIDL-Lite></DIDL-Lite>
c476680b-5f8f-44d9-a4be-ca8550b0f8a0  9:38:46 PM: debug Help us to fix this error, report this incident
c476680b-5f8f-44d9-a4be-ca8550b0f8a0  9:38:46 PM: debug Error when parsing XML Metadata: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 25; The markup in the document following the root element must be well-formed.
bd14ba4c-88e1-43c3-8e23-731225520075  9:38:16 PM: trace Exiting takeAction()
bd14ba4c-88e1-43c3-8e23-731225520075  9:38:15 PM: trace takeAction()
c476680b-5f8f-44d9-a4be-ca8550b0f8a0  9:38:16 PM: trace https://s3.amazonaws.com/smartapp-media/tts/the_mail_has_arrived.mp3

Hi Ule,
Iā€™m unfortunately not seeing any debug info in the log when I launch the connect app. :frowning: I figure I should get some debug info as Iā€™ve installed the app and it shows on my ST android phone, have installed it there as an app, etc, but when itā€™s trying to find the Cobblestone, it doesnā€™t seem to generate any debug info. :frowning:

I did however get some data on the Cobblestone that may be able to help:
From

upnp tool :
M-SEARCH * HTTP/1.1
Host: 239.255.255.250:1900
ST: upnp:rootdevice
Man: ā€œssdp:discoverā€
MX: 3
USER-AGENT: Android/21 UPnP/1.1 UPnPTool/1.4.3

Does this help?

Hi @xcguy, The error its cached and the program continues, i sugest you to play music to upnpplay from other source to verify if upnplay its working, I have tested the upnplay in android 2.3 and is working fine,

Hi @Patrick_Callahan, could you play music in device from some other control point?, I think upnp service is blocked by router, please send music from DLNA control point like sugested in firs post, airplay its different, you must to find your devices with DLNA control point.

Hi Ule, I installed bubble media player:


Which picks up the Cobblestone and allows me to play to it. Iā€™m also thinking of what you said in one of your other posts - I have a Galaxy Note 3 Iā€™m not using right now so I thought maybe I can just use that as a renderer - however I was not able to find the Private Dancer app you mentioned. Iā€™ll try some of the others and see if your smartapp can discover them - please let me know if you can recommend some other app to load that I can try.
Thanks!

Hi @Patrick_Callahan, if you could find the mediarenderer with other control point , it must be found it with smartthings, some times you need to disconect your smartthings hub, its not common failure, but after install and unisnstall several times, I needed to unplug some seconds the hub, try it, if that does not works, try to change the ip from the mediarenderer

  • I have not tested other mediarenderers apps, no so much works with android 2.3 (I think I need to spend $10 for a recent one, jeje) , private dancer its just what I need, light , works in back ground, and exclusive a media renderer, its not perfect, It does not have a uuid identification, means if the device changes the ip, smartthings can not find again the device (I did patch the uuid with the ip), but I never change the ip of the device, if you can test other mediarenderers iā€™l appreciate your feedback
    https://play.google.com/store/apps/details?id=com.abk.privatedancer&hl=en

Would an old HTC EVO work as an Android device with Private Dancer? Iā€™ve got one in a drawer with a MikMik (not sure if spelled right) old android version on it. It has been quite a while since I messed with this, and would assume I could buy a $5 one with less hastle.

interesting. I just lost ability to discover new dlna devices. it can still see 6 old found before but cant find new, and I can still see devices not conected to network anymore
is there any way how to remove old devices ?
I switched my android upnplay to private dancer and mediarenderer cant find new renderer and still showing upnplay even it is not installed anymore.
I did restart hub, it didnt help.

I am experiencing this problem also. I have attached a snip of logs.


af8bb704-0e5f-4339-9447-3cd18b9860e8 6:36:02 PM: debug MediaRenderer device found[devicetype:04, mac:BC5FF4E79B16, ip:C0A80B0A, port:2328, ssdpPath:/plugins/UPnP/MediaRenderer.xml?player=00%3A04%3A20%3A29%3A05%3A8a, ssdpUSN:uuid:16166CE0-C4DD-E888-D5D1-38BCDD9AE7A4::urn:schemas-upnp-org:device:MediaRenderer:1, ssdpTerm:urn:schemas-upnp-org:device:MediaRenderer:1, hub:3717e616-4f95-426a-8d07-c1e688fffc40]
af8bb704-0e5f-4339-9447-3cd18b9860e8 6:36:01 PM: debug MediaRenderer device found[devicetype:04, mac:BC5FF4E79B16, ip:C0A80B0A, port:2328, ssdpPath:/plugins/UPnP/MediaRenderer.xml?player=fc%3Ac2%3Ade%3A2f%3Ad5%3Aae, ssdpUSN:uuid:560D64F6-484E-4AFB-A663-DA4F6A0072E4::urn:schemas-upnp-org:device:MediaRenderer:1, ssdpTerm:urn:schemas-upnp-org:device:MediaRenderer:1, hub:3717e616-4f95-426a-8d07-c1e688fffc40]
af8bb704-0e5f-4339-9447-3cd18b9860e8 6:36:01 PM: debug MediaRenderer device found[devicetype:04, mac:BC5FF4E79B16, ip:C0A80B0A, port:2328, ssdpPath:/plugins/UPnP/MediaRenderer.xml?player=00%3A04%3A20%3A23%3A79%3Afb, ssdpUSN:uuid:9F240594-045E-DC04-7B9A-4CECD411A2F1::urn:schemas-upnp-org:device:MediaRenderer:1, ssdpTerm:urn:schemas-upnp-org:device:MediaRenderer:1, hub:3717e616-4f95-426a-8d07-c1e688fffc40]
af8bb704-0e5f-4339-9447-3cd18b9860e8 6:36:01 PM: debug MediaRenderer device found[devicetype:04, mac:BC5FF4E79B16, ip:C0A80B0A, port:2328, ssdpPath:/plugins/UPnP/MediaRenderer.xml?player=00%3A04%3A20%3A27%3A52%3A34, ssdpUSN:uuid:75AE7167-F07C-BB3A-FB4D-49B9E4A47C43::urn:schemas-upnp-org:device:MediaRenderer:1, ssdpTerm:urn:schemas-upnp-org:device:MediaRenderer:1, hub:3717e616-4f95-426a-8d07-c1e688fffc40]
af8bb704-0e5f-4339-9447-3cd18b9860e8 6:36:01 PM: debug MediaRenderer device found[devicetype:04, mac:BC5FF4E79B16, ip:C0A80B0A, port:2328, ssdpPath:/plugins/UPnP/MediaRenderer.xml?player=00%3A04%3A20%3A27%3A86%3A71, ssdpUSN:uuid:6ECC9587-7A78-BEDA-8B89-CB47AF485178::urn:schemas-upnp-org:device:MediaRenderer:1, ssdpTerm:urn:schemas-upnp-org:device:MediaRenderer:1, hub:3717e616-4f95-426a-8d07-c1e688fffc40]

I believe the problem is that the object key is the ip + port address, and this is going to be the same for all these devices. Maybe it would be better to use the UUID as the object key?

Hi Ule,
I think I have a problem with my router. I just realized that the DLNA server I installed on my Synology (also plugged into the same router ports as the smartthings) is not discoverable anymore from the wireless devices like my android and the Muzo Cobblestone player. I need to check into this and see if I can figure it out. Iā€™ll try this all again once I sort that out. I think maybe UPnP is being blocked somehow from the wired connection side of the hub. Not sure why.
thanks
-pat

it works again. i think it has to do something with backend upgrades and platform updates.
Anyway once i set Upnplay on android device it will not find Private dancer on same IP address whatever I do.
Until it surprise me in the future. Like I changed degrees F to Celsius and it took 3 days to propagate change to sensors actually showing Celsius.

hi @plantucha, Sorry about Private Dancer, I have not release the new update with the patch for private dancer, tomorrow morning I will post it.

Hi, I have release a Radio Tunes integration with SmartThings, Its great to play music when you get home.

You must to update your dlna player device type and add the smartapp

https://github.com/SmartThingsUle/DLNA-PLAYER/blob/master/Media_Renderer_Events.groovy

I just want to sayā€¦ You are AMAZING!!!

Youā€™ve saved me a lot, and I mean a lot of money! Thank you!

1 Like

Hi @deano12, IĀ“m glad to hear it , If you can share your experience with your mediarenderer I will appreciate it , I want to increase the list of confirmed media renderers

Iā€™ve just replied to the thread, BRAVIA KDL-42W829B (Sony TV) works great!

Hi, I have added a multi-selection stations for mediarenderer events smartapp, if you are tired of hear the same station each time you get home, now you can select several stations and choose the play mode: loop, random or shuffle, each time an event trigger the action it will play different station, try it

can someone do a youtube video to demo and a how to setup guide?