Page 1 of 3

Domotiga and KNX/EIB configure problem

Posted: Fri Jan 01, 2010 11:42 pm
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.

Re: Domotiga and KNX/EIB configure problem

Posted: Sat Jan 02, 2010 10:54 am
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.

Re: Domotiga and KNX/EIB configure problem

Posted: Sun Jan 03, 2010 11:06 am
by peevee
Hello Ron,

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

Thanks for your reply.

Regards, Perry.

Re: Domotiga and KNX/EIB configure problem

Posted: Thu Jan 28, 2010 11:49 pm
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.

Re: Domotiga and KNX/EIB configure problem

Posted: Sat Jan 30, 2010 1:05 am
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!

Re: Domotiga and KNX/EIB configure problem

Posted: Sat Jan 30, 2010 12:11 pm
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.

Re: Domotiga and KNX/EIB configure problem

Posted: Sat Jan 30, 2010 2:25 pm
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.

Re: Domotiga and KNX/EIB configure problem

Posted: Sun Jan 31, 2010 8:09 pm
by Merdeka
Ron,

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

Timo

Re: Domotiga and KNX/EIB configure problem

Posted: Sun Jan 31, 2010 8:27 pm
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

Re: Domotiga and KNX/EIB configure problem

Posted: Mon Feb 01, 2010 9:18 am
by RDNZL
Timo, I have sent you some details about my findings per e-mail.

Re: Domotiga and KNX/EIB configure problem

Posted: Tue Feb 02, 2010 6:46 pm
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.

Re: Domotiga and KNX/EIB configure problem

Posted: Tue May 18, 2010 2:33 pm
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,

Re: Domotiga and KNX/EIB configure problem

Posted: Mon May 31, 2010 3:24 pm
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.

Re: Domotiga and KNX/EIB configure problem

Posted: Thu Jun 10, 2010 7:38 pm
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

Re: Domotiga and KNX/EIB configure problem

Posted: Mon Jun 14, 2010 11:41 am
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?