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

Let us know when you get this working. There is a callback script for xbmc to interact with endpoint but it’s way above my none coder skill.

This is awesome. I just set it up with a Lario ($15 DLNA Connector) and it works! My WAF for smartthings just increased by 500% when the dog-barking sound played when the door was opened!

Great news @pizzinini, could you tell me more about Lario adapter, I need to know if the volume contro works, and if the adapter contro the volume speaker or just the audio to speaker?

Here is the Lario adapter on Amazin:

The adapter does not control the speaker volume. It controls the lario-to-speaker volume. So you have to leave the speaker turned on at a decent volume. Volume control in the app in this thread do work, though I am not sure if it is the Lario to speaker volume or the hub to lario volume (if that even exists).

I have a small problem. I have installed each version of the app and they all do the same things. I press the “Discovery Process” button. It starts to search for the speakers. It then finds the speakers and I Select it. Then I press “Done” it then returns to the “Discovery(Home page)” with nothing selected. It like its not saving the speaker. Its a “Sony Sans300” and does work with my phone. Here is the live log

56e17a42-3559-4f7b-a7e4-47b40a7f002c ‎11‎:‎13‎:‎02‎ ‎AM: error physicalgraph.app.exception.UnknownDeviceTypeException: Device type ‘DLNA Player’ in namespace ‘mujica’ not found. @ line 208

56e17a42-3559-4f7b-a7e4-47b40a7f002c ‎11‎:‎13‎:‎02‎ ‎AM: trace dni C0A80166:1F90

56e17a42-3559-4f7b-a7e4-47b40a7f002c ‎11‎:‎13‎:‎02‎ ‎AM: trace Cortana 1.9.0 is attempting to unsubscribe from all events

56e17a42-3559-4f7b-a7e4-47b40a7f002c ‎11‎:‎12‎:‎22‎ ‎AM: debug Executing GET /description.xml HTTP/1.1
HOST: 192.168.1.102:8080

on Home Hub via sendHubCommand

56e17a42-3559-4f7b-a7e4-47b40a7f002c ‎11‎:‎12‎:‎17‎ ‎AM: debug MediaRenderer device found[devicetype:04, mac:0007F51F8B15, ip:C0A80166, port:1F90, ssdpPath:/description.xml, ssdpUSN:uuid:5f9ec1b3-ed59-1900-4530-0007f51f8b15::urn:schemas-upnp-org:device:MediaRenderer:1, ssdpTerm:urn:schemas-upnp-org:device:MediaRenderer:1, hub:ab62b961-5c0e-4cb5-b90f-7d98167e6a4a]

56e17a42-3559-4f7b-a7e4-47b40a7f002c ‎11‎:‎12‎:‎15‎ ‎AM: debug Executing lan discovery urn:schemas-upnp-org:device:MediaRenderer:1 on Home Hub via sendHubCommand

hi @relenger, the error Device type ‘DLNA Player’ in namespace ‘mujica’ not found. @ line 208, its becouse there is not installed the devide type, verify if you have installed the device type.

I ended up using a forked version of service.xbmc.callbacks found here: https://github.com/KenV99/service.xbmc.callbacks2

Using this you can drop in direct links to the smartthings endpoints or shell scripts for pause, play, stop, resume, etc. There’s no real need to mess around with python scripting unless you want some more advanced functionality, like passing media info back to ST with the call or only executing a endpoint when playing video and not music.

For now I’m grabbing links from my smarttiles.click dashboard and tweaking the dimming parameter for the commands. It’s working pretty well but there’s a noticeable delay between commands in my shell script so the lamps around change sequentially rather than all at once.

1 Like

Well I feel like a idiot. I musta skipped that step. Add Sony Sans300 to your list of working devices. Works like a charm. Now to figure out how to create easy to use playlist… on all Window’s devices

1 Like

hi @relenger, thanks for your feedback, you can use some of the control point mentioned above, and to use a sonos notify with sound app to launch a continer list if your speaker support containers, and if you use PS3 Media server, you can make playlist from different folders (the playlist must to be added manually, search goole)

Can I get some help for someone making new hardware investments?
I have no DLNA experience, I have always only used bluetooth speakers with streaming music from my cell phone and the only thing I own is a Bose Sound Link.

I have about 100 questions, I will try to keep it to a couple. The amount of WAF points I will get from properly implementing notifications and music around the house will help ensure long term Smart Things success in my home. :slight_smile:

  1. How long is the lag for notifications? It seems that there is quite a bit from some of the comments here (5-8 seconds), this would be a little difficult for me. Is there a reason particular hardware performs better than others, since all hardware I am buying would be new it would influence my decision.

  2. Does a computer need to be on at all times? Or just a tablet? Or just a wireless hardrive? Or… ?

  3. Does a multitude of devices change anything? I am thinking an alarm clock type with a 30 pin adapter or Rocki in room A & B, a lightbulb speaker in room C & Entryway & deck, and potentially a Sonos Soundbar or another soundbar or home theater system to cover open living/dining/family/kitchen.

Any help would be great as I set out to make hardware decisions on these.

@ule I’m using two separate Rocki’s with this. I have followed the instructions and installed Media Renderer Connect and Media Renderer Player. I then opened the app and it promptly found both Rocki’s and set them up. I then installed Sonos Notify with Sound and selected one of the Rocki’s, and the action "Someone is arriving."
When triggered, the speaker only says “Someone” - it always cuts off the rest of the message. I tried changing the delay settings, but nothing makes a difference, it always cuts off the other half of the message. (This also happens if you select any other message - it only plays the first half).
Any thoughts?

Hi @Anseld1986 , Sorry by delay, I think the Rocki´s cut off the last part, try to use a large sentence, " Someone is arriving at Home" if the sound cuts off in other part like " Someone is arri" the the Rocki’s adapter internally cuts off the last part, this can be some setting if the rockie supports gapless, I cant modify the code to add more time because the rocki internally cuts off the sound, you must to use a dummy text to makes larger the text, like in my example " Someone is arriving at Home" could works to hear " Someone is arriving " in rockies, but if you use other kind of speaker will sound all the sentence " Someone is arriving at home", try and share your comments.

I’m brand new to all this. I bought a smart things hub, a window sensor, and a Sonos speaker. After much doing, I was able to have the Sonos speaker play a default sound (like light saber) when the window sensor is triggered. However, I’m much more interested in getting Sonos to play a custom voice recording. How do we import items (like special ringtones) to the Sonos list of playbacks that we can have played when an event triggers?
Thanks for your help…
-Nick

Doing anything interesting with your Bravia? I just got a 4k Bravia, and am starting to see this is a feature packed TV… Pretty impressive!.

I never really did pursue it. I think there may have been limitations on what I could actually do

Anyone where I could get v 1.6.9 yo download. Thanks.

i have the bad state error, tryjng the older android apk… sorry for this post

I had the idea today to connect my PC via Bluetooth to Echo, which worked, and then use Kodi with this media renderer app for audio output. Unfortunately I have the “bad state” error also so I can’t test this. Too bad because I think this would work well. Any fixes on the horizon? I’m wondering if @ule has abandoned this project now.

Update: I dug out an old phone running 1.6.8 and got this working through my Echo using foobar. :smile:

Also getting the bad state error here. Hopefully the Dev will roll out a fix.

I’ve got this installed and (sort of) working with one of the Sabrent adapters. I’m using it to play text-to-speech messages, but it always cuts off the last second or two of each message. Anyone know what might cause this?

I’ve tried upping the delay values in the device preferences, but nothing seems to fix it.