Can Vera's "Remote Control" be tied to Luup UPnP Devices (or just USBUIRT)?

I’m trying to build a Lua Device definition for my Panasonic Viera TV. It currently implements the following service definitions that are built-into Vera:

<SCPDURL>S_DiscretePower1.xml</SCPDURL> <SCPDURL>S_InputSelection1.xml</SCPDURL> <SCPDURL>S_PIP1.xml</SCPDURL> <SCPDURL>S_Volume1.xml</SCPDURL>

I have the code defined for the [tt]D_PanasonicVieraTV1.xml[/tt] device file and the counterpart [tt]I_PanasonicVieraTV1.xml[/tt] implementation file. These are installed into my Vera, and I’ve created a device called “TV” that’s an instantiation of them.

At this point, I was expecting that I could build a Remote, and “connect” it up to the UpNP Services I’ve exposed above, but it looks like the “Remote” functionality is strictly tied to the USBUIRT, and can’t currently handle a more “wired” approach to component control.

Thoughts, suggestions?

For those interested, I took an ASUS 520GU (suggested by 325xi and others), and installed DD-WRT + kmod-usb-serial + kmod-usb-serial-pl2303 + ser2net + startup scripts to “remote” my TV’s RS232c port over the [switched] Ethernet (after my failed USB-extender experiment) so it could be connected up to Vera.

That part is working fine, and I can manually “control” functions of the TV without headache, so it’s really just the above Device description stuff that I need to get working.

[quote=“guessed, post:1, topic:165065”]For those interested, I took an ASUS 520GU (suggested by 325xi and others), and installed DD-WRT + kmod-usb-serial + kmod-usb-serial-pl2303 + ser2net + startup scripts to “remote” my TV’s RS232c port over the [switched] Ethernet (after my failed USB-extender experiment) so it could be connected up to Vera.

That part is working fine, and I can manually “control” functions of the TV without headache, so it’s really just the above Device description stuff that I need to get working.[/quote]

Oh, I never had time to get back to this. Is it reproducible?
I guess you installed the stuff as opt-ware, not image, right?

@325xi, I could do it again if I needed to, but I don’t have another ASUS handy (they’e got a $10 coupon for Oct if you want another)

I started with OpenWRT, with the goal of making it look a lot like Vera, and then “borrowing” the [tt]serproxy[/tt] binary. This was a little painful, since the OpenWRT doc isn’t very cohesive so, after a few hours of tinkering, I jumped over to DD-WRT mini with USB extensions (which I’d used before).

I then used a bunch of pre-fab doc to do roughly the following:

a) Turn the WAN port into a 5th Switch port, so I have a remote 4-port switch, not a router.
b) Enable JFFS to “host” all the extensions
c) Manually download the [tt].ipk[/tt] files for the kernel modules (and [tt]ser2net[/tt])
d) [tt]ipkg -d root install [/tt]
e) Write a few small startup wrapper scripts in [tt]/jffs/etc/config/[/tt] files to load at startup
f) Write a small startup script to start [tt]ser2net[/tt] at boot
g) Configure [tt]ser2net.conf[/tt] to “proxy” my PL2303 (see USB Devices list for model)

at that point, I can hyperterminal, or telnet, to “talk” to my TV (Panasonic Viera) using STX/ETX wrappers around the commands.

eg. [tt] P O N [/tt] turns on the Tele.

If enough folks want, I can write a detailed Wiki containing the real steps, Hyperlinks (etc) that I used to configure DD-WRT.

It’ll only work for Serial proxying, so it’s not a solution for folks trying to remote a USBUIRT since that uses a funky USB Protocol. In my case, this’ll get me started since I have 2-3 Serial devices, and 3 Ethernet ones, in the AV setup.

Great! I wish more people realized the value of this
:slight_smile:

If you could post the start up scripts, and the wrapper script you use to configure and run ser2net - that would be enormously helpful.
I have a couple of 520GU around with OpenWRT + USB + ser2net installed, but there I stopped and never got to actual serial config.

@325, I responded to your original thread with the “last steps” component to getting the remote serial port registered with Vera, it’s here:

http://forum.micasaverde.com/index.php?topic=1703.msg9254#msg9254

I’m going to bring this thread (and it’s title) back to my original track of determining whether the build-in “Remote” (control, not hotspot) functionality can be used to attach to a Luup-based UPnP definition within Vera.

We can use your thread for the fine-grained details on how to “register” a remote Serial port, and potentially how we build such a thing… It can doco this stuff until a Wiki is stubbed.

If anybody’s still interested - Asus 520gU for $30 after MIR:

http://www.mwave.com/mwave/skusearch_v3.asp?scriteria=BA24252