Author Topic: eibd via USB  (Read 18573 times)

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: eibd via USB
« Reply #15 on: November 13, 2009, 05:03:51 pm »
hi avajon,
I have tried this last night but had no luck. The eibd is automatically starting (rcconf) through a script without issues. As mentioned above I am able turning on/off lights on a terminal using the groupswrite command (groupswrite ip:127.0.0.1 1/2/3 1). However, it didn't work with LinuxMCE. Was this new driver ever tested with USB? I'm considering now buying a RS232 FT1.2 (costs about 200€++ incl. the bus coupler) but I wonder whether this makes a lot of sense if LinuxMCE can't read from the bus. According to Hari's statement "… It will listen to the additional GAs, so no direct read, but it will state the change of the devices from those telegrams …". If I turn on a light using a switch and not LinuxMCE I guess LinuxMCE would not be aware of the current state of this light. Is this right?

there should be no difference between usb and rs232 if eibd supports the interface. You need to make sure to set the addrtab to zero (bcuaddrtab -w 0), and the BCU needs a configured PA. Read the readme file from guigolium on how to extend the port/address field with the additional GAs. After that it should state the change in LMCE when seeing the relevant telegrams on the bus.

br Hari
rock your home - http://www.agocontrol.com home automation

Lennox

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: eibd via USB
« Reply #16 on: November 18, 2009, 02:27:11 pm »
Hi hari,
Thanks for the fix. Where can I find it? Here http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/EIB-eibd/ or here http://svn.linuxmce.org/svn/trunk/src/EIB/ ?
What to I need to do to implement it?

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: eibd via USB
« Reply #17 on: November 18, 2009, 03:04:49 pm »
What kind of KNX/EIB PC interfaces and devices do you use guys? If it isn't secret of course :)

We currently use Tapko SIM-KNX's; http://www.tapko.de/uploads/tx_neofileshare/SIM-KNX_Documentation.pdf (There is a usb & serial version)

We use them with this software; http://wiki.linuxmce.org/index.php/Bash_dce_knx

All the best


Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: eibd via USB
« Reply #18 on: November 18, 2009, 04:57:28 pm »
Hi hari,
Thanks for the fix. Where can I find it? Here http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/EIB-eibd/
yes, this one. Just compile it, replace the original EIB binary, and make sure eibd is running (e.g. from rc.local). Read the docs in the source directory, it lists the needed GA for each child device (goes into port/channel).

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

avajon

  • Veteran
  • ***
  • Posts: 120
    • View Profile
Re: eibd via USB
« Reply #19 on: November 20, 2009, 01:29:30 pm »
hi hari,

you said "Just compile it" - is this so easy? I checked out the trunk version of EIB-eibd and tried to execute "make", but without luck. I think i have to do some preperations - but i don't know what to do. Is there an easy way to compile only this sources?