CaldavIo

Hi,
I’m using CaldavIo to schedule events butI have noticed a rather strange behaviour.
It seems that if reruns the ‘BEGIN’ events every minute (log below).
I have set the calendar reload time to 2 minutes but I initially it set to 1 minute before that so I beleive that there night be two issues here.

The first issue is that it reloads tasks that have already started and that is why it executes more than once.
The second is that it seems that it doesn’t read the config when it is changed.

Have anyone else seen this behaviour?

2017-11-30 23:48:00.004 [INFO ] [nhab.io.caldav.internal.job.EventJob] - event BEGIN for: 5CCDF817-90C3-417A-96CB-10EB8D7061FF(Test@30.11.2017/23:48-30.11.2017/23:50)
2017-11-30 23:48:00.009 [INFO ] [aldav_command.internal.CalDavBinding] - sending command 'ON' to item 'Fonstret__biorummet' from event '5CCDF817-90C3-417A-96CB-10EB8D7061FF(Test@30.11.2017/23:48-30.11.2017/23:50)'
2017-11-30 23:48:37.068 [INFO ] [nhab.io.caldav.internal.job.EventJob] - event BEGIN for: 5CCDF817-90C3-417A-96CB-10EB8D7061FF(Test@30.11.2017/23:48-30.11.2017/23:50)
2017-11-30 23:48:37.073 [INFO ] [aldav_command.internal.CalDavBinding] - sending command 'ON' to item 'Fonstret__biorummet' from event '5CCDF817-90C3-417A-96CB-10EB8D7061FF(Test@30.11.2017/23:48-30.11.2017/23:50)'
2017-11-30 23:49:37.071 [INFO ] [nhab.io.caldav.internal.job.EventJob] - event BEGIN for: 5CCDF817-90C3-417A-96CB-10EB8D7061FF(Test@30.11.2017/23:48-30.11.2017/23:50)
2017-11-30 23:49:37.076 [INFO ] [aldav_command.internal.CalDavBinding] - sending command 'ON' to item 'Fonstret__biorummet' from event '5CCDF817-90C3-417A-96CB-10EB8D7061FF(Test@30.11.2017/23:48-30.11.2017/23:50)'
2017-11-30 23:50:00.000 [INFO ] [nhab.io.caldav.internal.job.EventJob] - event END for: 5CCDF817-90C3-417A-96CB-10EB8D7061FF(Test@30.11.2017/23:48-30.11.2017/23:50)
2017-11-30 23:50:00.006 [INFO ] [aldav_command.internal.CalDavBinding] - sending command 'OFF' to item 'Fonstret__biorummet' from event '5CCDF817-90C3-417A-96CB-10EB8D7061FF(Test@30.11.2017/23:48-30.11.2017/23:50)'

What is your preloadInterval set to?

http://docs.openhab.org/addons/bindings/caldav-command1/readme.html

You have to set the preloadInterval to a higher or equal value as the recurring events in the calendar exists.

Ahh, missed that one. I have two minutes but it was initially set to one minute.
It wasn’t a recurring event and I still have the problem that the config change don’t seem to take.

No idea, this works for me for any event:

caldavio:openhab_command:reloadInterval=10
caldavio:openhab_command:preloadTime=20000