Author Topic: Problem with bash-dce-knx  (Read 13676 times)

rages

  • Guru
  • ****
  • Posts: 182
    • View Profile
Re: Problem with bash-dce-knx
« Reply #15 on: May 13, 2009, 09:04:35 pm »
Hello Hari, I have a lot of KNX Hardware for test (argus, thermostat, light sensor, LOGO! Siemens whit gateway, Dali gateway, and more .. ) and a core alpha 8.10, but I'm not a programmer.
 If you want to try to explain what I do, I can do the tests in my freetime.

Emanuele

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Problem with bash-dce-knx
« Reply #16 on: May 13, 2009, 09:12:50 pm »
Heya,

this is the wiki page from guigolum:
http://wiki.linuxmce.org/index.php/EIB(guigolum_version)

I've imported the bits into the 0810 branch: http://trac.linuxmce.org/trac.cgi/ticket/202

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

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Problem with bash-dce-knx
« Reply #17 on: May 13, 2009, 09:14:50 pm »
Hi Emanuele,

Hello Hari, I have a lot of KNX Hardware for test (argus, thermostat, light sensor, LOGO! Siemens whit gateway, Dali gateway, and more .. ) and a core alpha 8.10, but I'm not a programmer.
"being programmer" is not a state but a path :-)

Quote
If you want to try to explain what I do, I can do the tests in my freetime.
sounds very good, look at my previous post. I'm sure we can get this to work.

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

rages

  • Guru
  • ****
  • Posts: 182
    • View Profile
Re: Problem with bash-dce-knx
« Reply #18 on: May 14, 2009, 05:32:20 pm »
Hi, I have a lot of devices because I am an electrician KNX Partners.

I have many devices installed in my new apartment and a core whit i386 Linuxmce 8.10 alpha and a MD atom dual core.

Hari the first link it's empty.

You can write the commands that I use to install all that I need? As I said I'm not a programmer  :(

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Problem with bash-dce-knx
« Reply #19 on: May 14, 2009, 06:07:15 pm »
you need to add a ) to that link..
rock your home - http://www.agocontrol.com home automation

Schmich

  • Veteran
  • ***
  • Posts: 116
    • View Profile
Re: Problem with bash-dce-knx
« Reply #20 on: May 14, 2009, 06:26:50 pm »
Hari the first link it's empty.
Close the bracket, ), for the link. The URL didn't get it all: http://wiki.linuxmce.org/index.php/EIB(guigolum_version)

rages

  • Guru
  • ****
  • Posts: 182
    • View Profile
Re: Problem with bash-dce-knx
« Reply #21 on: May 14, 2009, 09:07:45 pm »
hi,

I have already blocked the first step ... I add
 
deb http://www.auto.tuwien.ac.at/~mkoegler/debian eib main
deb-src http://www.auto.tuwien.ac.at/~mkoegler/debian eib main

into /etc/apt/sources.list, but it replied that I do not have the public key when I upgrade my core.

Always ask excuse for my bad English by google translator.  ;D


rages

  • Guru
  • ****
  • Posts: 182
    • View Profile
Re: Problem with bash-dce-knx
« Reply #22 on: May 15, 2009, 04:44:19 pm »
ok, rereading I think I better understand what to do.

http://

Later I try to install eibd.

But after installing eibd as I can test something? in short, what is the next step?

Emanuele

rages

  • Guru
  • ****
  • Posts: 182
    • View Profile
Re: Problem with bash-dce-knx
« Reply #23 on: May 15, 2009, 08:43:27 pm »
OK,

eibd is in my core 8.10  :)

  I await new instructions



Emanuele



hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Problem with bash-dce-knx
« Reply #24 on: May 16, 2009, 11:38:27 am »
now compile the dce device..
rock your home - http://www.agocontrol.com home automation

jbr

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Problem with bash-dce-knx
« Reply #25 on: May 16, 2009, 03:20:51 pm »
it is a DCE wrapper around eibd. Regarding the author it is bi-directional, but I could not verify it as I have no KNX hardware. We need to integrate the patch(es) from that mantis ticket into the 0810 devel branch.

This is the devel thread of the eibd based driver: http://forum.linuxmce.org/index.php?topic=5648.0

It is based on the existing template, so we should be able to compile it as 1:1 replacement for the shipped driver. I'm just looking at the old mantis bug tracking to collect the needed pieces.

br, Hari

Ok, I have to admit that there are parts of this that is greek to me... But I will start with the core and then work on from there.
I'm following this with great interest, it would be fantastic to get this to run smoothly with KNX.

br, Jbr
« Last Edit: May 17, 2009, 10:44:46 pm by jbr »

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Problem with bash-dce-knx
« Reply #26 on: May 18, 2009, 06:54:09 pm »
ok, as guigolum said we need to add device data to the template, both strings:
DATA_Get_bus_type
DATA_Get_bus_address

I was able to compile the dce device in the 0810 trunk after faking those values and compiling/installing the bcusdk for the needed header files. I should receive a few EIB devices like power supply and ft1.2 interface these days. But if you want me to seriously work on and test this driver, somebody should send me a few devices (sensors/actuators) to test (somebody was writing about good connections to a vendor).

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

rages

  • Guru
  • ****
  • Posts: 182
    • View Profile
Re: Problem with bash-dce-knx
« Reply #27 on: May 19, 2009, 09:00:05 am »
Hi,

Sorry, but this weekend I was very involved with the buy of my kitchen.
Hari, I do not understand how I have to ...
I have to download the files from the trac?
And after?

You could not write the commands to be executed?
« Last Edit: May 19, 2009, 11:09:42 am by rages »

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Problem with bash-dce-knx
« Reply #28 on: May 24, 2009, 10:26:11 am »
just got some KNX equipment and was playing with guigolums code on 0810. I've stripped off the eibd spawning thread and was able to control an actuator from lmce utilizing "eibd" as KNX interface.

I'll provide status on my progress here: http://forum.linuxmce.org/index.php?topic=5648.0

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