@MMRIZE Hi Im also having the exact same issue as @Lilleberg , I have however seen glimpses of this working as intended but it seems to be on a whim, either it restarts and works and then not again untill a further reboot or it just wont. I find it weird that using MMM-CalendarExt3Journal works perfect every time with similar settings. Any ideas on what may be going on? Weird thing is leaving the MMM running all the sudden it works like 20-30min later, so im wondering if theres some weirdness with how the data comes in from the GoogleCalendar module
Heres my config for refrence:
{
module: 'MMM-GoogleCalendar',
header: "My Google Private Cal",
position: "upper_third",
hiddenOnStartup: true,
config: {
broadcastEvents: true,
broadcastPastEvents: true,
calendars: [
{
symbol: "calendar-week",
calendarID: "***",
name: "1_cal", // <= RECOMMENDED to assign name
color: "yellow" // <= RECOMMENDED to assign color
},
{
symbol: "calendar-week",
calendarID: "***",
name: "2_cal", // <= RECOMMENDED to assign name
color: "red" // <= RECOMMENDED to assign color
},
{
symbol: "calendar-week",
calendarID: "en.canadian#holiday@group.v.calendar.google.com",
name: "holiday_cal", // <= RECOMMENDED to assign name
color: "green" // <= RECOMMENDED to assign color
},
],
}
},
{
module: "MMM-CalendarExt3",
position: "lower_third",
title: "Family Calendar",
config: {
mode: "month",
instanceID: "I-calendar-month",
maxEventLines: 5,
firstDayOfWeek: 1,
preProcessor: (e) => {
if (e.start?.dateTime) {
e.startDate = new Date(e.start.dateTime).valueOf()
} else if (e.start?.date) {
e.startDate = new Date(`${e.start.date}T00:00:00`).valueOf()
}
if (e.end?.dateTime) {
e.endDate = new Date(e.end.dateTime).valueOf()
} else if (e.end?.date) {
e.endDate = new Date(`${e.end.date}T00:00:00`).valueOf()
}
e.title = e.summary
e.fullDayEvent = (e.start?.date) ? true : false
return e
},
}
},
// {
// module: "MMM-CalendarExt3Journal",
// position: "bottom_bar",
// config: {
// height: '50vh',
// width: '100%',
// //locale: 'en-GB',
// staticWeek: true,
// staticTime: true,
// hourLength: 14,
// beginHour: 8,
// preProcessor: (e) => {
// if (e.start?.dateTime) {
// e.startDate = new Date(e.start.dateTime).valueOf()
// } else if (e.start?.date) {
// e.startDate = new Date(`${e.start.date}T00:00:00`).valueOf()
// }
//
// if (e.end?.dateTime) {
// e.endDate = new Date(e.end.dateTime).valueOf()
// } else if (e.end?.date) {
// e.endDate = new Date(`${e.end.date}T00:00:00`).valueOf()
// }
//
// e.title = e.summary
// e.fullDayEvent = (e.start?.date) ? true : false
// return e
// }
// }
// },