hi all,
A few years back I already made my KNX system work with openhab on my Raspberry Pi with KNXD. Back than I already had to use a very strange setup.
A few days ago i installed OH3 but now i’m not able to connect OH3 to my knx system anymore.
First: my installation proces:
1. Installed clean raspbian OS
2. Gave pi static ip
[Match]
Name=eth0
[Network]
Address=192.168.178.2/24
Gateway=192.168.178.1
DNS=192.168.178.1
[Route]
Destination=224.0.23.12/32
3. installed KNXD
made is USB backend (/etc/default/knxd)
K NXD_OPTIONS="--eibaddr=1.1.128 --client-addrs=1.1.129:8 -d -D -T -R -S -i --listen-local=/tmp/knx -b usb:
I think so far so good:
root@raspberrypi:~# ps ax|grep knxd
882 ? Ssl 0:00 /usr/local/bin/knxd -p /run/knxd/knxd.pid --eibaddr=1.1.128 --client-addrs=1.1.129:8 -d -D -T -R -S -i --listen-local=/tmp/knx -b usb:
12857 pts/9 S+ 0:00 grep knxd
I’m able to toggle my lights via the terminal:
knxtool groupswrite ip:localhost 7/0/0 1
----------------- OPENHAB 3 install --------------------
All worked great.
Next made a binding: knx.things
Bridge knx:ip:bridge [
type="ROUTER",
ipAddress="224.0.23.12",
portNumber=3671,
localIp="192.168.178.2",
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=60,
localSourceAddr="1.1.128"
] {
Type switch : demoSwitch "Licht OH3things ROUTER" [ ga="1.001:7/0/0" ]
Type switch : demoSwitch2 "Licht3 OH3things ROUTER" [ ga="1.001:<7/0/0" ]
Type switch : demoSwitch3 "Licht3 OH3things ROUTER" [ ga="<7/0/0" ]
Type switch : demoSwitch4 "Licht4 OH3things ROUTER" [ ga="7/0/0" ]
}
(i made different switches to find out what adress format worked)
This bridge shows up in things as “Online”
Made knx.items:
Switch demoSwitch "Light_ITEMs_OH3 [%s]" <light> { channel="knx:device:bridge:generic:demoSwitch" }
Switch demoSwitch2 "Light_ITEMs_OH3 2 [%s]" <light> { channel="knx:device:bridge:generic:demoSwitch2" }
Switch demoSwitch3 "Light_ITEMs_OH3 3[%s]" <light> { channel="knx:device:bridge:generic:demoSwitch3" }
Switch demoSwitch4 "Light_ITEMs_OH3 4[%s]" <light> { channel="knx:device:bridge:generic:demoSwitch4" }
Made a sitemap;
sitemap knx label="KNX Demo Sitemap" {
Frame label="Demo Elements" {
Switch item=demoSwitch
Switch item=demoSwitch2
Switch item=demoSwitch3
Switch item=demoSwitch4
}
}
However, i’m not able to control my lights
Can anyone help me finding the mistake i’m making?
Kind regards,
Yarn