KNXD installeren


#1

Vervolledig volgende stappen om knxd te installeren. Dit kan je gebruiken om bv KNX over USB, TCP… te installeren.

sudo apt-get install git-core build-essential
sudo apt-get install debhelper libsystemd-dev dh-systemd libev-dev
git clone https://github.com/knxd/knxd.git
cd knxd
dpkg-buildpackage -b -uc
cd …
sudo dpkg -i knxd_.deb knxd-tools_.deb

sudo systemctl disable knxd.socket

Vervangde inhoud van /lib/systemd/system/knxd.service met

[Unit]
Description=KNX Daemon
After=network.target

[Service]
EnvironmentFile=/etc/default/knxd
ExecStart=/usr/bin/knxd $KNXD_OPTIONS
User=root
Group=root
Type=simple

Restart=always
RestartSec=10
StartLimitIntervalSec=0

[Install]
WantedBy=multi-user.target network-online.target

Vervang de inhoud van /etc/default/knxd met:

KNXD_OPTIONS="–eibaddr=1.1.128 --client-addrs=1.1.129:1 -D -T -R -S -i --listen-local=/tmp/knx -b tpuarts:/dev/ttyAMA0"

Herstart even

sudo systemctl daemon-reload
sudo service knxd status