Part 1.Â Ordering a hardware UPnP-AV Renderer
The Vera I ordered in “A UPnP Home” was to act as a bridge between UPnP and appliances around the house.Â This still left my AV needs somewhat unfulfilled as most UPnP capable devices are UPnP consumers, but do not offer themselves up as fully fledged renderers (AVTransports).Â For example, the PS3 can find my Rygel mediaserver and play content from it but I cannot control the PS3 with Zhaan.Â Only the PS3 can control the PS3 (lame).
I’ve been looking for a real UPnP mediarenderer for a while now, and finally pulled the trigger on one the other day.Â The most common device in this market is the “Popcorn Hour 100”.Â There is another version, called the eGreat EG-M34a which is what I purchasedÂ Â Its the same hardware just in a different package.Â It calls itself a “Network Media Tank”, which seemed a bit odd but sure, I’ll go wit hit.Â It promised to be controllable remotely via UPnP and also boasts support for every format known to man.
Part 2.Â Testing out the Network Media Tank
I plugged in the NMT with an HDMI cable to my TV, plugged in the ethernet and power, switched to HDMI input and…. nada.Â I pulled open my handy dandy GUPnP universal control point and low and behold the NMT shows up on the network.Â Â I told it to start playing some music and whoosh, my TV came to life.Â (I have to wonder how other people get started with this thing, those without their own control points).Â Once the thing turned on it did eventually show me a UI on the TV for browsing my media shares.
So thats the good news, I can start playing music via UPnP.Â The eGreat NMT does the most basic thing we need from a renderer, cool.Â But how does it fare in responding to the rest of the UPnP spec?Â Answer: really, really poorly.Â Here are a list of problems I have found so far which inhibit this NMT from being a “good” UPnP renderer
- The “Pause” action is mysteriously missing from the UPnP device description and the NMT does not respond when a Pause is sent.Â Pausing via the remote works fine.Â I guess I could hack around this by noting the current time when the user hits pause, send a Stop(), then when the user hits Resume I could hit Play and then Seek.Â That is really lame though.
- The GetPositionInfo() command always returns a CurrentURIMetaData with Title, Artist and Album being “Unknown”.
- GetPositionInfo()Â always returns a song length of 00:00 making it impossible to draw a progress bar.
- There is no RenderingContorl service so no UPnP volume control.
The good news is these are all very easy issues to fix in software.Â My hunch is this whole thing is Linux based, so I am hoping the source code will turn up someplace and I’ll be able to hack in these features and load up some custom firmware.
Part 3.Â Testing the Vera / Home appliance automation
The vera was an interesting case.Â You can tell this is a startup — plain white box with no branding, the box itself is all white and the Vera logo is clearly a sticker somebody put on by hand.Â I’m not one to nitpick based on aethestics though, so I plugged it in and booted it up.Â My experience:
- The instructions say to try and go to 192.168.81.1 which didn’t work
- I found, via UPnP multicast, that the device was 192.168.1.111 (I could’ve also asked my router’s dhcp table to find it).
- Going to the device via the browser (at 1.111) worked perfectly.Â I got nice totally unhelpful video tutorials.
- Most of the online documentation for Z-Wave device additions is old and outdated.Â I guessed at how to add a new z-wave device (by holding the z-wave button on the vera and on the new device) and got lucky and the appliance showed up.
- GUPnP control point noticed a new device under the Vera device, with a SetTarget() function.
- SetTarget() was able to successfully enable and disable my lights!
From here I will probably build some kind of Maemo application which will either just change Scenes in the vera (the vera is capable of storing appliance configuration in prepackaged scenes which can be switched between) or I might even just build a UI around SetTarget()).Â Either way — Vera works perfectly (after some rough edges).
Conclusion So Far:
The jury is still out on finding a good, cheap UPnP-AV Media Renderer.Â The eGreat is OK, but has some serious UPnP software deficiencies.Â The Vera looks like it will solve all of my UPnP/Appliance needs though.Â Overall I am happy for now, and am excited to hack together some Maemo apps to work with the Vera and to try and find software workarounds via Zhaan to make my eGreat more usable.
p.s. I had a pretty terrible sinus headache when writing this article, so I apologize if my prose is less exciting and more grammatically terrible than usual.
5 thoughts on “A UPnP Home, Step 2”
I’d just like to say that for audio-only UPnP Renderer nothing beats Linn DS players. There aren’t cheap though. Anyway, the most professional approach to the UPnP topic.
I’m looking into this topic for some time now and would love to use UPnP-AV for all my devices. The renderers I chose are Philips NP2500 for Audio-only and WD TV Live for AV – both should have decent capabilitites after reading some forums. I have to check by myself as soon as I have some euros left …
Any luck with creating a volume (or other playback) control. My research is based in Android, which runs over linux, but I can’t find any resources for controlling my Samsung DLNA TV.
Yeah, the under the service RenderingControl there are getVolume and setVolume functions — Hopefully Samsung supports these functions.
FYI for the poster above, Zhaan is able to control the volume on my DLNA Samsung TV. Although there is a weird bug that I am trying to narrow down where it sometimes does not work.
Second, I have some UPNP questions for a work related project but I could not find an email for you. If you have time and willingness, I would like to drop you a line. My email is my first and last name at gmail. Thanks,