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

**URL:** <https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370>\
**Category:** Server\
**Created:** [May 1, 2018, 5:46pm UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370 "2018-05-01T17:46:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![martmiwp](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/9f8e36/32.png) [@martmiwp](https://community.openhab.org/u/martmiwp)\
**Post date:** [May 1, 2018, 5:46pm UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/1 "2018-05-01T17:46:34Z")

</div>

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:

> **[Weinzierl KNX BAOS Module 838 kBerry - 
		
		KNX-User-Forum](https://knx-user-forum.de/forum/projektforen/knxd/1070372-weinzierl-knx-baos-module-838-kberry)**
>
> Liebe Knxd'ler,
> 
> hat jemand das 838er Modul mit knxd am Pi am laufen? Das scheint nicht so einfach zu sein, wenn ich das mal hier (https://knx-user-forum.de/forum/supportforen/openhab/944881-raspberry-pi3-und-die-serielle-schnittstelle) lese. Gibt es...

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

(pls move this topic if needed …)

---

<div class="post-metadata">

**Author:** ![evgeniy.kaveckiy](https://community.openhab.org/user_avatar/community.openhab.org/evgeniy.kaveckiy/32/21833_2.png) [@evgeniy.kaveckiy](https://community.openhab.org/u/evgeniy.kaveckiy)\
**Post date:** [July 19, 2018, 4:58pm UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/2 "2018-07-19T16:58:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 3, 2018, 8:52am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/3 "2018-10-03T08:52:32Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![martmiwp](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/9f8e36/32.png) [@martmiwp](https://community.openhab.org/u/martmiwp)\
**Post date:** [October 3, 2018, 11:23am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/4 "2018-10-03T11:23:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 3, 2018, 11:38am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/5 "2018-10-03T11:38:40Z")

</div>

> [@martmiwp](#):
>
> confuse

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.

---

<div class="post-metadata">

**Author:** ![martmiwp](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/9f8e36/32.png) [@martmiwp](https://community.openhab.org/u/martmiwp)\
**Post date:** [October 3, 2018, 11:50am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/6 "2018-10-03T11:50:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 3, 2018, 11:57am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/7 "2018-10-03T11:57:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![martmiwp](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/9f8e36/32.png) [@martmiwp](https://community.openhab.org/u/martmiwp)\
**Post date:** [October 3, 2018, 2:28pm UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/8 "2018-10-03T14:28:32Z")

</div>

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"]
> }}
> 
> ```

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 3, 2018, 3:42pm UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/9 "2018-10-03T15:42:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![martmiwp](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/9f8e36/32.png) [@martmiwp](https://community.openhab.org/u/martmiwp)\
**Post date:** [October 3, 2018, 3:55pm UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/10 "2018-10-03T15:55:31Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 3, 2018, 4:09pm UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/11 "2018-10-03T16:09:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 4, 2018, 7:11am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/12 "2018-10-04T07:11:38Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 4, 2018, 8:27am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/13 "2018-10-04T08:27:24Z")

</div>

![resim](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/5/6/566c7f0794f5e84d10e668260b01181cc6185e4e.jpeg)  
Knxd gives error

---

<div class="post-metadata">

**Author:** ![martmiwp](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/9f8e36/32.png) [@martmiwp](https://community.openhab.org/u/martmiwp)\
**Post date:** [October 4, 2018, 10:49am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/14 "2018-10-04T10:49:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 4, 2018, 11:01am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/15 "2018-10-04T11:01:31Z")

</div>

yes  
I think the error changed

 ![resim](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/c/8/c82be704aaa0d3eb9c77ec14c6434e5dc51b6bca.png)

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 4, 2018, 11:07am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/16 "2018-10-04T11:07:38Z")

</div>

My knxd file

 ![resim](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/4/7/47e62c882fcf6a5d97cbf1324c2419fdaca7f2ba.png)

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”]

```
         }
   }

```

---

<div class="post-metadata">

**Author:** ![martmiwp](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/9f8e36/32.png) [@martmiwp](https://community.openhab.org/u/martmiwp)\
**Post date:** [October 4, 2018, 11:16am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/17 "2018-10-04T11:16:40Z")

</div>

😉

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

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 4, 2018, 11:29am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/18 "2018-10-04T11:29:09Z")

</div>

Is it true now ?

 ![resim](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/5/c/5cf8164c6b169745b47719796422345e1bdb45bc.png)

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 4, 2018, 11:55am UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/19 "2018-10-04T11:55:21Z")

</div>

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

 ![resim](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/8/b83e5e98c50a0e5d7491210c6fdfd0839051c22c.png)  
 ![resim](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/9/a/9a3ab79de45c84cd20642fb95b1a016dc3f7ac14.png)

---

<div class="post-metadata">

**Author:** ![mehmet\_ozdemir](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@mehmet\_ozdemir](https://community.openhab.org/u/mehmet_ozdemir)\
**Post date:** [October 4, 2018, 3:13pm UTC](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370/20 "2018-10-04T15:13:42Z")

</div>

Hello Michael,

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

Thanks

[Next page](https://community.openhab.org/t/weinzierl-knx-baos-module-838-kberry-with-oh2-and-knx2/44370.md?page=2)
