Author Topic: [Solved] KNX IP ROUTER 750  (Read 3818 times)

brononius

  • Guru
  • ****
  • Posts: 381
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
[Solved] KNX IP ROUTER 750
« on: July 18, 2011, 07:05:23 pm »
Hey,

To control my home automation, i've got a KNX IP ROUTER 750.
Basically, this convert my ethernet network with the EIB.

Can you give me a hint how i can insert this into linuxmce in order to work?
« Last Edit: August 23, 2011, 03:10:09 pm by brononi »
Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3059
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: KNX IP ROUTER 750
« Reply #1 on: July 18, 2011, 07:49:25 pm »

brononius

  • Guru
  • ****
  • Posts: 381
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
Re: KNX IP ROUTER 750
« Reply #2 on: July 22, 2011, 10:10:39 pm »
Yes, indeed, that helped me started. I had contact with the maker of the eibd stuff since somewhere there was a mistake to start it (apperantly a file /tmp/eib wasn't created, but this has yet to be confirmed).

I was able to install the eibd with following:

Code: [Select]
/usr/bin/eibd -D -T -R -S -i -u --eibaddr=1.1.11 --daemon=/var/log/eibd.log ipt:192.168.111.21

In here, the eib addres for the IP gateway is the 1.1.11, and his IP is the 192.168.111.21.
I'm not sure if the eib address must be in there, but better safe then sorry?

All my lights are already working through the ETS software. So i'm focussing for the moment on 1 light, with the address 1/1/211.

I added this as a normal light (template 37).
Port/Channel Number is set to 1/1/211
But with the test command ON / OFF, nothing happens.

The thing that i'm not sure about, is the 'Controlled By: EIB' option. That EIB has been added by me (template 49), but i'm not sure if this is correct. I don't understand the wiki part about 'Use EIBd'.  :(
Because when i check my device tree, this has some COM setting. Is this correct?

In my eibd log, i just see some 'heartbeats?
Code: [Select]
/usr/bin/eibd -D -T -R -S -i -u --eibaddr=1.1.1 -t1034 ipt:192.168.111.21
Layer 3(09F41290,4E29D38F) Open
Layer 3(09F41290,4E29D38F) registerBroadcast 09F71CD0
Layer 3(09F41290,4E29D38F) registerBroadcast 09F71CD0 = 1
Layer 3(09F41290,4E29D38F) registerGroup 09F71CD0
Layer 3(09F41290,4E29D38F) registerGroup 09F71CD0 = 1
Layer 3(09F41290,4E29D38F) registerIndividual 09F71CD0 0
Layer 3(09F41290,4E29D38F) registerIndividual 09F71CD0 = 1
Layer 1(09F20B78,4E29D38F) Send(020): 08 01 C0 A8 6F 01 0E 58 08 01 C0 A8 6F 01 0E 58 04 04 02 00
Layer 1(09F20B78,4E29D38F) Recv(014): 4B 00 08 01 C0 A8 6F 15 0E 57 04 04 FF FF
Layer 1(09F20680,4E29D3AD) Heartbeat
Layer 1(09F20B78,4E29D3AD) Send(010): 4B 00 08 01 C0 A8 6F 01 0E 58
Layer 1(09F20B78,4E29D3AD) Recv(002): 4B 00
Layer 1(09F20680,4E29D3CB) Heartbeat
Layer 1(09F20B78,4E29D3CB) Send(010): 4B 00 08 01 C0 A8 6F 01 0E 58
Layer 1(09F20B78,4E29D3CB) Recv(002): 4B 00
Layer 1(09F20680,4E29D3E9) Heartbeat
Layer 1(09F20B78,4E29D3E9) Send(010): 4B 00 08 01 C0 A8 6F 01 0E 58
Layer 1(09F20B78,4E29D3E9) Recv(002): 4B 00
Layer 1(09F20680,4E29D407) Heartbeat
Layer 1(09F20B78,4E29D407) Send(010): 4B 00 08 01 C0 A8 6F 01 0E 58
Layer 1(09F20B78,4E29D407) Recv(002): 4B 00
Layer 1(09F20680,4E29D425) Heartbeat
Layer 1(09F20B78,4E29D425) Send(010): 4B 00 08 01 C0 A8 6F 01 0E 58
Layer 1(09F20B78,4E29D425) Recv(002): 4B 00
Layer 1(09F20680,4E29D443) Heartbeat
Layer 1(09F20B78,4E29D443) Send(010): 4B 00 08 01 C0 A8 6F 01 0E 58
Layer 1(09F20B78,4E29D443) Recv(002): 4B 00
Layer 1(09F20680,4E29D461) Heartbeat
Layer 1(09F20B78,4E29D461) Send(010): 4B 00 08 01 C0 A8 6F 01 0E 58
Layer 1(09F20B78,4E29D461) Recv(002): 4B 00
Layer 1(09F20680,4E29D47F) Heartbeat
Layer 1(09F20B78,4E29D47F) Send(010): 4B 00 08 01 C0 A8 6F 01 0E 58
Layer 1(09F20B78,4E29D47F) Recv(002): 4B 00
Layer 1(09F20680,4E29D49D) Heartbeat

I would suspect that once i click 'test ON', something extra should happen here?




Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3059
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: KNX IP ROUTER 750
« Reply #3 on: July 23, 2011, 10:08:59 am »
1/2/211 <== is that the group address for ON/OFF

Did you follow this: <http://wiki.linuxmce.org/index.php/EIB/KNX_with_eibd#Adding_a_light_switch>

EDIT: Another question: Are you running 1004 or 810?
« Last Edit: July 23, 2011, 10:19:51 am by posde »

brononius

  • Guru
  • ****
  • Posts: 381
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
Re: KNX IP ROUTER 750
« Reply #4 on: July 23, 2011, 12:47:28 pm »
It should be. :$

  • ETS: To be sure, I've created new groups. Exactly the same as the example, and put the light (output) in there.
    But i'm a bit lost here. The wiki says "on/off" and "read status". In ETS, i can only drag/drop the output of the light in that group. So i'm not sure what must be done in here.
    I've changed the flags for this output to Communication/Read/Write/Transmit. Don't know if this has anything to do with it?
    So for 0/0/1 i've added OutputD of 1.1.31
    And for 0/0/2, I've added OutputD of 1.1.31

  • LinuxMCE: In the PORT/CHANNEL number, i add 0/0/1|0/0/2

But nothing happens when i push the Test command ON/OFF.  ???
Shouldn't i see more details in the debug of the eibd when i push the but On/off in the webmin? Or is there another log that i can check if the communication is going correctly?

Version is 8.10
« Last Edit: July 23, 2011, 12:54:02 pm by brononi »
Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

brononius

  • Guru
  • ****
  • Posts: 381
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
Re: KNX IP ROUTER 750
« Reply #5 on: July 23, 2011, 01:55:24 pm »
When i check the log-files, i see:

Code: (tail -f 37_EIB.log) [Select]

01 07/23/11 13:48:29.388 Failed Opening EIB serial port: ttyS0 <0xb6197b90>
01 07/23/11 13:48:34.388 Failed Opening EIB serial port: ttyS0 <0xb6197b90>
01 07/23/11 13:48:39.389 Failed Opening EIB serial port: ttyS0 <0xb6197b90>
...

Code: (tail -f 43_EIB.log) [Select]

01 07/23/11 13:49:48.427 Failed Opening EIB serial port: ttyS0 <0xb60b4b90>
01 07/23/11 13:49:53.427 Failed Opening EIB serial port: ttyS0 <0xb60b4b90>
01 07/23/11 13:49:58.427 Failed Opening EIB serial port: ttyS0 <0xb60b4b90>
01 07/23/11 13:50:03.427 Failed Opening EIB serial port: ttyS0 <0xb60b4b90>


Since it's EIB over ethernet, there's something wrong?
Must i match somewhere the EIB drver to the eibd that runs in the background?
Or is this done automaticlly?
Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3059
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: KNX IP ROUTER 750
« Reply #6 on: July 24, 2011, 12:43:12 pm »
your setup looks correct. What you are experiencing is the fact that we still haven't packaged the EIB-eibd plugin.

Under http://deb.linuxmce.org/dists/intrepid/EIB you find the EIB device. Copy it into /usr/pluto/bin restart your system, and see what happens.

brononius

  • Guru
  • ****
  • Posts: 381
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
Re: KNX IP ROUTER 750
« Reply #7 on: July 24, 2011, 02:02:07 pm »
Under http://deb.linuxmce.org/dists/intrepid/EIB you find the EIB device. Copy it into /usr/pluto/bin rest...

Is it possible that this link isn't 100% correct? I'm not able to open it...  :-[
Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

brononius

  • Guru
  • ****
  • Posts: 381
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
Re: KNX IP ROUTER 750
« Reply #8 on: July 29, 2011, 05:39:11 pm »
Anybody an idea how i can go on with this?

Isn't there a log where i can see if the commands for the eib(d) are getting through?
Or is there something else i can try?



I really want to give linuxmce a try (i love the concept).
But if it doesn't work, it doesn't work... And i'll have to search for another solution.  :-[
Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3059
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: KNX IP ROUTER 750
« Reply #9 on: July 29, 2011, 05:53:07 pm »

brononius

  • Guru
  • ****
  • Posts: 381
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
Re: KNX IP ROUTER 750
« Reply #10 on: July 30, 2011, 07:42:43 am »

i don't see the difference... :$

Is it me, or does my computer read it wrong... ;)
Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: KNX IP ROUTER 750
« Reply #11 on: July 30, 2011, 11:10:39 am »
this is the correct link: http://deb.linuxmce.org/ubuntu/dists/intrepid/EIB

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

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3059
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: KNX IP ROUTER 750
« Reply #12 on: July 30, 2011, 01:30:28 pm »
Thanks hari - I must have been out of caffeine

brononius

  • Guru
  • ****
  • Posts: 381
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
Re: KNX IP ROUTER 750
« Reply #13 on: July 30, 2011, 01:50:33 pm »
Hey,

I can confirm, now the link is working.
And it seems that this does something more... I got some output when i now push button. More then he did before.
Now figuring out what i'm doing wrong.

Through a console, i run:   /usr/bin/eibd -D -T -R -S -i -u -t1023 ipt:192.168.111.21

By the webinterface (lights)

When i tried to activate (ON) the light:
Code: [Select]
Layer 8(09C76060,4E33EEF9) RecvMessage(006): 00 27 00 00 00 81
Layer 7(09C87524,4E33EEF9) Send(002): 00 81
Layer 4(09C760A8,4E33EEF9) Send GroupSocket T_DATA_XXX_REQ A_GroupValue_Write (small) 01
Layer 3(09C24290,4E33EEF9) Send L_Data low from 0.0.0 to 0/0/0 hops: 07 T_DATA_XXX_REQ A_GroupValue_Write (small) 01
Layer 2(09C03680,4E33EEF9) Send L_Data low from 0.0.0 to 0/0/0 hops: 07 T_DATA_XXX_REQ A_GroupValue_Write (small) 01
Layer 1(09C03680,4E33EEF9) SendTunnel(015): 04 46 03 00 11 00 BC F0 00 00 00 00 01 00 81
Layer 1(09C03B78,4E33EEF9) Send(015): 04 46 03 00 11 00 BC F0 00 00 00 00 01 00 81
Layer 0(09C03B78,4E33EEF9) Send(021): 06 10 04 20 00 15 04 46 03 00 11 00 BC F0 00 00 00 00 01 00 81
Layer 2(09C03680,4E33EEF9) Recv L_Data low from 0.0.0 to 0/0/0 hops: 07 T_DATA_XXX_REQ A_GroupValue_Write (small) 01
Layer 3(09C24290,4E33EEF9) Recv L_Data low from 0.0.0 to 0/0/0 hops: 07 T_DATA_XXX_REQ A_GroupValue_Write (small) 01
Layer 8(09C54CD0,4E33EEF9) Send_Route L_Data low from 0.0.0 to 0/0/0 hops: 06 T_DATA_XXX_REQ A_GroupValue_Write (small) 01
Layer 1(09C54D40,4E33EEF9) Send(011): 29 00 BC E0 00 00 00 00 01 00 81
Layer 0(09C54D40,4E33EEF9) Send(017): 06 10 05 30 00 11 29 00 BC E0 00 00 00 00 01 00 81
Layer 0(09C03B78,4E33EEF9) Recv(010): 06 10 04 21 00 0A 04 46 03 00
Layer 1(09C03B78,4E33EEF9) Recv(004): 04 46 03 00
Layer 0(09C03B78,4E33EEF9) Recv(021): 06 10 04 20 00 15 04 46 03 00 2E 00 BC F0 FF FF 00 00 01 00 81
Layer 1(09C03B78,4E33EEF9) Recv(015): 04 46 03 00 2E 00 BC F0 FF FF 00 00 01 00 81
Layer 1(09C03B78,4E33EEF9) Send(004): 04 46 03 00
Layer 0(09C03B78,4E33EEF9) Send(010): 06 10 04 21 00 0A 04 46 03 00


And with the 'off' command
Code: [Select]
Layer 8(09C76060,4E33EEFF) RecvMessage(006): 00 27 00 00 00 80
Layer 7(09C87524,4E33EEFF) Send(002): 00 80
Layer 4(09C760A8,4E33EEFF) Send GroupSocket T_DATA_XXX_REQ A_GroupValue_Write (small) 00
Layer 3(09C24290,4E33EEFF) Send L_Data low from 0.0.0 to 0/0/0 hops: 07 T_DATA_XXX_REQ A_GroupValue_Write (small) 00
Layer 2(09C03680,4E33EEFF) Send L_Data low from 0.0.0 to 0/0/0 hops: 07 T_DATA_XXX_REQ A_GroupValue_Write (small) 00
Layer 1(09C03680,4E33EEFF) SendTunnel(015): 04 46 04 00 11 00 BC F0 00 00 00 00 01 00 80
Layer 1(09C03B78,4E33EEFF) Send(015): 04 46 04 00 11 00 BC F0 00 00 00 00 01 00 80
Layer 0(09C03B78,4E33EEFF) Send(021): 06 10 04 20 00 15 04 46 04 00 11 00 BC F0 00 00 00 00 01 00 80
Layer 2(09C03680,4E33EEFF) Recv L_Data low from 0.0.0 to 0/0/0 hops: 07 T_DATA_XXX_REQ A_GroupValue_Write (small) 00
Layer 3(09C24290,4E33EEFF) Recv L_Data low from 0.0.0 to 0/0/0 hops: 07 T_DATA_XXX_REQ A_GroupValue_Write (small) 00
Layer 8(09C54CD0,4E33EEFF) Send_Route L_Data low from 0.0.0 to 0/0/0 hops: 06 T_DATA_XXX_REQ A_GroupValue_Write (small) 00
Layer 1(09C54D40,4E33EEFF) Send(011): 29 00 BC E0 00 00 00 00 01 00 80
Layer 0(09C54D40,4E33EEFF) Send(017): 06 10 05 30 00 11 29 00 BC E0 00 00 00 00 01 00 80
Layer 0(09C03B78,4E33EEFF) Recv(010): 06 10 04 21 00 0A 04 46 04 00
Layer 1(09C03B78,4E33EEFF) Recv(004): 04 46 04 00
Layer 0(09C03B78,4E33EEFF) Recv(021): 06 10 04 20 00 15 04 46 04 00 2E 00 BC F0 FF FF 00 00 01 00 80
Layer 1(09C03B78,4E33EEFF) Recv(015): 04 46 04 00 2E 00 BC F0 FF FF 00 00 01 00 80
Layer 1(09C03B78,4E33EEFF) Send(004): 04 46 04 00
Layer 0(09C03B78,4E33EEFF) Send(010): 06 10 04 21 00 0A 04 46 04 00

Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

brononius

  • Guru
  • ****
  • Posts: 381
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
Re: KNX IP ROUTER 750
« Reply #14 on: August 06, 2011, 02:22:51 pm »
Does anybody knows if something must be set in the 'IP router' itself in order to receive the commands?
I'm a bit afraid to change things on there. Don't want to mess up that thing, it's expensive enough...

http://www.weinzierl.de/download/products/750/KnxIP_Router_750_BMA_EN.pdf
Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02