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

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

Dear Michael

Could you give me answer?
Is there any solution for this problem?

Regards

Hi!

No idea.
Check the address of the thing … on the bus 0.0.24 is writing something. Is this really comming from knxd ?

Michael

Hi Michael

There is no any group address or device except my knx push button, its group address is 2/0/8.
Yes it is coming from knxd, i am sure.
Because there is no any telegram when i connect to bus from other weinzierl ip interface.

Thanks

In the meantime,

I have written to email Weinzierl company.
I have tested their other baos serial gateway 870.
It is working with usb- serial ftdi gateway, no problem.
The binding of openhab can work it, but kberry doesn’t work.
Their support team is also working for this issue.
Mr.Karl from Weinzierl has written that that “it seems the openhab always uses EMI2 communication for a serial connection to KNX, the 870 uses also EMI2, but the kBerry uses cEMI. After a little research, openhab seems to use Calimero for serial communication, which would have a driver for cEMI, but I did not find a possibility to switch to this driver”
So i think problem point is here…
How can we switch this driver, really i dont know too.
Because i am not software specialist, i am only knx specialist an integrator :slight_smile:
Is there anybody who can help us for this issue?
If we can solve this, the knx connection will be more cheaper in this way.

Many thanks

Regards.

1 Like

Made a basic implementation of openhab2 binding using ObjectServer protocol.

I believe it will be easier to install and configure than knxd/calimero/etc.

https://bobaoskit.github.io/quickstart.html - manual of how to setup “backend” service
https://forum.knx-user.club/t/en-openhab2-integration/56 - oh2 binding announcement.

Also patched calimero-core and compiled with native knx binding to use with BAOS 838 kBerry:

Hi,
is there a way to install knxd without openhabian? I am running openhab on raspbian and got no openhabian-config command.

For openHAB 3 see this one KNX BAOS module 838 Kberry - #7 by petero

Hi, for all who want to turn Pi with kBerry into KNXNet gateway, take a look at

https://bobalus.tech/llsdk.html

So after you have setup UART run llpub at first and then llnet. You may use two ssh sessions or tmux software as well. If everything is ok, you will be able to connect ETS(with NAT option enabled).
I’m not sure about OH, anyway - didn’t test it.

From ETS you will be able to work with group addresses as well as with transport connections - so it is possible to program device applications.