Author Topic: EIB and Events/Ruby Code  (Read 3663 times)

avajon

  • Veteran
  • ***
  • Posts: 120
    • View Profile
EIB and Events/Ruby Code
« on: September 11, 2007, 05:23:45 pm »
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

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: EIB and Events/Ruby Code
« Reply #1 on: September 12, 2007, 02:22:30 pm »
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: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru