Hello!
I’ve been running KNX 1.x on my previous setup for some years and had no problems. now i recently set up a new system and i’m having trouble with KNX.
as far as i understand all items with reading address (lights, raffstore) work fine. but i can’t read “simple” switches…
this is my old config (well, a short excerpt):
knx.cfg:
ip=192.168.178.230
type=TUNNEL
localIp=192.168.178.173
items:
Switch Licht_Buero "Licht Büro" {knx="2/1/9+<2/1/109"}
Switch sq_B2 "Squeeze Button 1" {knx="0/6/2"}
when i press anye of these “hardware”-knx-switches openhab reads the command:
2020-07-14 00:28:39.578 [ome.event.ItemCommandEvent] - Item 'Licht_Buero' received command OFF
2020-07-14 00:28:39.636 [vent.ItemStateChangedEvent] - Licht_Buero changed from ON to OFF
2020-07-14 00:30:41.000 [ome.event.ItemCommandEvent] - Item 'sq_B2' received command ON
2020-07-14 00:30:41.014 [vent.ItemStateChangedEvent] - sq_B2 changed from NULL to ON
this is how my config looks on the new setup:
knx.things:
//TUNNEL
Bridge knx:ip:bridge [
type="TUNNEL",
ipAddress="192.168.178.230",
portNumber=3671,
autoReconnectPeriod=60
] {
Thing device generic [
] {
Type switch : Licht_Buero "Licht Büro" [ga="2/1/9+<2/1/109" ]
Type switch : sq_B2 "Squeeze Button 2" [ga="0/6/2" ]
}
}
items:
Switch Licht_Buero "Licht Büro" (gLichter_EG) {channel="knx:device:bridge:generic:Licht_Buero", autoupdate="false" }
Switch sq_B2 "Squeeze Button 2" {channel="knx:device:bridge:generic:sq_B2", autoupdate="false" }
and here’s the log of my new setup (same events):
// no Licht_Buero received command OFF entry
2020-07-14 00:28:39.580 [vent.ItemStateChangedEvent] - Licht_Buero changed from ON to OFF
// absolutely no entries for sq_B2
as i’m having this problem for a while now i have searched a bit but could find a solution. i tried with switch-control as mentioned by @Udo_Hartmann in some threads
Type switch-control : sq_B2 "Squeeze Button 2" [ga="0/6/2" ]
but that doesn’t help either…
i have some switches that are read only (and with current setup are absolutely useless because i don’t get any information)
i’ve read that knx1 didn’t behave as it should have, but for me “not correct” worked better
can anyone tell me what to do with these things / channels / items?
for now… good night!
Peter