-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Repeating events ignored if started 140 days previously #167
Comments
Hey @NiccyB , I tried to reproduce your issue, as you can see below. But unfortunately it seems to work on my machine.... |
Hi, I'll post it below - there's nothing confidential in it. I have replaced the "Water" events in the calendar, but left the "Heat" ones in. In the following iCal, the first event listed (daily, M-F) stopped working on either the 17th or 18th September (i.e. the last time it triggered was either on the 16th or 17th), but the second event (Weekly, S-S) is still triggering. I have tried the obvious stop/start/reboot.
|
The above is what Thunderbird dumps the calendar as. This is what Radicale presents:
|
Found another problem this morning when the house heating didn't turn on. There are repeating calendar entries which have been ignored for several days: As you can see, the next trigger for 'Heating' and 'Water' are set for February 1st - both of these ignore the 30th and 31st January's repeats. Note that the 'Heat' entry for today at 1000 was created today and the node has picked this up... I can send the ics files separately if required. |
I have investigated this some more. If I create a recurring event on day 1, then on day 101 node-red-contrib-ical-events fails to 'see' the event and therefore doesn't trigger on it any more. This is the case for iCal (Radicale) and CalDAV (Nextcloud) servers. e.g. Create an event that runs 31/08/24 1500 to 1600 and repeats daily. The event will trigger at 1500 and 1600 on 08/12/24 as expected, but no longer triggers from 09/12/24 onwards. It looks like node-red-contrib-ical-events is grabbing the last 100 days of events by date created. This means for repeating events, I can only create three months at a time. |
Describe the bug
A repeating event is ignored if the original calendar entry is 140 days old or older. For example, on 1st May create an event that repeats every weekday forever. On September 18th, that calendar entry no longer triggers.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Calendar entries set to repeat should trigger on every occurrence of the repeated entry
Screenshots
Calendar showing repeated entries:
NodeRed showing that no trigger will occur until Saturday 23rd, ignoring the repeated entries in the calendar
**node-red-contrib-ical-events
The text was updated successfully, but these errors were encountered: