I have now “worked” with the code of the Sonos 2.0 binding and I think it should be relatively easy (maybe even very easy) to add a generic support for DLNA media renderers because there is already almost everything implemented for the Sonos.
What could be done is to simply add a new thing type for generic DLNA media renderers.
This could offer standard controls: play; pause, stop, volume, mute for all DLNA devices. And track information could be retrieved too.
PS: I have already done this extension from Sonos to generic DLNA for the Vera platform. So I know that it works well for a large panel of things supporting UPnP / DLNA.
That would be really cool - Can you estimate already if it might also work with Gramofon (www.gramofon.com) players ? They support allplay by default, and in fact i’d be glad if those are supported, i have a bunch of them waiting for integration
@Max1968, I am currently implementing an AllPlay binding for openHab 2. If you are interested in trying it out and help testing, please have a look in this thread.
i’ve already seen it when you posted it, and i’m very eager to test it - However i wasn’t home for a while now, hopefully next weekend i will give it a try and post my comments there
Hi all!
I’m currently in progress of developing python tool for playing audio/video/images on DLNA/UPnP devices on the same network and I wonder if it can be useful for your bindings as well.
Please feel free get the latest version and try dlnap tool at github
Happy to see you are still in place
Finally I have some spare time to play little more with openhab2 to move all automation from my vera to it and I landed here after some search about upnp/dlna binding. Last scenes not ported…
Your great DLNA Vera plugin still does its job in my house like a charm and I’m glad to read that you looked on something like this for openhab2.
Have you done something ? Like for the Vera’s plugin, if I can help you in any way, please let me know !
Bonjour MacFly.
I studied this week-end how to update the Sonos binding to make it compatible with all DLNA media renderers. I am still convinced that it could be done easily.
I don’t really need that for myself so if I work on that feature, I will only spend a limited time on it. So it is on my TODO list but not at top.
I know I bother you with that since a long time ago (I found a post from me on touteladomotique forum dated on january 2015 )
In the mean time, I managed to use MiOS Action to control your Vera DLNA plugin.
As I said before, don’t hesitate if I can help you…
Hi @MacFly thank you for your request, but as for me TTS is extremely specific feature to add it in scope of just playing back media tool. Moreover I’m actually not familiar with TTS at all. I guess someone familiar with python, TTS and OH can easily implement such a thing for you. Thanks again
I started something through the Sonos binding but it was not the expected approach and my proposal was finally rejected. Then I forgave as it was too much work to be compliant with what is expected and too much work for something I don’t need myself.
I created an issue that is now closed but you can read it to understand what is expected : a new specific binding + a shared bundle that could include common code for different bindings that use UPnP AV.
I agree with that expected architecture but extracting the common code is not something that can be done in few hours.