Read the statement by Michael Teeuw here.
MMM-CalendarExt3 and MMM-MonthlyCalendar blank
-
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.
-
@Scott-M just fyi, we replace webcal: with https: under the covers…
I’d like to know more about the system hang…
what OS, what UI engine (x11 wayland vs labwc)
note we added new start commands for the different engines…see https://forum.magicmirror.builders/topic/19269/new-magicmirror-start-options-in-version-2-30-0
[LOG] Starting server on port 8089
if you are doing npm run server, that is the end of the messages
until a browser connects… (it might LOOK like a hang… but its just waiting)IF the installer detects that electron did not install for some reason (armv6, or …)
THEN it sets up my script (run-start.sh) to run browser over server
( you can check by examining the start: clause in package.json)and ASSUMES chromium is the browser..
the end of the scripts web page explains how to use some other browser
if chromium is not found, an error message will be logged in the npm start output, but nothing will be shown on the screen
now, in ANY case, did you install the clipping fix?
see https://forum.magicmirror.builders/topic/19282/version-2-30-0-calendar-fix-for-clipping-broadcast-eventwhich accidentally chopped off the messages sent to ext3 (and others)
my fault… it passed test60 seconds to fetch holidays will trigger a block on calendarlabs as they warned us a couple years ago about being pounded by hundreds of mirrors getting content too often (we changed that fetch to once a week)
ext3 is designed to NOT flash the screen on every update… all calendars are processed concurrently but independently and broadcast when they have data.
ext3 wants to WAIT til all the data has arrived, (waitFetch config time, 5 seconds by default)IF the data does NOT arrive for A calendar before waitFetch, THEN it will NOT BE DISPLAYED until the refreshInterval time (default 30 minutes)
(or you MANUALLY refresh the page (ctrl-r)) -
Back to the SD card that hangs on the starting server message…
I used Raspberry Pi OS (64 Bit) Bookworm, onto a Pi5, labwc compositor. I did install the clipping fix after the MagicMirror install
I ran with
npm run start
with this result, it may just be waiting but CRTL C does nothing and I have to close the ssh connection and reconnect.
scott@MagicMirror:~/MagicMirror $ npm start > magicmirror@2.31.0-develop start > npm run start:x11 > magicmirror@2.31.0-develop start:x11 > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2025-03-21 15:14:51.442] [LOG] Starting MagicMirror: v2.31.0-develop [2025-03-21 15:14:51.451] [LOG] Loading config ... [2025-03-21 15:14:51.453] [LOG] config template file not exists, no envsubst [2025-03-21 15:14:52.019] [INFO] Checking config file /home/scott/MagicMirror/config/config.js ... [2025-03-21 15:14:52.045] [INFO] Your configuration file doesn't contain syntax errors :) [2025-03-21 15:14:52.045] [INFO] Checking modules structure configuration ... [2025-03-21 15:14:52.081] [INFO] Your modules structure configuration doesn't contain errors :) [2025-03-21 15:14:52.083] [LOG] Loading module helpers ... [2025-03-21 15:14:52.084] [LOG] No helper found for module: alert. [2025-03-21 15:14:52.093] [LOG] Initializing new module helper ... [2025-03-21 15:14:52.094] [LOG] Module helper loaded: updatenotification [2025-03-21 15:14:52.094] [LOG] No helper found for module: clock. [2025-03-21 15:14:52.231] [LOG] Initializing new module helper ... [2025-03-21 15:14:52.231] [LOG] Module helper loaded: calendar [2025-03-21 15:14:52.237] [LOG] No helper found for module: weather. [2025-03-21 15:14:52.339] [LOG] Initializing new module helper ... [2025-03-21 15:14:52.339] [LOG] Module helper loaded: newsfeed [2025-03-21 15:14:52.339] [LOG] All module helpers loaded. [2025-03-21 15:14:52.342] [LOG] Starting server on port 8089 ...
-
@Scott-M ok, starting server is correct…
did you npm install or npm run install-mm
after installing the clipping fix?? (its required) -
@sdetweil said in MMM-CalendarExt3 and MMM-MonthlyCalendar blank:
@Scott-M ok, starting server is correct…
did you npm install or npm run install-mm
after installing the clipping fix?? (its required)I see, my mistake. I assumed from the forum post that this was if you use the development branch, as the instructions said
cd ~/MagicMirror git fetch origin pull/3679/head:_fix_clipping git switch _fix_clipping # if you get an error error, rm package-lock.json # and repeat the git switch restart MM
with npm run install-mm further down the post. I must have done this on the older one I am using though as it works.
Away all weekend so won’t be able to check until Monday.
Thanks again!