Read the statement by Michael Teeuw here.
Calendar Not Displaying Recurring Events
-
Hello, I’m new and I’ve been pulling my hair out for days trying to get the default calendar to display recurring events. The .ics is verified to contain recurring events but the calendar will only display the first event of the set and no more.
This is a critical function for me as I intend to use this to display recurring family activities and will heavily rely upon it. I have searched the Internet and cannot fine a solution but have seen other complaints about it here and there.
Is MM capable of displaying these events?
-
@oldrocker node-ical has just release a new version (0.17.0) which removes the luxon library which causes all the localdate/time issues…
want to give it a try ? do
cd ~/MagicMirror npm install node-ical@latest
then start mm as usual
-
@oldrocker said in Calendar Not Displaying Recurring Events:
Is MM capable of displaying these events?
sure, as long as they are in the time and number of events limit…
the default number of events is 10 events. (maximumEntries)
https://docs.magicmirror.builders/modules/calendar.html#configuration-options
-
@sdetweil Thanks for the reply.
I have the maximumEntries: 100 but only the initial event displays and does not recur.
Any other ideas?
-
@oldrocker can you show me the calendar config from config.js. just xxx out the url
and can you show me the event from the ICS file
to get the ICS file, open a terminal window and do
curl -sL the_url > somefile.txt
the edit the somefile.txt and locate the event, and post it here
change any text you are not willing to shareBEGIN:VEVENT . . . END:VEVENT
-
@sdetweil here is some information:
config: { broadcastPastEvents: true, calendars: [ { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: 'calendar-check', broadcastPastEvents: true, maximumEntries: 100, maximumNumberOfDays: 365, url: 'http://XXXXXXXXXXXXXXXXXX/Routine.ics', name: 'Routine', color: 'yellow', auth: { user: 'XXXXXXXXXXX', pass: 'XXXXXXXXXXX', method: 'basic' }, },
event
BEGIN:VEVENT CREATED:20231111T124003Z DTSTAMP:20231111T124242Z LAST-MODIFIED:20231111T124242Z SEQUENCE:3 UID:02d62d6f-74ff-48c2-aa7d-2682cb7e688c DTSTART;VALUE=DATE:20231111 DTEND;VALUE=DATE:20231112 STATUS:CONFIRMED SUMMARY:Test Event 1 RECURRENCE-ID;VALUE=DATE:20231111 END:VEVENT BEGIN:VEVENT CREATED:20231111T124003Z DTSTAMP:20231111T124242Z LAST-MODIFIED:20231111T124242Z SEQUENCE:3 UID:02d62d6f-74ff-48c2-aa7d-2682cb7e688c DTSTART;VALUE=DATE:20231118 DTEND;VALUE=DATE:20231119 STATUS:CONFIRMED SUMMARY:Test Event 1 RECURRENCE-ID;VALUE=DATE:20231118 END:VEVENT
-
@oldrocker said in Calendar Not Displaying Recurring Events:
broadcastPastEvents: true,
maximumEntries: 100,
maximumNumberOfDays: 365,these parms are not calendar specific, they need to be above the calendars:[] list
and the first/last are the same as their default valuein the config options doc,
the first section applies to ALL calendars
the later section applies to each calendar entry. { url:…}
also
the master event with the start:/dtend is not present in the list you showed
-
@sdetweil Sorry, I’ve made a mess out of my config file the past three days figuring this out. I used the CalDav 3rd party module to create ics file, so if it’s not correct, I suppose I should download the ics directly from my calendar to troubleshoot. Perhaps the problem is in CalDav and I’m asking the questions in the wrong forum.
For a work-around, I can use the public subscription to the calendar just fine but the recurrences are shifted over one day like in a previous post in this forum you participated in. I looked at the calendarutils.js you mention in that posting for modification but I don’t see the lines that should be modified. I would rather use the ics method but will use this export method if I can get the events to be in the correct day. Can you help me with that?
-
@oldrocker point me to the post you reference…
-
Here it is. I’d rather not have a public subscription out there but it is what it is.
-
@oldrocker yeh, I added that code already to attempt to fix this. but the rule lib keeps giving back junk. I haven’t found a way to fix this.