Here is my config- I have replaced the calendar urls under as I dont want to show them to the world.
modules: [
{
module: 'MMM-Remote-Control',
// uncomment the following line to show the URL of the remote control on the mirror
// position: 'bottom_left',
// you can hide this module afterwards from the remote control itself
config: {
apiKey: 'c92e9765778gh56h83f66fffd333c6a5'
}
},
{
module: "alert",
},
{
module: 'MMM-YrThen',
position: 'top_left',
config: {
location: '1-107159',
showAll: "false",
details: "false",
title: "Været på Frekhaug neste uke",
header: "true",
size: "medium",
windGust: "true",
windUnit: "m/s",
}
},
{
module: "clock",
position: "top_right",
config: {
dateFormat: "dddd, D. MMMM YYYY",
showSunTimes: "true",
lat: "60.520806",
lon: "5.237736",
},
},
{
module: 'MMM-YrNow',
position: 'top_right',
config: {
locationId: '1-107159',
showWeatherForecast: true
}
},
{
module: "calendar",
position: "top_left",
hiddenOnStartup: "true",
config: {
broadcastPastEvents: true, // <= IMPORTANT to see past events
calendars: [
{
symbol: "none",
url: "Google Calendar url",
color: "#8BD3E6", //Blå
name: "Øyvind",
},
{
symbol: "none",
url: "Google Calendar url",
color: "#800080", //Lilla
name: "Solvor",
},
{
symbol: "none",
url: "Google Calendar url",
color: "#FF6D6A", //Rød
name: "Håkon",
},
{
symbol: "none",
url: "hGoogle Calendar url",
color: "#E9EC6B", //Gul
name: "Marius",
},
{
symbol: "none",
url: "Google Calendar url",
color: "#77DD77", //Grønn
name: "Sverre",
},
{
symbol: "none",
url: "Google Calendar url",
color: "#fffff", //Hvit
name: "Helligdager",
},
]
},
},
{
module: 'MMM-GoogleCalendar',
position: "top_left",
hiddenOnStartup: "true",
config: {
calendars: [
{
symbol: "none",
calendarID: "Google Calendar id"
color: "#000000", //Svart
name: "Familie",
},
],
}
},
{
module: "MMM-CalendarExt3",
position: "bottom_bar",
title: "",
config: {
mode: "week",
weekIndex: "0",
weeksInView: "4",
instanceId: "basicCalendar",
locale: 'nb',
maxEventLines: 10,
firstDayOfWeek: 1,
calendarSet: [],
eventHeight: "22px",
displayLegend: "true",
eventTransformer: (e) => {
e.startDate = new Date(e.start?.date || e.start?.dateTime).valueOf()
e.endDate = new Date(e.end?.date || e.end?.dateTime).valueOf()
e.title = e.summary
e.fulldayEvent = (e.start?.date) ? true : false
return e
}
}
},
]