Read the statement by Michael Teeuw here.
MMM-CalendarExt2 vertical orientation positioning
-
1st you should move to CalendarExt3, as ext2 is not really supported anymore…
@MMRIZE can you help here?
-
@sdetweil ahh ok let me try the ext3 I had only used this one because of a youtube video that I was following, and a calander that finally actually worked for me as the others were not showing up on the screen.
-
@Michelle-H2020 ext no longer reads the calendar itself, but relies on the built in calendar module to do that and broadcast the event data and Ext3 reads that broadcast…
you can have the default cal not on screen (no position), but still broadcasting so there is a decent amount of change, but ext3 does honor some MM positions, so you can have it lower,
-
I get a bunch of red errors when trying to run the Ext 3
{ module: "MMM-CalendarExt3", position: "bottom_bar", title: "test", config: { mode: "month", instanceId: "basicCalendar", locale: 'de-DE', maxEventLines: 5, firstDayOfWeek: 1, calendarSet: "my test", } }, { module: "calendar", position: "top_left", config: { broadcastPastEvents: true, calendars: [ { url: "https://calendar.google.com/calendar/XXXXXXXXX/public/basic.ics", name: "test", color: "red", },
I use this and get the error
01.11.2023 17:10.06.203] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/mirror/MagicMirror/config/config.js:186
};SyntaxError: Unexpected token ‘;’
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1185:20)
at Module._compile (node:internal/modules/cjs/loader:1227:27)
at Object…js (node:internal/modules/cjs/loader:1326:10)not sure where the error is
-
@Michelle-H2020 So what is above line 186 where the semicolon is?
-
@Michelle-H2020
CX2 doesn’t respect usual MM’s positioning. It manage number of “views” in multi-positions, so you need to assign position to each “view”, not module itself.
Read manuals.-
https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/blob/main/docs/Configuration.md
-
https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/blob/main/docs/Configuration/View.md
And other documents also.
-
-
@MMRIZE I think she’s trying EXT 3 now
-
[01.11.2023 19:44.21.401] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/mirror/MagicMirror/config/config.js:189
if (typeof module !== “undefined”) {module.exports = config;}
^^^^^^SyntaxError: Unexpected token ‘typeof’
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1185:20)
at Module._compile (node:internal/modules/cjs/loader:1227:27)
at Object…js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at loadConfig (/home/mirror/MagicMirror/js/app.js:117:14)
at App.start (/home/mirror/MagicMirror/js/app.js:247:18)
at Object. (/home/mirror/MagicMirror/js/electron.js:190:7)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object…js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12This is starting at line 180 so there is nothing really there at all??
} }, ]
},
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;} -
@Michelle-H2020 well, it appears you deleted a closing }
when u pasted in the new module entrylook at the bottom of the config.js.sample file in the same folder
-
Not sure what I did :/ pretty sure I will have to start over and just copy and paste a default config. Do you think I can delete and just copy the whole screw of the sample ?