Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
@gregp
Not supported directly(even though you can do like your words - filtering same calendar), but good suggesion. I’ll consider that feature on next updates. -
@Sean First of all, thanks for the great module! We’re using it at work for car reservation calendar. Can you help me customise it? He’re the config:
{ module: "MMM-CalendarExt2", position: "upper_third", config: { calendars : [ { url: "https://outlook.office365.com/owa/calendar/supersecret.ics }, ], views: [ { mode: "weekly", }, ], scenes: [ { name: "AUTOKALENTERI", }, ], }, },screenshot:

What I’d like to change:
- hide past days
- show let’s say 10 markings per week
- show no more than two weeks / current week only
- hide the module logo at the center of the screen
-
hide past days
In calendar configuration, set
beforeDays:0or in view configuration, setfilterPassedEvent: true.
https://github.com/eouia/MMM-CalendarExt2/wiki/2b.-Configuration:Calendar
https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration:Viewshow let’s say 10 markings per week
Sorry I cannot understand what this means. I’m not good at English, sorry. Tell me more detailed description or example.
show no more than two weeks / current week only
I think you are using
view:weekly. setfromNow:0andslotCount:1on your view configuration.
https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration%3AView
https://github.com/eouia/MMM-CalendarExt2/wiki/2c2.-View:weekly,-monthlyhide the module logo at the center of the screen
You might have set the
positionof module itself. MMM-CalendarExt2 doesn’t need position for module itself. remove it from your configuration.{ module: 'MMM-CalendarExt2', // here you don't need to describe position of module itself. config: {https://github.com/eouia/MMM-CalendarExt2/wiki/2.-Configuration
-
@gregp
I’ve updated. Now you cantransformthe event properties as your wish.// In your targeted view configuration, add this. transform: (event)=>{ if (event.title.search("Birthday") > -1) { // If the event might include "Birthday" in its title, event.icon = "fxemoji-birthdaycake" // Set icon of that event to "fxemoji-birthdaycake" } return event // Return that event. } -
@sean Wow! Fantastic! Will give it a whirl.
-
@sean “show let’s say 10 markings per week”
What I meant was that there were two items missing on week 6. Therefore the “+2” like in the screenshot. Fixed it with:hideOverflow: true“You might have set the position of module itself. MMM-CalendarExt2 doesn’t need position for module itself. remove it from your configuration.”
Ah, of course. Set position under “views” and now it’s working as desired. Thank you! -
Great job!
I was almost done with MMM-CalendarExt then you make it better, now my question is “is there a way to update it to MMM-CalendarExt2”?
Thanks.
-
@code999
Not upgradable. Both are similar but different from structure to css rules. -
alright thanks
-
First of all, thanks for this module, so far it’s filled all my needs of a calendar. One thing I’m struggling with though is that it seems to redraw itself every minute? And since I’m running MM on a raspberry pi zero the drawing takes something like 3 seconds, which makes it a little irritating. Is there anyway to control the re-drawing? I’ve tried setting the scanInterval, but that doesn’t have any effect.
I also get some CALEXT2_CALENDAR_MODIFIED notifications at fairly regular intervals, even when my calendar hasn’t been changed, but they don’t seem correlated to the redrawing. I’m only using google calendars, if that’s of any help.
Thanks again, awesome module!
-
@fnudd
https://github.com/eouia/MMM-CalendarExt2/wiki/2e.-Configuration:Others#other-configurations
rotateInterval(When you are using multi-scenes) orupdateIntervalwould be an answer. -
@Sean Look at that, I missed that. So many options:-) Thanks alot, and again, great work!
-
Hey, so I’ve been using CalendarExt2 for a while for the ‘Current’ calendar feature, but I’m having to move the calendar I use over to private, I have an account with full authorization to view the calendar but when I add
auth: { user: "blahblahblah@gmail.com", pass: "password", method: 'basic' }to my calendar config, it stops working and kind of causes my whole MagicMirror to crash after a while. The logs show everything loading as normal.
My full config is
{ module: "MMM-CalendarExt2", config: { calendars : [ { name: "Current", scanInterval: 120000, maxItems: 4, url: "", auth: { user: "", pass: "", method: "basic", }, }, ], views: [ { name: "Current", mode: "current", position: "bottom_center", calendars: [], slotTitle: "Current Event", }, ], scenes: [ { name: "DEFAULT", views: [], }, ], }, },I do use this with another calendar module, that one works fine with the authentication though.
Thank you for the great module otherwise!
-
@Subintro
Can you send your ics url and account information? I need those info to examine.
If you don’t care, send me by email. (eouia0819@gmail.com) -
Hello, I’m having several issues. Im new to coding for the most part. I took a couple basic web design classes about 12 years ago.
I was working on my magic mirror for about 12 hours yesterday. The major issue being my events are not loading from my Google calendar. I used it in the standard upcoming holidays module to make sure I was linking it correctly. They show up there, but not in the calenderext2. The other issue is sizing. Its larger than the screen viewing area. I’m sure I’m doing something wrong. I copied the example that was posted in the file and it changes the css look but not the size and events still dont show up. Any help would be appreciated. -
@Sean
Damn, I appreciate you trying to take a look but I technically cant due to HIPAA compliance.Have you heard of anyone having any issues with the auth before?
-
So, I tried a public google calendar as well as 2 of my private shared google calendars. The shared public one does not work, 1 of my shared one works, and 1 does not within the module. However, all of these calendars work in the default upcoming events module. Any suggestions on why this is? Also, I tried changing the “calendarfetcher.js” in the default calendar folder and with that change the default calendar stopped working, but the mmm-calendarext2 worked.
-
I think I figured out the problem. I can see other recent events added to these calendars. I think since they are older calendars they fall outside of the maxItems: 100, beforeDays: 60, afterDays: 365, maxIterations: 100 ranges. I tried adjusting those to go back to the start of the calendars and when I do it doesn’t pull in any events from any of my calendars. I’m not sure how to fix this.
-
@wegz15
maybe some repeated events couldn’t be parsed. this is using different parser with default module. it is faster and has more features. but occasionally it fails some repeated events.
i’m researching how to improve but not yet success. i may return but need more time to consider. -
@wegz15
anyway, can you send me your ics url and configuration? my mail is eouia0819@gmail.com
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