News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

EIB and Events/Ruby Code

Started by avajon, September 11, 2007, 05:23:45 PM

Previous topic - Next topic

avajon

Hi,

does anybody know how i can Add Ruby Codes to the EIB-Interface (Device Template 49)?
I want to add some logging feature because all the thermostats and switches are sending infos to the BUS and i want to save them in a database. So i can see in the future how the temperature was in the summer, winter, the last days or over the whole year... I also want to save when a light switch was pressed (to update the state in lmce). This data can be used to simulate people in the house when you are in holiday...

thanks
avajon

nite_man

I suspect that it's impossible. EIB doesn't use GSD at all. So, you cannot attach to it Ruby handler. I head about possibility to add Ruby code to the events definition but I couldn't fine the actual place to do it.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]