Author Topic: LuaUPnP discussion -- the next big feature in Vera  (Read 48762 times)

Offline micasaverde

  • Administrator
  • Hero Member
  • *****
  • Posts: 1667
  • Karma: +15/-1
LuaUPnP discussion -- the next big feature in Vera
« on: April 09, 2009, 08:29:53 pm »
After several delays, we have agreed upon the structure for our LuaUPnP device and have framed out the basic code and are finalizing it to get it to the point of being in 'beta' for release.  The good news is it's worth the wait.  Along the way we changed the direction a few times and the result is something much more powerful and flexible than originally envisioned.  All generic I/O (infrared devices, rs232, etc.), and the Lua engine are combined into one module which also turns everything into UPnP devices, and allows your Lua script to easily control other UPnP devices.  And we're building a collaboration model.

This means that if you, for example, add a new model of infrared-controlled TV to the system, and learn some infrared codes, it should take only a couple minutes, but that TV is now a UPnP device, and any UPnP control point or remote control in the home will see it and be able to control it.  There are several projects now creating generic user interfaces built on UPnP control points.  So with this new direction, all your Z-Wave, I/R, Lua, etc. devices will be able to control them.

We've created a wiki which explains the system, includes some pseudo code and a general overview of the API: http://wiki.micasaverde.com/index.php/LuaUPnP

We welcome user feedback on this thread.

Offline denix

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1087
  • Karma: +1/-0
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #1 on: April 09, 2009, 10:33:32 pm »
Wow, sounds really really sweet!

Any pointers toward the "several projects now creating generic user interfaces built on UPnP control points"?

Thanks!
Veras (1, 2, 3, Lite, Plus), lots of different Z-Wave modules, Luup plugins and theater/security integration.

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #2 on: May 05, 2009, 08:24:19 pm »
Quote
The user adds his infrared transmitter/receiver, such as plugging a Global Cache gc100 into his LAN, or a USBUIRT into the extra USB port on his Vera
Since you mention gc100 and USBUIRT... sigh...
C'mon people, how many customers have wired Ethernet at home these days to connect gc100? USBUIRT is nice too, but how many people put Vera in the same room where The Big Screen TV is located? Technically it's all amazing, but this is not a IR solution as it is now.

Offline denix

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1087
  • Karma: +1/-0
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #3 on: May 05, 2009, 09:57:02 pm »
So, what do you suggest? I do remember our early discussion on "satellites". But I would assume MCV has to start something. gc100 seems like a low hanging fruit, as it is supported by parent projects - pluto and linux-mce...
Veras (1, 2, 3, Lite, Plus), lots of different Z-Wave modules, Luup plugins and theater/security integration.

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #4 on: May 05, 2009, 10:29:56 pm »
My concern is that this fruit makes an illusion that "we offer IR support". My suggestion - if you're going to do something, do it properly and well - or don't do. For IR support it better to start from analyzing real world use cases, and not from the other - technical - side. 

Offline esc

  • Sr. Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #5 on: May 06, 2009, 05:54:26 am »
Quote
The user adds his infrared transmitter/receiver, such as plugging a Global Cache gc100 into his LAN, or a USBUIRT into the extra USB port on his Vera
Since you mention gc100 and USBUIRT... sigh...
C'mon people, how many customers have wired Ethernet at home these days to connect gc100? USBUIRT is nice too, but how many people put Vera in the same room where The Big Screen TV is located? Technically it's all amazing, but this is not a IR solution as it is now.

Vera is small. I will move it to the living room, hide it behind the bookshelve and a small cable to the IR transmitter will do all the magic... Looking forward to it! And the best: it will cost something like 6 Euros...

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
LUA and remote IR module
« Reply #6 on: May 06, 2009, 12:38:57 pm »
Question on LUA:

I was thinking to put a little Ubuntu box with USB-UIRT in the living room, connected over wifi, and to have Vera to control AV equipment remotely. Is it possible?

What software would be required on the Ubuntu box? Is it LinuxMCE media director, right?

Is there any way to run it on OpenWRT platform?
« Last Edit: May 06, 2009, 04:55:31 pm by 325xi »

Offline denix

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1087
  • Karma: +1/-0
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #7 on: May 06, 2009, 11:32:51 pm »
You should be able to achieve it with OpenWRT on a similar cheap Asus 11g WiFi router. You'd need to deal with cross-compilation and such, but it's doable.
Veras (1, 2, 3, Lite, Plus), lots of different Z-Wave modules, Luup plugins and theater/security integration.

Offline denix

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1087
  • Karma: +1/-0
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #8 on: May 06, 2009, 11:34:37 pm »
Vera is small. I will move it to the living room, hide it behind the bookshelve and a small cable to the IR transmitter will do all the magic... Looking forward to it! And the best: it will cost something like 6 Euros...

Hey, are there gc100 devices sold in Europe for 6 euros??? I want a dozen!!! :)
Veras (1, 2, 3, Lite, Plus), lots of different Z-Wave modules, Luup plugins and theater/security integration.

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #9 on: May 06, 2009, 11:44:21 pm »
You should be able to achieve it with OpenWRT on a similar cheap Asus 11g WiFi router. You'd need to deal with cross-compilation and such, but it's doable.

What about plain old Ubuntu?
I couldn't find if this config (USB-UIRT plugged into media director or any box other then the core) is possible on LinuxMCE, but if it is, then it should work with Vera too... Sigh, where are MCV guys?..


Offline denix

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1087
  • Karma: +1/-0
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #10 on: May 06, 2009, 11:57:56 pm »
What about plain old Ubuntu?
I couldn't find if this config (USB-UIRT plugged into media director or any box other then the core) is possible on LinuxMCE, but if it is, then it should work with Vera too...

I believe so, as it was mentioned in one of the promotional videos of LinuxMCE (unless it was gc100). But I'm not using it myself, so I maybe wrong.

Sigh, where are MCV guys?..

That is a good question!
Veras (1, 2, 3, Lite, Plus), lots of different Z-Wave modules, Luup plugins and theater/security integration.

Offline nolos

  • Full Member
  • ***
  • Posts: 191
  • Karma: +0/-0
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #11 on: May 07, 2009, 12:48:24 am »
point USB-UIRT at a powermid transmitter like an inch away and put a powermid receiver in any room u want to get the ir....DONE

Offline denix

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1087
  • Karma: +1/-0
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #12 on: May 07, 2009, 02:59:35 am »
Hmm, every little piece of equipment (in this case transmitter and receiver) requires own separate wallwart power supply - when would they invent wireless power? :)
Veras (1, 2, 3, Lite, Plus), lots of different Z-Wave modules, Luup plugins and theater/security integration.

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #13 on: May 09, 2009, 03:38:30 pm »
I suppose they use simplest RF, so your neighbor will switch you channels :)
C'mon, we're talking about a proper (though simple) way to include IR distribution into Vera ecosystem, not some cheap patch that can break any minute.

Offline nolos

  • Full Member
  • ***
  • Posts: 191
  • Karma: +0/-0
Re: LuaUPnP discussion -- the next big feature in Vera
« Reply #14 on: May 11, 2009, 03:02:46 pm »
how about a simple little z-wave module that you plug into an outlet and it has a output jack for an emitter? Vera could send the signal to it via z-wave and the module could convert it to IR