I stumbled upon another issue.
It seems that recurring tasks are not recognized correctly by the binding.
I’ve got a daily task “Alarm” every weekday during daytime.
Only the first day of the task is recognized or a day which I explicitly changed and saved manually (e.g. add a comment on that day).
It really weird. I did some tests using several entries.
First I thought that it could be different if I edit the calender entry from my Smartphone. Every time I changed the recurring entry it was recognized correctly.
I also thought that there could be a difference if I choose only weekdays (not working) or e.g. additionally a sunday (working).
Now I’ve got the strong suspicion that the issue could be if a recurring calender entry misses a description.
For the tests today it seems to me as the most possible reason that the entries were not recognized in the past.
Perhaps you may check the code if this could be confirmed (NPE?).
PS: I’m curious how it goes the next days.
PPS: Now when I create a recurring task without description it is actually also being recognized … weird. I’ll see how it goes the next days.
Of course i would fix this, but i can’t imagine that there is a NPE. You mean description and not title? I have a lot of events which are without a description.
Ok - status update:
Yesterday I’ve ceate a recurring task having the following configuration:
Start as of 30. Sept. 2016
Every Weekday 08:00 - 16:30
Ends Never
Regardless the fact that it was an official holiday yesterday, it was also monday. And by that the entry was created and also correctly recognized by OpenHAB.
Today the same recurring entry again wasn’t recognized.
After I changed the whole recurring task by adding every sunday it was recognized.
Then, after I changed it back only to touch weekdays it also got recognized.
Every configuration haven’t had any description.
Just a thought:
Could it be that only recurring tasks that have an updated date of the current day were recognized by the plugin just on that day?
Hi @querdenker2k,
today again this weird behaviour.
The recurring task wasn’t recegnized until I changed it some way (today changed to everey Tuesday and Thursday).
After OpenHAB detected the entry I changed it back to “Every weekday” and it still got recognized.
Have you used the caldav binding without the oauth feature? is it working then for you?
Can you try please: Creating a single event for every day and let them repeat every week.
Statusupdate:
On friday I configuered 7 recurrings tasks - one for each day starting as of saturday, 1st Oct:
Sat. 06:00AM - 12PM
Sun 10:00AM - 12PM
Mon - Fri 08:00AM - 04:30PM
Saturday, 8th: Task got recognized correctly - stopping 12PM in the night
Sunday, 9th: Task wasn’t recognized the whole day.
I added a second task also without success of recognition.
Then when I deleted the recurring task the second, new one was recognized.
I let the sunday task deleted now.
Curious how it goes the next days.