Read the statement by Michael Teeuw here.
MMM-CalendarEXT3 and Default Calendar Display
-
Good morning,
Hopefully a simple question. I use both MMM-CalendarEXT3 and default Calendar module displaying on my MagicMirror. I know the MMM-CalendarEXT3 config goes based off of the default Calendar module config. Is it possible to show a calendar with events on the MMM-CalendarEXT3 module but not have the events show up in the default Calendar module?
I want these events to show in the calendar, but not on the nifty “upcoming to-do list” type of view that the default Calendar module provides.
Thanks!
-
@jesseyz yes, just comment out the position: property on the default calendar
for example//position:"top_left",
-
@sdetweil excellent, I’ll give it a shot. Thank you
-
@sdetweil Good morning.
This solution did not work for me. I would like to continue to use the default calendar, but only show 2 of the 4 calendars I have plugged into it.
I initially tried to give each calendar a different position then comment out the calendars I didn’t want to show but it ended up hiding all default calendars. My current temporary solution is to have everything show on all calendars since the CalendarEXT3 being fully populated is most important. The default calendar showing 2 of the 4 calendars is the “nice to have.”
Here’s my configuration for these modules (with personal info redacted):
{ module: "calendar", header: "Family", position: "bottom_left", config: { calendars: [ { symbol: "calendar-check", maximumEntries: "30", url: "Family calendar URL" }, { symbol: "dumbbell", url: "Gym Schedule URL" //position: "bottom_right" }, { symbol: "user-nurse", url: "Work schedule URL" //position: "bottom_right" }, { url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics" } ] } }, { module: 'MMM-CalendarExt3', position: "upper_third", title: "Family Calendar", config: { mode: "month", fontSize: '22px', eventTransformer: (event) => { if (event.title.includes("Dad")) { event.color = "blue"; } else if (event.title.includes("Mom")) { event.color = "yellow"; } else if (event.title.includes("Kid #1")) { event.color = "red"; } else if (event.title.includes("Kid #2")) { event.color = "green"; } return event; }
-
@jesseyz when the default calendar has multiple URLs they are ALWAYS displayed together.
so all shown, or notyou can have multiple instances of the default calendar
{ module: "calendar" . . . }, { module:"calendar" . . . }
so maybe in your case, you have 2 instances
with 2 cal urls each, and one with position, and the other commented out
or 4 instances, 1 url each, and 2 commented outthey all broadcast , and cal ext3 processes just like normal
-
@sdetweil this was the key, I wasn’t aware having multiple instances was ok. I chose 2 instances, 1 hidden position and 1 not. This was successful!
Thank you for all of your help and for your setup/update scripts. I use a Pi Zero W2 so making config changes and then testing can be somewhat of a pain with the slow refresh/reboot time.
One day I’ll bite the bullet and get a fancier Pi but this one does the trick for the time being!
-
@jesseyz when you get that snazzier pi/sbc, you can use my backup/restore to move MM config and modules between devices… (and os’s…)
https://github.com/sdetweil/MagicMirror-backup-restore