Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
This post is deleted! -
@luke1 I believe it refreshes every minute anyway, but don’t ping the servers for the time you specify. If you want it to stop animating as a stopgap, you can use this:
/* Stop animating */ .CX2.hidden { display: block; opacity: 1; animation-name: none; animation-iteration-count: 0; animation-timing-function: none; animation-duration: 0s; } .CX2.shown { display: block; opacity: 1; animation-name: none; animation-iteration-count: 0; animation-timing-function: none; animation-duration: 0s; } -
@bkeyport Thanks a lot! :)
-
Hi
Just wondering if it’s possible to change the date format in the upcoming view.
Its currently giving me how many days until the event. I’m looking for the date of the event.
I’ve tried (useEventTimeRelative: “false”)
any other thoughts?
Jeremy
-
Is there a way to show the next month in the “month” view? I want to rotate between the current month and next month. If it can be done, is there a way to show it without having to manually filter it each month (i.e filter = currentMonth + 1 … or something like that)?
-
@almightyyoshi NM. I was way overthinking that. Found the “fromNow” setting.
-
@bkeyport
That is not correct. If you want to get rid of the week count create a css/custom.css file, never change the main.css! And add this line
.CX2 .weeksmark {
display:none;
} -
@marva82 My statement was functionally correct. Yeah, I forgot to use the overused “Use custom.css” mantra
(Which in this case, don’t really matter, as if you’d adjust MMM-CX2’s css stub, it’ll likely never get overwritten as the projects effectively dead)
And yes, you can remove the Week of the year with your stub.
-
Apparently I’m still using MMM-CalendarExt (which is archived) on my old configured MM, so I wanted to update it.
After a while with MMM-CalendarExt2 I still have an issue.I don’t get the ‘Today’ and ‘Tomorrow’ in Dutch, also keep giving the date ‘month day’ instead of day/month.
Additional question;
I know that with following you hide the week numbers.CX2 .weeksmark { display: none; }- But how can you remove the block so that the empty space disappears.
- Also how do you get less space between the ‘Today / Tomorrow / next days’
- Is it possible to see the entire appointment in ‘month’ view, even on multiple lines?

-
hi,
these are my lines in the config.jsviews: [ { name: "VIEW1", mode: "daily", title: "Termine nächsten Tage", position: "top_center", locale: "de-DE", calendars: ["eigene Kalender eintragen"], slotCount: 3, slotTitleFormat: { sameDay: "[Heute]", nextDay: "[Morgen]", nextWeek: "[am] dddd", lastDay: "[Gestern]", lastWeek: "[letzte] ddd", sameElse: "DD.MM." }, }, ],
-
@sarcux the doc seems to suggest where you have
sameDay: "[Heute]",you could have the date format too
sameDay: "[Heute] D, MMM",you do that on lastWeek
lastWeek: "[letzte] ddd"formatting options
https://devhints.io/moment -
-
How can you make the empty spaces smaller?
I have an overlap between ‘today’ view and ‘month’ view.
Make both narrower in ‘today’ and ‘month’ view

-
Use daily view. Eliminates the space almost completely. Also, if I remember right, if you change the order of views in the config.js, you may be able to get month view on top of daily view, but I’m not sure about that. Sean wasn’t too clear in order of building the modules.
something else you might be interested in. If you’d like empty days to disappear in daily view:
In your config.js, under views, add the following
className: "remove_empty_slot",For example:
views: [ { mode: "daily", position: "top_right", slotCount: 14, timeFormat:"LT", hideOverflow: false, filterPassedEvent: true, name: "Schedules", className: "remove_empty_slot",Then in custom.css add:
.CX2 .remove_empty_slot .eventCount_0 { display:none; } -
Re: MMM-CalendarExt2
I am new here and am trying to get the calendar extension to work. I set it up with the basic configuation but I am getting a blank screen in Magic Mirror. Any help would be appreciated.{
module: ‘MMM-CalendarExt2’,
config: {
calendars : [
{
url: “https://www.google.com/calendar/ical/ovb564thnod82u5c4njut98728%40group.calendar.google.com/public/basic.ics”,
},
],
views: [
{
mode: “daily”,
},
],
scenes: [
{
name: “DEFAULT”,
},
],
},
}, -
@pkup10 way underconfigured. Compare to mine, stripped down to it’s bare minimum.
{ module: "MMM-CalendarExt2", // https://github.com/MMM-CalendarExt2/MMM-CalendarExt2 config: { calendars : [ { url: "<URL>", name: "Main Calendar", }, ], views: [ { mode: "daily", position: "top_right", calendars: ["Main Calendar"], }, ], scenes: [ { name: "DEFAULT", }, ], }, }, -
-
@wenike that module doesn’t use the typical display approach. position is not used
-
@wenike Take a look at my barebones config above. You’ll notice the position is part of the view config not the main part. This module creates virtual positions after the main stuff is done.
-
Hi,
is there a way to setup a sliding week (sliding 7 days) in the calendar, means always show the actual day as the first day and then e.g. 7 days into the future ?
Currently I’m showing two weeks, but on Sundays the first week shows only gone events and is not very helpful. I rather would like to save the space for the first week by just showing only 7 days in the future. Unfortunately I was not able to figure this out by myself :crying_face: .Many thanks for the great addon
Clas
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
