Эта страница является
переводом страницы
KNX kBerry. Перевод выполнен на 100%.
iRidium for Weinzierl kBerry
how iRidium gets access to KNX bus via KNX BAOS 838 (kBerry) plate for Raspberry Pi3 B
The documentation was updated on 03.12.2021
iRidium supports 838 plate kBerry, installed only on Raspberry Pi3, B model.
Advantages
kBerry can be added to an inexpensive Raspberry device with iRidium server on board. It allows to connect KNX bus devices. Thus, wide capabilities of iRidium server can be used to control Smart home equipment with KNX Serial interface.
Preparing Raspberry and kBerry Module
1Install 838 kBerry module in Raspberry Pi3.
2Install adapted and tested image of Linux OS for kBerry. Size: 350 Mb.
3Install this image and the standard iRidium server on Raspberry device following the general instructions.
When working with kBerry use adapted image of Linux Jessie instead of a standard one.
4Connect kBerry plate to KNX bus.
Working in Engineering Tool Software (ETS)
1Download database-file of kBerry plate for ETS, unpack it.
2Create a new project.
3Click Import... button in the Catalogs tab and select .knprod (KNX BAOS 83x Module) file.
4Add kBerry plate (KNX BAOS 830) and other devices in the KNX bus to the project and configure them.
5Download ETS project configuration to the devices in the KNX bus (Download button).
6Export a project from ETS in .knproj format.
Project import from ETS to iRidium
When the KNX equipment is set up and the ETS project is ready, you can create your visualization project.
Close ETS when working with iRidium to have the possibility to check connection to the bus.
1Create a new server project in iRidium studio
2click the Import button in the Drivers menu and select ETS Project in the appeared list.
3find the .knxproj file you need and add it
The lists of commands and feedback and their settings are formed on the basis of the ETS project.
Working in iRidium studio
Creating and Setting a Server Project
1Create a server project.
2Add KNX kBerry driver to the project.
3Set the following parameters:
- Host: /dev/ttyAMA0
- Baud rate: 19200
- Data Bits: 8
- Parity: Even
- Stop Bits: 1
- Update Time: 0
4Add a required number of commands and tags. Set them.
- Name: any name of a command or a tag
- Type: type of data point (like in ETS project)
- SubType: subtype of data point (like in ETS project)
- Command: Set value and send on bus (by default)
Set Type and SubType parameters like they were set in ETS.
5Configure the server project according to your task using different tools of iRidium studio.
Testing the System
Download the server project on Raspberry device using iRidium transfer.
Demo project
This demo project shows how to control KNX dimmer from a smart phone. The project has a switch to turn on a dimmer and a level to set brightness.
The demo project includes the following projects
- kBerry_demo.knproj for ETS,
- kBerry_demo.irpz for i3 pro,
- kBerry_demo.sirpz for iRidium server.