Hi!
On openHAB 2.2.0-1 (Release Build) and binding-knx1 - 1.11.0 everything worked fine except for the echos on the KNX-bus (using an Enertex KNXnet/IP Interface at 192.168.1.55).
After updating to openHAB 2.3.0-1 (Release Build) and KNX-binding 2.3.0, openHAB can still switch KNX-actors on and off, but does not receive status updates from KNX.
Here are some infos about the OH2.2 configuration:
###############################################################################
################# openHABianPi #################################### 7.05.170509
###############################################################################
## Ip = 192.168.1.44
## Release = Raspbian GNU/Linux 8 (jessie)
## Kernel = Linux 4.9.35-v7+
## Platform = Raspberry Pi 3 Model B Rev 1.2
## Nginx = Version: 1.6.2
###############################################################################
openhab> config:list "(service.pid=org.openhab.knx)"
----------------------------------------------------------------
Pid: org.openhab.knx
BundleLocation: mvn:org.openhab.binding/org.openhab.binding.knx/1.11.0
Properties:
busaddr = 0.0.0
compatibilityOH2 = true
ignorelocalevents = true
ip = 192.168.1.55
localIp = 192.168.1.44
readRetries = 1
service.pid = org.openhab.knx
type = TUNNEL
events.log:
2018-06-02 14:22:51.524 [INFO ] [nx.internal.connection.KNXConnection] - Established connection to KNX bus on 192.168.1.55:3671 in mode TUNNEL.
Log when switching with openHAB
2018-06-02 14:34:59.815 [ome.event.ItemCommandEvent] - Item 'EG_Kueche_Licht_Decke' received command ON
2018-06-02 14:35:00.023 [vent.ItemStateChangedEvent] - EG_Kueche_Licht_Decke changed from OFF to ON
Log when switching with KNX:
2018-06-02 14:36:12.943 [ome.event.ItemCommandEvent] - Item 'EG_Kueche_Licht_Decke' received command OFF
2018-06-02 14:36:13.037 [vent.ItemStateChangedEvent] - EG_Kueche_Licht_Decke changed from ON to OFF
haus.items:
Switch EG_Kueche_Licht_Decke "Küche Decke" <light> (EG_Kueche, EG_Kueche_Licht) { knx="2/2/21+<2/2/22" }
And here the OH2.3 data:
knx.things:
Bridge knx:ip:bridge [
ipAddress="192.168.1.55",
portNumber=3671,
localIp="192.168.1.44",
type="TUNNEL",
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=1,
localSourceAddr="0.0.0"
] {
Thing device generic [
address="1.1.2",
fetch=false,
pingInterval=0,
readInterval=1
] {
Type switch : EG_Kueche_Licht_Decke "EG_Kueche_Licht_Decke" [ ga="2/2/21+<2/2/22" ]
}
}
haus.items:
Switch EG_Kueche_Licht_Decke "Küche Decke" <light> (EG_Kueche, EG_Kueche_Licht) { channel="knx:device:bridge:generic:EG_Kueche_Licht_Decke" }
2018-06-02 14:51:50.884 [.ItemChannelLinkAddedEvent] - Link 'EG_Kueche_Licht_Decke-knx:device:bridge:generic:EG_Kueche_Licht_Decke' has been added.
2018-06-02 14:52:13.073 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from UNINITIALIZED to INITIALIZING
2018-06-02 14:52:13.117 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from INITIALIZING to UNKNOWN
2018-06-02 14:52:13.185 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from UNINITIALIZED to INITIALIZING
2018-06-02 14:52:13.196 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
2018-06-02 14:52:13.603 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from UNKNOWN to ONLINE
2018-06-02 14:52:13.612 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from OFFLINE (BRIDGE_OFFLINE) to UNKNOWN
2018-06-02 14:52:13.605 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred during notification about bridge status change on thing 'knx:device:bridge:generic': null
at org.openhab.binding.knx.handler.AbstractKNXThingHandler.attachToClient(AbstractKNXThingHandler.java:184) [234:org.openhab.binding.knx:2.3.0]
at org.openhab.binding.knx.handler.AbstractKNXThingHandler.bridgeStatusChanged(AbstractKNXThingHandler.java:119) [234:org.openhab.binding.knx:2.3.0]
Any ideas how openHAB can receive KNX-status-updates?
Greetings from Vienna, Austria
Peter