CalDav Binding is sending Updates multiple Times

Hi There,

I’m fighting with a Problem, that the CalDav Binding is sending the updates multiple Times.

I’ve created an event that starts at 05:45 and ends at 06:30 with the following content:

BEGIN:LED_FF_BedRoom_Sunrise:ON
END:LED_FF_BedRoom_Sunrise:OFF

So I expect, that there will only be two events - an ON and an OFF event. But when I’m looking at the log, I found this:

2016-11-08 05:45:00.000 [INFO ] [.i.c.internal.CalDavLoaderImpl:364 ]- event start for: DAC9BCA2-3501-4EF5-B075-2DA5342E7455(Lichtwecker@08.11.2016/05:45-08.11.2016/06:30)
2016-11-08 06:30:00.000 [INFO ] [.i.c.internal.CalDavLoaderImpl:382 ]- event end for: DAC9BCA2-3501-4EF5-B075-2DA5342E7455(Lichtwecker@08.11.2016/05:45-08.11.2016/06:30)

2016-11-08 05:45:00 - LED_FF_BedRoom_Sunrise state updated to ON
2016-11-08 05:46:23 - LED_FF_BedRoom_Sunrise state updated to ON
2016-11-08 05:56:23 - LED_FF_BedRoom_Sunrise state updated to ON
2016-11-08 06:06:23 - LED_FF_BedRoom_Sunrise state updated to ON
2016-11-08 06:16:23 - LED_FF_BedRoom_Sunrise state updated to ON
2016-11-08 06:26:23 - LED_FF_BedRoom_Sunrise state updated to ON
2016-11-08 06:30:00 - LED_FF_BedRoom_Sunrise state updated to OFF

Any Idea how to fix this?

Bests
Pascal

I don’t know if there is a way to fix the multiple events, but if you use an Item LED_FF_BedRoom_Sunrise changed instead of received command or received update your rule will only be triggered once no matter how many times the Items i updated.

OK, this would be a Workaround - because I would need to create a rule. At the moment LED_FF_BedRoom_Sunrise is only an item with an KNX LED Controller behind it. And when the controller receives the “ON” command multiple times, it fails to do what it should do.

Is this a bug on the Binding? Then I should open a bug on github.

I can’t answer that. Receiving multiple updates like that may be working as designed. I’m not familiar with the binding enough to guess. Either way it is probably worth opening the issue.