Domotiga and KNX/EIB configure problem

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

peevee
Starting Member
Starting Member
Posts: 13
Joined: Fri Jan 01, 2010 3:52 pm
Location: Prinsenbeek
Contact:

Domotiga and KNX/EIB configure problem

Post by peevee »

Hi all,

I'm new at this forum as i am with Domotiga.

First some background info...
I've installed Domotiga with the following setup:
Ubuntu - 9.10
Gambas - 2.18
Domotiga - 0.1.178
EIBD - latest versions (installed with packet manager)

I have a KNX/EIB setup installed with Hager and ABB components.

My problem...
So far everything went fine, but now i would like to configure a knx device in Domotiga but i keep getting an error.
Device i'm trying to create is a KNX on/off, type EIS1 with interface KNX/EIB Interface.
This interface is configured. The error message i receive is: "Selected interface does not support this devicetype!".

The question...
Can anyone tell me what i'm doing wrong and how i can solve this issue?

Regard, Perry.
Regards, Perry.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by RDNZL »

Hi Perry,

Welcome to the club!
You have done nothing wrong. In fact you did something right, you have reported a bug. 8)

You can fix it like this;

$ mysql -u root -p
USE domotiga;
UPDATE interfaces SET type = "KNX/EIB" WHERE id = 13;
QUIT

And it should work now.

BTW I will get a new version out today or tomorrow.
Regards, Ron.
peevee
Starting Member
Starting Member
Posts: 13
Joined: Fri Jan 01, 2010 3:52 pm
Location: Prinsenbeek
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by peevee »

Hello Ron,

Indeed this did the trick!
I can now configure the KNX/EIB devices.

Thanks for your reply.

Regards, Perry.
Regards, Perry.
peevee
Starting Member
Starting Member
Posts: 13
Joined: Fri Jan 01, 2010 3:52 pm
Location: Prinsenbeek
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by peevee »

Hello,

Can anyone help me with configuration of KNX/EIB in Domotiga and EIBD.

I've just installed an ABB IPS/S2.1 IP interface (ipnumber: 192.168.1.30 port: 3671) connected to my KNX installation.
In order to connect EIBD to the interface i ran the following command: sudo eibd -d -D -S -T -i ipt:192.168.1.30:3671
After entering the command it jumps right back to the prompt (don't know if it's suppose to do this!?)
What are the correct settings for EIBD and how can i test if the deamon is running!?

An other problem i'm having, is to change the KNX/EIB settings - port number, within the Domitiga software.
The port keeps defaulting back to 6720 (i think i need to set it to 3671).
Looking at the debug log, it keeps comming back with this message: KNX/EIB: Unable to connect to eibd. Connection refused
What are the correct settings in Domotiga?

Appreciate any help.

Kind regards,
Perry.
Regards, Perry.
peevee
Starting Member
Starting Member
Posts: 13
Joined: Fri Jan 01, 2010 3:52 pm
Location: Prinsenbeek
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by peevee »

Eventually solved these issue's. :D
With regard to the eibd, i needed to configure the install with option --enable-eibnetiptunnel. Once this was done, eibd started.
Also the connection to eibd from Domotiga works now. I'm connecting to IP 127.0.0.1 and port 6720.

The next problem is to create a working KNX device in Domotiga. :oops:
I've created an on/off device with ID 1/0/1 at value 1 i've entered - On .
But when Domotiga gets an eibd update it crashes with the following error:
[6] Type mismatch: wanted String,
got String[] instead.
CEIB.Lookup_EIS.137


Did i mis-configure the device?

Any hints are welcome!
Last edited by Digit on Sat Jan 30, 2010 10:00 am, edited 1 time in total.
Reason: No need to use quote
Regards, Perry.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by RDNZL »

I will add these ABB IPS/eibd related instructions to the wiki, thanks.

About the error, do you also get it if you check the device option 'device can be switched' for that KNX device and them control it via the Control page button?

Could you post the contents of the variable on line 137 in CEIB.class, you can get it by selecting it with your left mouse button inside the IDE after the error. (if you run DomotiGa in standalone mode)

Since I didn't wrote the module and have no KNX hardware it's difficult to debug it, maybe you can forward a public ip/port to your eibd port for a moment, so I can connect my DomotiGa remotely to it, and debug from there.

