I updated Magic Mirror today and my calendar is no longer working.
Here’s the error that I get
[02.01.2024 17:08.23.640] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/xxxxx/basic.ics TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11576:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (node:internal/deps/undici/undici:8522:28)
at node:internal/deps/undici/undici:8480:50
at Immediate._onImmediate (node:internal/deps/undici/undici:8511:13)
at process.processImmediate (node:internal/timers:476:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
And here’s my config
{
module: "MMM-CalendarExt3",
position: "bottom_bar",
title: "",
config: {
mode: "week",
instanceId: "basicCalendar",
locale: 'en-EN',
weekIndex: 0,
weeksInView: 4,
maxEventLines: 5,
firstDayOfWeek: 0,
fontSize: "22px",
eventTimeOptions: {
hour12: false,
hour: "2-digit",
minute: "2-digit"
},
useSymbol: false,
calendarSet: ['School', 'Family'],
}
},
{
module: "calendar",
config: {
broadcastPastEvents: true, // <= IMPORTANT to see past events
calendars: [
{
name: "Family",
url: "https://calendar.google.com/calendar/ical/xxxxxxxxxxxx/basic.ics",
color: "green"
},
{
name: "School",
url: "https://calendar.google.com/calendar/ical/xxxxxxxxxx%40group.calendar.google.com/public/basic.ics",
color: "blue",
filter: (event) =>{
if (event.title.search("......") > -1) {
return true
} else {
return false
}
},
}
]
},
},
I tested both calendar URLs and they do download the ICS file just fine. I’d appreciate any help.