iRidi for Weinzierl kBerry
how iRidi server accesses the KNX bus through the KNX BAOS 838 (kBerry) board for Raspberry Pi3 B
documentation updated 01.01.202
- iRidi supports the 838 kBerry board installed only on the Raspberry Pi3 model B.
Advantages
An inexpensive Raspberry device running iRidi server can be fitted with a kBerry board to connect KNX bus devices. This allows the extensive capabilities of iRidi server to be used to control smart home equipment with a KNX Serial interface.

Preparing Raspberry and the kBerry module
-
Install the 838 kBerry module in the Raspberry Pi3.
-
Download the adapted and tested Linux OS image for kBerry. Size: 350 MB.
-
Install this image and the standard iRidi server on the Raspberry device according to the general instructions.
When using kBerry, use the adapted image instead of the standard Linux Jessie image.
- Connect the kBerry board to the KNX bus.
Working in Engineering Tool Software (ETS)
- Download kBerry board database file for ETS and extract it.
- Create a new project.
- On the Catalogs tab, click Import... and select the .knprod file (KNX BAOS 83x Module).
- Add the kBerry board (KNX BAOS 830) and the other KNX bus devices to the project, and configure them.
- Upload the ETS project configuration to the devices on the KNX bus (click Download ).

- Export the project from ETS in .knproj format.
Importing an ETS project into iRidi
Once the KNX equipment is configured and the ETS project is ready, you can start creating the visualization project.
Close ETS while working with iRidi so that you can test communication with the bus.
- Create a new server project in iRidi Studio
- In the Devices panel, click import and select KNX (ETS, *.knxproj) .

- Find the required .knxproj file and add it

A list of commands and feedbacks, along with their settings, is generated from the ETS project.
Working in iRidi Studio
Creating and configuring a server project
- Create a server project.
- Add the following driver to the project: KNX kBerry BAOS .

- Configure the following parameters:
- Host: /dev/ttyAMA0
- Baud Rate: 19200
- Data Bits: 8
- Parity: Even
- Stop Bits: 1
The web interface displays stop bits as follows:
| iRidi studio: | Web interface: |
|---|---|
| 1 | 0 |
| 1,5 | 1 |
| 2 | 2 |
- Update Time: 0
- Add the required number of commands and tags. Configure them.

- Name: any name for the command or tag
- Type: datapoint type (according to the ETS project)
- Sub Type: datapoint subtype (according to the ETS project)
- Command: Set value and send on bus (default)
- Configure the Type and Sub Type parameters as they were configured in ETS.
- Configure the server project for your task using the various tools in iRidi studio.
System testing
Upload the server project to the Raspberry device using iRidi transfer.
Demo project
Download the demo project:
This demo project shows how to control a KNX dimmer from a smartphone. The smartphone screen contains a switch to turn on the dimmer and a level to set the brightness.

The demo project includes the following projects
- kBerry_demo.knproj for ETS,
- kBerry_demo.irpz for i3 pro,
- kBerry_demo.sirpz for iRidi server.