Hi,
I’m running OH2 beta2 with the knx 1.9 binding.
the knx.cfg is quite simple:
# KNX IP connection type. Could be either TUNNEL or ROUTER (optional, defaults to TUNNEL)
# Note: If you cannot get the ROUTER mode working (even if it claims it is connected),
# use TUNNEL mode instead with setting both the ip of the KNX gateway and the localIp.
type=ROUTER
# Local endpoint to specify the multicast interface, no port is used (optional)
localIp=192.168.0.180
the problem is that when I switch a lamp ON, OH2 send the command in an infinite loop:
2016-02-13 01:10:00.192 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:00.212 [INFO ] [ome.event.GroupItemStateChangedEvent] - grHome changed from NULL to UNDEF through grGM_Rez_Bureau
2016-02-13 01:10:00.213 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:00.213 [INFO ] [ome.event.GroupItemStateChangedEvent] - grGM changed from NULL to UNDEF through grGM_Rez_Bureau
2016-02-13 01:10:00.233 [INFO ] [ome.event.GroupItemStateChangedEvent] - grGM_Rez changed from NULL to UNDEF through grGM_Rez_Bureau
2016-02-13 01:10:00.235 [INFO ] [ome.event.GroupItemStateChangedEvent] - grGM_Rez_Bureau changed from NULL to UNDEF through swLampeBureauRez
2016-02-13 01:10:00.236 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:00.240 [INFO ] [ome.event.GroupItemStateChangedEvent] - grLights changed from NULL to UNDEF through swLampeBureauRez
2016-02-13 01:10:00.242 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from NULL to ON
2016-02-13 01:10:00.246 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:00.255 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:00.263 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:00.271 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:00.281 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:00.291 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:00.299 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:00.307 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
and when I try to switch it off, I’ve got a flashing lamp
2016-02-13 01:10:11.635 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.636 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.637 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.638 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command OFF
2016-02-13 01:10:11.639 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command OFF
2016-02-13 01:10:11.639 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.639 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from ON to OFF
2016-02-13 01:10:11.639 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.640 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from OFF to ON
2016-02-13 01:10:11.640 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command OFF
2016-02-13 01:10:11.640 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.641 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from ON to OFF
2016-02-13 01:10:11.641 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command OFF
2016-02-13 01:10:11.641 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from ON to OFF
2016-02-13 01:10:11.641 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from OFF to ON
2016-02-13 01:10:11.641 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.642 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command OFF
2016-02-13 01:10:11.642 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.642 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command OFF
2016-02-13 01:10:11.642 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from OFF to ON
2016-02-13 01:10:11.642 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from OFF to ON
2016-02-13 01:10:11.642 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from ON to OFF
2016-02-13 01:10:11.643 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.643 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from ON to OFF
2016-02-13 01:10:11.643 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command OFF
2016-02-13 01:10:11.647 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.648 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command OFF
2016-02-13 01:10:11.648 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.649 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from OFF to ON
2016-02-13 01:10:11.651 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'swLampeBureauRez' received command ON
2016-02-13 01:10:11.651 [INFO ] [marthome.event.ItemStateChangedEvent] - swLampeBureauRez changed from ON to OFF
Here is the KNX item definition
Switch swLampeBureauRez "lampe bureau rez" (grGM_Rez_Bureau,grLights) {knx="0/0/3+0/1/3"}
this knx definition was working fine with OH1.8.1 and knx1.8.1 binding.
Any idea how to fix my config/definition?
Regards