If you want that mail me the data, you can find my e-mail address on the contact page of the website.
You can also use that to reach me by google talk.
Regards, Ron.
peevee
Starting Member
Starting Member
Posts: 13
Joined: Fri Jan 01, 2010 3:52 pm
Location: Prinsenbeek
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by peevee »

Ron,

I've tried to make the device switchable and got the same result.
Contents of the variables at line 137 are:
sAddress="0/1/0"
sReceived contains an Array with 503 items, all containing"00"

I'll try and fix external access to the eibd.

Regards, Perry.
Regards, Perry.
Merdeka
Member
Member
Posts: 65
Joined: Sun May 10, 2009 11:16 pm
Location: Netherlands
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by Merdeka »

Ron,

Can you forward the data to me? I'll have a look at it.

Timo
Merdeka
Member
Member
Posts: 65
Joined: Sun May 10, 2009 11:16 pm
Location: Netherlands
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by Merdeka »

peevee wrote:Eventually solved these issue's. :D
With regard to the eibd, i needed to configure the install with option --enable-eibnetiptunnel. Once this was done, eibd started.
Also the connection to eibd from Domotiga works now. I'm connecting to IP 127.0.0.1 and port 6720.

The next problem is to create a working KNX device in Domotiga. :oops:
I've created an on/off device with ID 1/0/1 at value 1 i've entered - On .
But when Domotiga gets an eibd update it crashes with the following error:
[6] Type mismatch: wanted String,
got String[] instead.
CEIB.Lookup_EIS.137


Did i mis-configure the device?

Any hints are welcome!

Perry,

Can you try to delete line 137 completely in CEIB.class:

Main.WriteDebugLog(("[KNX/EIB] EIS Unknown: ") & sAddress & " " & sReceived)

Then try again and get back to me?

Timo
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by RDNZL »

Timo, I have sent you some details about my findings per e-mail.
Regards, Ron.
peevee
Starting Member
Starting Member
Posts: 13
Joined: Fri Jan 01, 2010 3:52 pm
Location: Prinsenbeek
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by peevee »

Hi Timo,

Indeed the error message is gone when i delete line 137.
But the problem still exists, i think it's has something to do with address creation/translation.

Perry.
Regards, Perry.
WEDOS-KNX
Starting Member
Starting Member
Posts: 5
Joined: Tue May 18, 2010 2:16 pm

Re: Domotiga and KNX/EIB configure problem

Post by WEDOS-KNX »

Hello,

I tested last version of Domotiga with my KNX - Siemens n148/21 and EIBd and my addresses 1/0/XX ... and the addresses are not correctly translated because if I am using 1/0/XX the result for EIBd is 2/0/XX ... if I tested 2/0/XX the result is 4/0/XX...
0/0/XX is working but another version not....
Can you help me?
Regards,
peevee
Starting Member
Starting Member
Posts: 13
Joined: Fri Jan 01, 2010 3:52 pm
Location: Prinsenbeek
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by peevee »

Hi WEBDOS-KNX,

The addressing part is something we've been working on a few months ago.
In a test environment we got the addressing working for EIS1 devices. Merdeka said he would rewrite the whole KNX module.
I think he's busy with other things at this moment, because i didn't hear from him for a few months now.

I'm not a good programmer myself, so i can't fix this issue either.
We're delivered at the mercy of the programming guru's in this world. Hope someone can pickup this problem!

Grtz.
Regards, Perry.
WEDOS-KNX
Starting Member
Starting Member
Posts: 5
Joined: Tue May 18, 2010 2:16 pm

Re: Domotiga and KNX/EIB configure problem

Post by WEDOS-KNX »

Hi,
I know... I can not help because I am user only.
Currently I am using MisterHouse but Domotiga is my No.:1... but our house is KNX/EIB and without better addressing we can not continue.

We must wait.

WEDOS
Last edited by Digit on Thu Jun 10, 2010 11:21 pm, edited 1 time in total.
Reason: No need to use quote
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: Domotiga and KNX/EIB configure problem

Post by RDNZL »

I missed out that last addressing code update from Timo, couldn't find it in my mail achive either.

@peevee can you mail me you last CEIB.class file?
Regards, Ron.
Post Reply

Return to “DomotiGa Forum”