KNX integration
KNX
Package kaza-knx, module org.kazoe.knx. Connects KaZa to a KNX installation through the knxd daemon.
The plugin reads the ETS project export (.knxproj) and creates one KaZa object per group address, named after the ETS group address, with its datapoint type (DPT) and unit. Values are bidirectional: a telegram on the bus updates the object and all clients; a client action sends a telegram.
Usage
import org.kazoe.kaza 1.0 import org.kazoe.knx 1.0 KaZaElement { KnxBus { knxd: "ip:192.168.1.250" // knxd address knxProj: "/etc/kaza/home.knxproj" } KzObject { id: lounge; object: "light.dim.lounge" } Component.onCompleted: lounge.set(60) }
| Property | Type | Description |
|---|---|---|
knxd |
string |
knxd endpoint, e.g. ip:host
|
knxProj |
string | Path to the ETS .knxproj file |
Tips
- Name your group addresses in ETS following the KaZa naming convention: the names become your object names.
- Log power meters or temperatures with
onValueChangedand the database.
Requirements
A running knxd connected to your bus (IP router or USB interface).
Build from source
apt install build-essential qt6-base-dev qt6-declarative-dev kazad-dev libminizip-dev zlib1g-dev cmake -B build && cmake --build build -j