Read the statement by Michael Teeuw here.
MMM-CalendarExt - Startup problem
-
@sdetweil I got it working reading some other threads :)
Ran these inside the module-folder:
npm install request
npm install valid-url
npm init -y
There seems to be some problem though:
# npm audit report
request *
Severity: moderate
Server-Side Request Forgery in Request - https://github.com/advisories/GHSA-p8p7-x288-28g6
Depends on vulnerable versions of tough-cookie
No fix available
node_modules/requesttough-cookie <4.1.3
Severity: moderate
tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
No fix available
node_modules/tough-cookie2 moderate severity vulnerabilities
-
@Bimtronic ignore the audit reports, nothing you can do about them. part of the reason request is deprecated.
-
@Bimtronic MMM-CalendarExt3 is the latest and gets the data from the default calendar, so it doesn’t have this problem
-
-
Im struggling to get anything to show in my setup for daily and current bars.
I have three local ics-calendars in my MM-Folder that ive adressed in my config, only calendar for “upcoming” bar shows up.
Config >
modules: [ { module: 'MMM-CalendarExt', position: "top_left", //anywhere. It is not related to real position of view config: { // Read below system:{ show: ['daily', 'upcoming', 'current'], locale: 'sv-SV', //when omitted, default value would be your system default locale by moment.js showEmptyView: 1, fullDayEventLocalize: 1, redrawInterval: 30*60*1000, //minimum 60000 useProfileConfig: 0, startProfile: '' }, defaultView: { position: 'bottom_bar', positionOrder: -1, overflowRolling: 0, overflowHeight: 0, overflowDuration: 2, onlyStartingTime: 0, timeFormat: 'HH:mm', dateFormat: "MMM Do", fullDayEventDateFormat: "MMM Do", ellipsis: 0, limit:1, oneLineEvent:0, replaceTitle:[], classPattern:[], classPatternWhere:["title"], symbolPattern:[], symbolPatternWhere:["title"] }, views: { weeks: { showWeeks: 1, weeksTitle: 'Veckor', weeksFormat: 'wo', weekdayFormat: 'dd', titleFormat : 'MMM D', overTitleFormat : 'MMM D', counts: 2, }, daily: { direction: 'row', counts: 5, titleFormat: "D", overTitleFormat: "MMM D", subtitleFormat: "ddd", }, weekly: { direction: 'row', counts: 4, titleFormat: "wo", overTitleFormat: "gggg wo", subtitleFormat: "MMM Do", }, current: { title: 'Aktuell', useRelative: 1 }, upcoming: { title: 'Kommande', useRelative: 1 }, }, defaultCalendar: { profiles: [], views: ['daily'], symbol: "", styleName: "", replaceTitle:[], classPattern: [], classPatternWhere: ["title"], symbolPattern: [], symbolPatternWhere: ["title"], maxEntries:50, maxDays:180, interval: 1800000, }, calendars: [ { name: "Namnsdagar", url: "webcal://localhost:8080/modules/ics/namedays.ics", profile: [], views: ['daily', 'current', 'upcoming'], styleName: "style1", symbol: 'us@fi', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, { name: "Helgdagar", url: "webcal://localhost:8080/modules/ics/se_holidays.ics", profile: [], views: ['daily', 'current', 'upcoming'], styleName: "style1", symbol: 'se@fi', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, { name: "Ansvarsvecka", url: "webcal://localhost:8080/modules/ics/Ansvarsvecka.ics", profile: [], views: ['daily', 'current', 'upcoming'], styleName: "style1", symbol: 'se@fi', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, ], } }, { module: "calendar", header: "Helgdagar", position: "top_left", config: { calendars: [ { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: "calendar-check", url: "webcal://localhost:8080/modules/ics/se_holidays.ics" } ] } },
-
@Bimtronic Try MMM-CalendarExt3 instead of MMM-CalendarExt. MMM-CalendarExt is no longer maintained.