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@latestthen 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.txtthe 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.
-
@sdetweil ok, then I’m stuck. Thanks for your help!
-
@oldrocker said in Calendar Not Displaying Recurring Events:
@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:VEVENTThere should be RRULES in the file. Could you find?
-
RRULES is not in the file that I could find. I also downloaded the ics directly from my Nextcloud instance and tried a manual static load like BasicUser did found here:
https://forum.magicmirror.builders/topic/13488/default-calendar-and-nextcloud-caldav
Effectively, I am cutting out the use of any 3rd party module and the recurrences are the same. The recurrences on Saturdays are correct while my recurrences on Wednesday shift to Thursdays after the first event. The ics loads just like when I pull it directly from the export url; SOME of the recurrences are a day ahead. This appears to be an issue with the default calendar and not the ics or the third party modules because the third party modules mirror what the default calendar sees and the ics file displays correctly in other applications and programs.
Perhaps I will spend some time looking into learning more about JS this weekend so I can troubleshoot further.
-
@oldrocker its rrule
here is an event using it
DTSTART;TZID=America/Los_Angeles:20221013T173000 DTEND;TZID=America/Los_Angeles:20221013T203000 RRULE:FREQ=WEEKLY;BYDAY=TH EXDATE;TZID=America/Los_Angeles:20230907T173000 DTSTAMP:20231106T004837Z UID:11ksg3ucn63ndd1034ht8mf0jr@google.com CREATED:20221012T065054Z LAST-MODIFIED:20230704T014529Z SEQUENCE:3 STATUS:CONFIRMED SUMMARY:hucklebucks trivia TRANSP:TRANSPARENT END:VEVENT -
@oldrocker said in Calendar Not Displaying Recurring Events:
Perhaps I will spend some time looking into learning more about JS this weekend so I can troubleshoot further.
see this post
-
When I concatenate the ics, I don’t find any “RULE” using grep. I’ve re-downloaded and it’s simply not there. Perhaps Nextcloud doesn’t generate it that way?
-
@oldrocker if RRULE isn’t there, then there are no repeating events
-
That’s interesting and my issue is really strange still. One series of my recurrences shifts from Wednesday to Thursday after the first one that displays. So, the first occurrence is on Wednesday, the next three are on Thursday. The other series starts on the second week of the month on a Saturday, and the recurrences are also on Saturday and nothing is wrong in that series.
-
@oldrocker some may be corrected my the code I added and some may not, or may be corrected in the wrong direction…
read my other post, you’ll see the mess we have on our hands.
-
@sdetweil there are repeating events, just not on the proper days of the week.
I believe you when you say it’s messy. I don’t know JS but I know more about it now over the past three days than I ever thought I would. I’ve never really messed around with calendars and some of this stuff. Much of it is foreign to me.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login