Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
@gregp
I’ve updated. Now you cantransform
the 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) orupdateInterval
would 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!