hi,
i have an issue with a plain new installation (openhab2 stable from yesterday, ubuntu server).
knx binding: 2.4.0
openhab: 2.4.0
i added a thing file to connect to my KNX gatway, which is working (i can switch on/off lights, dimmers etc via my basicui/habpanel) - but i do not receive any updates on the ui if something on KNX side happening (switch etc).
my configuration for a simple Test switch/dimmer/temp:
Bridge knx:ip:bridge [
ipAddress="192.168.1.105",
portNumber=3671,
localIp="192.168.1.184",
type="TUNNEL",
localSourceAddr="1.0.199"
] {
Thing device DALI_Gateway "DALI Gateway" [
address="1.2.50",
fetch=false,
pingInterval=0
] {
Type dimmer : og_office_DimmerLeft "Light" [switch="1/1/61+<1/4/61", position="1/3/61+<1/5/61",increaseDecrease="1/2/61"]
Type dimmer : og_office_DimmerRight "Light" [switch="1/1/60+<1/4/60", position="1/3/60+<1/5/60",increaseDecrease="1/2/60"]
}
Thing device OG_Office_Tastsensor_Komfort_3fach [
address="1.2.75",
fetch=false,
pingInterval=0
] {
Type number : og_office_temperature "Temperature" [ga="9.001:<7/0/0"]
}
Thing device OG_54A1_Aktor [
address="1.2.1",
fetch=false,
pingInterval=0
] {
Type switch : og_wc_Licht "Light" [ga="1/1/42+1/4/42"]
}
}
items file
Dimmer og_office_DimmerLeft "Light Left [%]" <light> {channel="knx:device:bridge:DALI_Gateway:og_office_DimmerLeft"}
Dimmer og_office_DimmerRight "Light Right [%]" <light> {channel="knx:device:bridge:DALI_Gateway:og_office_DimmerRight"}
Number og_office_temperature "Temperatur [%.1f °C]" <temperature> {channel="knx:device:bridge:OG_Office_Tastsensor_Komfort_3fach:og_office_temperature"}
Switch og_wc_Licht "Light" <light> {channel="knx:device:bridge:OG_54A1_Aktor:og_wc_Licht"}
all the addresses are ok, and i also switched the logging on for the KNX binding
for example, switching light via UI
13:14:14.324 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'og_wc_Licht' received command OFF
13:14:14.327 [INFO ] [arthome.event.ItemStatePredictedEvent] - og_wc_Licht predicted to become NULL
13:14:14.327 [TRACE] [x.internal.handler.DeviceThingHandler] - Handling command 'OFF' for channel 'knx:device:bridge:OG_54A1_Aktor:og_wc_Licht'
13:14:14.329 [TRACE] [g.knx.internal.channel.KNXChannelType] - getCommandSpec testing Keys '[ga]' for command 'OFF'
13:14:14.331 [TRACE] [g.knx.internal.channel.KNXChannelType] - getCommandSpec key 'ga' uses expectedTypeClass 'class org.eclipse.smarthome.core.library.types.OnOffType' witch isInstance for command 'OFF' and dpt '1.001'
13:14:14.333 [TRACE] [knx.internal.client.AbstractKNXClient] - writeToKNX groupAddress '1/1/42', commandSpec 'org.openhab.binding.knx.internal.channel.WriteSpecImpl@d2acfc3'
13:14:14.335 [TRACE] [knx.internal.client.AbstractKNXClient] - sendToKNX mappedValue: 'off' groupAddress: '1/1/42'
13:14:14.339 [DEBUG] [knx.internal.client.AbstractKNXClient] - Wrote value 'OFF' to datapoint 'command DP 1/1/42 'knx:ip:bridge', DPT id 1.001, low priority' (0. attempt).
13:14:14.483 [TRACE] [knx.internal.client.AbstractKNXClient] - Received a Group Write telegram from '1.2.1' to '1/4/42' with value '[0]'
as you see, i also get back a 0 from 1/4/42 which is the backchannel
if i switch now via py gira app the light, nothing happens in the openhab basicui or habpanel
log:
13:20:54.663 [TRACE] [knx.internal.client.AbstractKNXClient] - Received a Group Write telegram from '10.0.10' to '1/1/42' with value '[1]'
13:20:54.802 [TRACE] [knx.internal.client.AbstractKNXClient] - Received a Group Write telegram from '1.2.1' to '1/4/42' with value '[1]'
any idea whats wrong here ? neither of my examples with dimmer, switch or temperature are working on the KNX->openhab direction, openhab->knx working normal