Read the statement by Michael Teeuw here.
Calendar Module not working with Google Calendar
-
@sdetweil, would you mind sharing how you set up a filter for the events? I have a suspicion that too many events are causing some items to now show up on calendar.
-
@redink there are no backend (at the ICS parser) filters
on the front end (browser display) there are the following config options that affect event display
maximumEntries,
maximumNumberOfDays,
hidePrivate,
hideOngoing and
hideDuplicatesthe default calendar module NEVER displays events before today. but it will broadcast them for other modules to use ( MMM-CalendarExt3* uses them)
sadly the parser does NOT indicate where today is in the stream of events parsed (the ICS has EVERYTHING in it). the only way to fix this is to make a breaking change, and send two lists, old and future
because of the single list , maximumEntries , CAN/DOES cause the event list to get clipped before any current events can be processed.
-
@sdetweil ok, that makes sense.
My issue is really strange where my two recurring weekly events only show up during the first two weeks of the month, and are ignored the rest of the time until the next month. I even tested installed thunderbird to open the ICS file to check that the issue isn’t with google calendar. Thunderbird displays the recurring events just fine.
It’s making me think if I should hack together some kind a pre-processor to only return events that are relevant to the view.
-
@redink yes, new rrule is having trouble…
lets go back to the prior parser
cd ~/MagicMirror npm install node-ical@0.16.1
-
@sdetweil That did it. Thank you so much. I spent two hours this morning trying to fix this.
How did you know that this was an issue? I need to get better at learning how to troubleshoot this mirror myself. -
@redink we’ve been working it for the last couple weeks. this was a major change for calendar this release. I pushed it cause of all the other recurring events time problems.
I do most of the calendar module parsing support
-
@sdetweil really appreciate your support on this!
-
@AnduriI, I had a similar issue I spent a few hours troubleshooting. MMM-Calendar (connected to private Google calendar ics link), MMM-Wallpaper, and MMM-quote-of-the-day all were black or showing errors. It started with a clean install of Raspberry Pi and MagicMirror 2.26.0 (installed via sdetweil raspberry.sh script) in early January 2024. Installing electron@28.1.1 and node-ical@0.16.1 did not fix the issue.
What fixed this issue for me was disabling IPv6 in the Raspberry Pi by adding 3 lines to the sysctl.conf file. Now all three of these modules work correctly.
sudo nano /etc/sysctl.conf
Add these three lines:
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
Save (Ctrl + x, y) and reboot
sudo reboot
to apply setting. -
@jer9189 great feedback, thank you!!!
I pinned a new (locked) post with a link to your post in the troubleshooting section
-
@sdetweil yeap thx that does it to on my side!
Regards,