Weinzierl KNX BAOS Module 838 kBerry ... with OH2 and KNX2

Hi all,

I bought some time ago the Weinzierl KNX BAOS Module 838 kBerry … hoping to make this run with OH2.

The goal was to have all on board to connect to the KNX BUS - without additional hardware.

Today I sat down - and could make it run.
What to do:

  • I am running: openHAB 2.3.0 Build #1268 - but earlier versions might work already
  • run “sudo openhabian-config” and install “optional Components” --> 27 - knxd
  • edit sudo nano /etc/default/knxd
  • change one line to: KNXD_OPTIONS="–eibaddr=1.1.44 --client-addrs=1.1.45:5 -d -D -T -R -S -i --listen-local=/tmp/knx -b ft12cemi:/dev/ttyAMA0"
    –> careful: the line does not end with tpuarts …
  • (1.1.44 is the pysical address of the module, 1.1.45… are more clients - must be free in KNX)

After changing knx.things to the local ipaddress and the free address 1.1.99 it is running !!
(my openhabian is …129)
Bridge knx:ip:bridge [
ipAddress=“192.168.1.129”,
portNumber=3671,
localIp=“192.168.1.129”,
type=“TUNNEL”,
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=1,
localSourceAddr=“0.0.0”
] { …here the devices …
}

More beef at:

… Great !!! Thanks all for your support
Greetings
Michael

(pls move this topic if needed …)

1 Like

Can I change localIP and ipAddress to 127.0.0.1? Or use dns name?

Dear Michael,

I have also this module.
I think you can make it work with KNXD, but i think Knxd is diffucult to configure and make the project.
Because some installers had written as this.
So i want to work it with new paper ui and its knx binding.
I have installed it with new openhab and tried so hard, it seems green now in things page.
But it doesn’t control the Knx equipment, i think there is a small problem, so it can’t work.
How can i work it ?
Is there anybody who can help me?

Thanks,

Hi Mehmet,

yes - knxd has many options, but the installation via the openhab config and the change of /etc/default/knxd is all what I did - plus a reboot.

DON’t get confused by paperUI messages. Only the gateway is online - and this is what you shoud achieve frist.
The device/devices can be unknown or offline.
Just start with a simple switch …

Is the green LED on the board flashing that you see traffic?!!

Michael

Yes it is flashing when i pushed the normal knx switch.
also when i created the simple switch item via paper ui and want to control over “control” section in paper ui, its host led is blinking but knx led is not.

Is the gateway in the list of things and online? This is the frist step.

Yes i have added it via paper ui as Knx FT 1.2 gateway and i have selected the ttyAMA0.

My knx.thing file looks like this (…129 is the raspberry pi)

Bridge knx:ip:bridge [
ipAddress=“192.168.1.129”,
portNumber=3671,
localIp=“192.168.1.129”,
type=“TUNNEL”,
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=1,
localSourceAddr=“0.0.0”
] {

Thing device generic_1_1_14 "KNX 1.1.14" @ "KNX" [  address="1.1.14", fetch=true, pingInterval=0, readInterval=3600 ] 
{
    Type switch : ze_ruheschaltung 			"Türklingel"					[ ga="0/3/6" ]
}}

Hello Michael

I think you had installed the knxd.
I haven’t intalled it.
I have just installed the knx 2.3 binding via paper ui.
And my thing file is already empty.
So what should i do?
And i want to learn this, can i work the kberry with openhab knx binding or can’t?

Thanks for your kindly answers

OK … now we are in synch …

Open a command line and enter: sudo openhabian-config
Select: 20 - Optional Components
Select: 27 - knxd
Answer the question: Perform patch with “N”
… get a pizza / wait at least 45 min …
Now
edit sudo nano /etc/default/knxd
change one line to: KNXD_OPTIONS="–eibaddr=1.1.44 --client-addrs=1.1.45:5 -d -D -T -R -S -i --listen-local=/tmp/knx -b ft12cemi:/dev/ttyAMA0"
Reboot and type: ps -eaf | grep knxd
You should see the knxd running …

Enjoy!

Ok.Understood
I will install it.
But i want to ask you, without knxd, with openhab 2.3 knx binding, isn’t it possible to run kberry?

Thanks

Dear Michael,

I have installed the Knxd and created the things file.
So how should i create the item and sitemap file,
Is there any example, could you send yours ?

Thanks,


Knxd gives error

Did you do all the steps from the top of this page?
Have you applied the changes to /etc/default/knxd ?

yes
I think the error changed

My knxd file

And thing file

Bridge knx:ip:bridge [
ipAddress=“127.0.0.1”,
portNumber=3671,
localIp=“10.1.1.54”,
serialPort="/dev/ttyAMA0",
type=“TUNNEL”,
ignorelocalevents=true,
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=1,
localSourceAddr=“1.1.44”
] {
Thing knx:device:bridge:generic {
Type switch-control : demoswitch1 “demoswitch1” [ ga="<2/0/8" ]

         }
   }

:wink:

The knxd file:
The “#” at the beginning of each line makes this a comment.
So this file contains a number of comments - just remove the # and the blank in front of line 2 … to activate this line.

reboot and look for knxd running

Is it true now ?

I think it is working now, but it made a lot of bus traffic.


Hello Michael,

It is working ok., but it is making non necessary bus traffic.
Is there any solution for this problem ?

Thanks