Using the default calendar module to display events - the same config worked for a while. I updated MM, and this does not work anymore. Getting the following issue regardless of which link I have in config - I checked and the cal links are working.
I am using a RPi, MM is up to date. Thanks for all the help community!
[23.12.2023 22:22.14.151] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/en.indian%23holiday%40group.v.calendar.google.com/public/basic.ics - Interval: 3600000
[23.12.2023 22:22.14.157] [ERROR] Whoops! There was an uncaught exception...
[23.12.2023 22:22.14.168] [ERROR] ReferenceError: fetch is not defined
at fetchCalendar (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:58:3)
at CalendarFetcher.startFetch (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:103:3)
at Class.createFetcher (/home/pi/MagicMirror/modules/default/calendar/node_helper.js:80:11)
at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/default/calendar/node_helper.js:21:9)
at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:104:11)
at Socket.emit (node:events:513:28)
at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:703:39
at process.processTicksAndRejections (node:internal/process/task_queues:78:11)
[23.12.2023 22:22.14.169] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[23.12.2023 22:22.14.170] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Here is my config for this module:
// Calendar
{
module: "calendar",
//header: "Calenar",
position: "top_right",
config: {
colored: true,
maximumNumberOfDays: 60,
maximumEntries: 12,
displaySymbol: true,
timeFormat: "absolute",
broadcastPastEvents: true,
showEnd: false,
wrapEvents: false,
calendars: [
{
//symbol: "fas fa-glass",
//maximumEntries: 4,
url: 'https://calendar.google.com/calendar/ical/en.indian%23holiday%40group.v.calendar.google.com/public/basic.ics',
//color: "#c97dff" // #ff8989, #ffc386, #f9ff99 is red, orange and yellow
},
{
symbol: "fas fa-heart",
maximumEntries: 4,
color: "#a1ffb6",
url: "XXX",
},
{
symbol: "fas fa-birthday-cake",
maximumEntries: 4,
color: "#ff8989",
url: "XXX",
},
],
},
},