Read the statement by Michael Teeuw here.
Default Calendar Module not showing some recurring events.
-
Hello,
Building my first Magic Mirror as calendar for my family and just about done but have been banging my head for a couple days on a particular issue with the default calendar module not showing all my recurring events. What is strange is that it shows them in past events and in events past the first of the next month but none between now and the end of the month of January (even some in series with ones showing in the past or more distant future). Searched the forums and haven’t found any with this issue yet so looking for some help. Thanks in advance!Below is my calendar config, i have a copy of my ical pulled from icloud locally in a folder under my modules folder.
{ module: "calendar", // header: "US Holidays", position: "top_left", config: { maximumNumberOfDays: 120, maximumEntries: 100, wrapEvents: true, calendars: [ { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: "calendar-check", url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics", name: "us_holiday", color: "red" }, { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: "calendar", url: "http://0.0.0.0:8080/modules/calendars/familycal.ics", name: "family_cal", color: "blue" }, ], broadcastPastEvents: true, } },
Below is a sample of one of the events in question from the ics file, but all recurring that fall in the period are exhibiting this. From this recurring event it just shows the entries for the following dates Jan 9, Jan 11, Feb 1,Feb 6… and is missing the ones that should be on Jan 16, Jan 18, Jan 23, Jan 25 and Jan 30:
BEGIN:VEVENT CREATED:20240113T055021Z DTEND;TZID=America/New_York:20240109T090000 DTSTAMP:20240113T055022Z DTSTART;TZID=America/New_York:20240109T080000 LAST-MODIFIED:20240113T055021Z RRULE:FREQ=WEEKLY;UNTIL=20240627T120000Z;BYDAY=TU,TH SEQUENCE:0 SUMMARY:Band Practice UID:868DEEF9-5FA2-4AFB-A9AC-AA1A28120F1E URL;VALUE=URI: X-APPLE-CREATOR-IDENTITY:com.apple.mobilecal X-APPLE-CREATOR-TEAM-IDENTITY:0000000000 TRANSP:OPAQUE END:VEVENT
Thanks again.
-
@schubs yes, we are having trouble with the new rrule library used by the calendar ICS parser
let’s try to go back to the prior version (which also has trouble getting the time correctly)
cd ~/MagicMirror npm install node-ical@0.16.1
then restart MagicMirror
-
@sdetweil Thanks so much for this and the quick response, it did the trick to get the events showing which is more important to me at this point than the times being 100% correct, and I have not yet found one of mine that seems to be off on that issue yet. Hopefully soon all issues can be resolved on this but I know how difficult working with dates and times can be.
Relavant xkcd: DateTime -
Thank you so much for that!! I haven’t deployed my mirror yet, I just have it running headless with a remote screen that I check every few days to make sure things are still looking good. I noticed the other day that some of the recurring events weren’t full day events disappeared. I was convinced that I had screwed something up on the config side. It took spinning up a duplicate system as a test using default config with just my calendars to realize that the issue wasn’t on my side.
I also ran the rollback, and everything is solid once again.
-
@sdetweil said in Default Calendar Module not showing some recurring events.:
npm install node-ical@0.16.1
That did the trick, been scratching my head for a while.
Thanks!