Read the statement by Michael Teeuw here.
MMM-CalendarExt3 and MMM-MonthlyCalendar blank
-
@sdetweil I don’t run under pm2 but will look at that just now
-
@Scott-M said in MMM-CalendarExt3 and MMM-MonthlyCalendar blank:
broadcastPastEvents: true,
also, this is the default for calendar
| correction… broadcastEvents is true
| broadcastPastEvents defaults to false… -
@Scott-M said in MMM-CalendarExt3 and MMM-MonthlyCalendar blank:
/* {
module: “MMM-CalendarExt3”,
disabled: true,also, you can add disabled:true,
instead of having to comment out
see https://docs.magicmirror.builders/modules/configuration.html#module-configuration -
@Scott-M said in MMM-CalendarExt3 and MMM-MonthlyCalendar blank:
calendar.js:703 sorting events count=23
where is the broadcasting message?
do the events show in the default calendar display?
-
Even setting the waitFetch to 60 secods doesn’t help, the regualr calendar populates straight way, well before the Ext3 shows.
[2025-03-20 15:43:53.544] [LOG] Starting MagicMirror: v2.31.0-develop [2025-03-20 15:43:53.554] [LOG] Loading config ... [2025-03-20 15:43:53.555] [LOG] config template file not exists, no envsubst [2025-03-20 15:43:53.732] [INFO] Checking config file /home/scott/MagicMirror/config/config.js ... [2025-03-20 15:43:53.758] [INFO] Your configuration file doesn't contain syntax errors :) [2025-03-20 15:43:53.758] [INFO] Checking modules structure configuration ... [2025-03-20 15:43:53.795] [INFO] Your modules structure configuration doesn't contain errors :) [2025-03-20 15:43:53.797] [LOG] Loading module helpers ... [2025-03-20 15:43:53.797] [LOG] No helper found for module: alert. [2025-03-20 15:43:53.797] [LOG] No helper found for module: clock. [2025-03-20 15:43:53.842] [LOG] Initializing new module helper ... [2025-03-20 15:43:53.843] [LOG] Module helper loaded: calendar [2025-03-20 15:43:53.843] [LOG] No helper found for module: MMM-CalendarExt3. [2025-03-20 15:43:53.843] [LOG] All module helpers loaded. [2025-03-20 15:43:53.846] [LOG] Starting server on port 8089 ... [2025-03-20 15:43:54.112] [LOG] Server started ... [2025-03-20 15:43:54.113] [LOG] Connecting socket for: calendar [2025-03-20 15:43:54.113] [LOG] Starting node helper for: calendar [2025-03-20 15:43:54.113] [LOG] Sockets connected & modules started ... [2025-03-20 15:43:54.311] [LOG] Launching application. [2025-03-20 15:43:54.742] [INFO] System information: ### SYSTEM: manufacturer: ; model: ; virtual: false ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.74+rpt-rpi-2712 ### VERSIONS: electron: 32.2.7; used node: 23.9.0; installed node: 23.9.0; npm: 10.9.2; pm2: 5.4.3 ### OTHER: timeZone: Europe/London; ELECTRON_ENABLE_GPU: undefined [2025-03-20 15:43:55.080] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 3600000 [2025-03-20 15:43:55.817] [INFO] Calendar-Fetcher: Broadcasting 23 events from http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics.
-
@Scott-M ok, open the developers window, ctrl-shift-i on the MagicMirror
pageselect the console tab,
put ext3 in the filter fieldare there any errors reported?
you did run npm install in the MMM-CalendarExt3 folder after git clone, right?
-
I did run nmp install in the MMM-CalendarExt3 folder!
This is the result of the Ext3 filter in the console
Load script: modules/MMM-CalendarExt3/MMM-CalendarExt3.js module.js:489 Module registered: MMM-CalendarExt3 loader.js:151 Bootstrapping module: MMM-CalendarExt3 loader.js:155 Scripts loaded for: MMM-CalendarExt3 loader.js:194 Load stylesheet: modules/MMM-CalendarExt3/MMM-CalendarExt3.css loader.js:158 Styles loaded for: MMM-CalendarExt3 loader.js:161 Translations loaded for: MMM-CalendarExt3 MMM-CalendarExt3.js:390 [CX3] Module is not prepared yet, wait a while. getDom @ MMM-CalendarExt3.js:390Understand this warningAI
-
@Scott-M I don’t know… I just re-enabled my ext3
my ext3 config
{ module: "MMM-CalendarExt3", position: "bottom_bar", disabled: false, order: "*", hiddenOnStartup: false, configDeepMerge: false, animateIn: "None", animateOut: "None", config: { eventFilter: (ev) => { return true }, eventTransformer: (ev) => { return ev }, manipulateDateCell: (cellDom, events) => { }, weatherPayload: (payload) => { return payload }, eventPayload: (payload) => { return payload } } },
note this is output from MMM-Confg setting all the extra options
-
Thanks for posting that but even with that config it is still blank. I have to leave it for now but will start on it fresh tomorrow and rebuild it and see what happens. Hopefully it is just something simple I missed.
-
I wasted most of today writing new Pi images to new SD cards, using the script to install MagicMirror again, only to have it crash / hang on the [LOG] Starting server on port 8089 … message every time.
I gave up and went back to my working SD card and it seems to work now. I had been using this from some sample code I found online, just to test and get the MMM-CalendarExt3 module working
{ url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics", name: "holiday", fetchInterval: 60000, },
I decided to add a couple of other calendars in and all of the others I tried show up in the Ext3 view, except this one. Not sure what the problem with it is but I won’t be using it so will move on.
I now have 4 random calendars and the code above in the calendar module and they all work, except the US_Holidays, the events for that one show in the list view but not in Ext3.
Thank you for taking the time to reply and help, sorry it seems to have been a bit of a waste of time.