Read the statement by Michael Teeuw here.
Displaying two calendars in the standard calendar in one list
-
I would like to display two Google calendars in the default calendar. However, both calendar should be displayed in one list on the mirror.
I try to realize it with the following config
module: "calendar", header: "Termine", position: "top_left", config: { timeFormat: 'absolute', maximumEntries: 10, dateFormat: 'ddd DD MMM HH:mm', fullDayEventDateFormat: 'ddd DD MMM', showEnd: false, urgency: 0, getRelative: 0, calendars: [ { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: "calendar-check", url: "https://calendar.google.com/calendar/ical/******/basic.ics" }, { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: "calendar-check", url: "https://calendar.google.com/calendar/ical/******/basic.ics" }, ] } },
But when the MMM starts the module first shows the first configured URL and a few seconds later the module only shows the appointments from the second URL.
But as I wrote I need the entries from both calendars in one list.
Please can you help me.
Thank you in advance.
Lars -
@Klinge I have a configuration as you but the
fetchInterval:
May it help butting this up to the config-part as:config: { fetchInterval: 7 * 24 * 60 * 60 * 1000,
-
I use this to display 3 calendars in the same column
{
module: “calendar”,
header: “Our Calendar”,
position: “top_left”,
config: {
calendars: [
{
fetchInterval: 7 * 24 * 60 * 60 * 1000,
symbol: “calendar-check”,
url: ‘https://calendar.google.com/calendar/ical/en.uk%23holiday%40group.v.calendar.google.com/public/basic.ics’,
},{
color: ‘#FFFF00’,
symbol: “calendar”,
url: ‘https://calendar.google.com/calendar/ical/fr.french%23holiday%40group.v.calendar.google.com/public/basic.ics’,
},
{
color: ‘#00FF00’,
symbol: “calendar”,
url: ‘https://calendar.google.com/calendar/ical/xxxx%40gmail.com/private-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics’,}, ] } },
-
@bdream Thank you for you answer. Now I delete the second fetch line. So my config is
module: "calendar", header: "Termine", position: "top_left", config: { timeFormat: 'absolute', maximumEntries: 10, dateFormat: 'ddd DD MMM HH:mm', fullDayEventDateFormat: 'ddd DD MMM', showEnd: false, urgency: 0, getRelative: 0, calendars: [ { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: "calendar-check", url: "https://calendar.google.com/calendar/ical/******/basic.ics" }, { symbol: "calendar-check", url: "https://calendar.google.com/calendar/ical/******/basic.ics" }, ] } },
But now it’s getting really crazy. The mirror shows me an appointment at 12.20pm today as the first entry. That’s also correct. But after that it only shows me from both calendars all-day appointments. It no longer shows appointments that start at a certain time, for example at 1 pm.
Why are only all-day appointments displayed?
-
@Klinge fall back to the prior calendar parser
cd ~/MagicMirror npm install node-ical@0.16.1
restart mm
your config looks ok
-
-
I typed too soon, just after I posted that I applied a MagicMirror upgrade, now it doesn’t display my personal calendar.
-
@lif can you do this
https://forum.magicmirror.builders/post/114622 -
Thanks, that worked.