Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
@Sean said in MMM-CalendarExt2:
The only problem is, if you change the order of modules(adding a new module or removing) in configuration, the module Id will be changed. In that case, you should modify again.
Thank you for your prompt reply. And always, you were right about that. :thumbs_up_medium-light_skin_tone:
-
This post is deleted! -
Sean:
Looks like we’re getting screwed over here:
Starting February 15, 2021, G Suite accounts will only allow access to apps using OAuth. Password-based access will no longer be supported.
Calendar
If you use CalDAV to give an app or device access to your calendar, switch to a method that supports OAuth. We recommend the Google Calendar app [Web/iOS/Android] as the most secure app to use with your G Suite account. -
@nmeldre
i’ve been asked this already countless times, however still the answer is same.
i regard week/month view as a kind of brief overview or summary of long periods. so have no idea to provide details on these both views.Because;
- wrapping usually looks ugly anyhow.
- the more title means the less events to show at a same time in same area.
- can use transforming for abbreviation or using icon or assigning styles for better distinguishing than long text
- additional better views exist to show detailed info of more important and close future events. like upcoming or daily.
- real web or desktop application - google calendar and apple calendar - also don’t provide title wrapping in month style views.
So, sorry.
-
@BKeyport
hmm i don’t use G suit, so at this moment, have no idea how things going. I’ll research.
(maybe 3rd party converter module could be possible to solve that issue without modification of this module directly) -
@Sean I figure Google’s gonna do that to main accounts sooner or later. GSuite is usually the test bed.
I’m likely going to be moving my
calendaragenda system, depends on what my appointment manager supports. -
@Sean,
I’m trying to add an ICS file, but it’s throwing an error, but other calendars accepts it.
The url is http://www.tax.gov/calendar/employer/calendar.ics
Log from PM2 LOGS shows this error:
[CALEXT2] calendar:irs >> invalid date-time value: “2016-12-30T::”
Is it the US Government not knowing what’s going on, or is it a bug in the code?
Thanks!
-
@Sean
Thanks for the great module, it is the main reason for my Magic Mirror / picture frame.Could you explain the syntax for using the “transform” command to change the title of an event to a shorter abbreviation (e.g. “jack climbing” = > “J.C.”)? I have some items in my calendar that are displayed on the monthly view with a title “Dinner: Taco Soup” and I would like to use transform to remove the "Dinner: " from the title. I have searched the documentation and the forum, but am having a tough time figuring out how I need to specify this in my config.js (or custom.css).
-
Basically, read this.
https://github.com/eouia/MMM-CalendarExt2/wiki/Filtering-and-Sorting#transforming
You need some basic skills in JavaScript. Anyway, I’ll show some examples;
- Original
I’ve added two events on 25th Dec.
Lunch:Taco Soup OnceandDinner:Taco Soup Twiceon my Google calendar.

Hmmmm Taco Soup on Christmas, what a poor…It will be shown like this on MMM-CalendarExt2 without transforming;

- Remove
Dinner:
transform: (event)=>{ event.title = event.title.replace("Dinner:", "") return event }will make this;

- give more transforming.
transform: (event)=>{ if (event.title.search("Dinner:") > -1) { event.title = event.title.replace("Dinner:", "") event.icon = "emojione-pot-of-food" event.className = "myDinnerClass" } return event }I’ve added icon and specific CSS class selector. So you can define your CSS class on
MagicMirror/css/custom.csslike this;.CX2 .myDinnerClass { color: Black; background-color: Yellow; }It will be shown like this;
!Of course, there would be more tricks if you know javascript somehow.
If you are not familiar with Javascript,… hmmm sorry for you. Anyway, this is DIY project. There is no ready-made out-of-box arts.
-
Hello together.
Is it possible to Show two different calendars, on two different pages (mmm-pages)?
-
@Clubjack
Possible.
You need 2sceneswhich have independentviewsof your calendars.
Then, read this;
https://github.com/eouia/MMM-CalendarExt2/wiki/3.-Usage#user-defined-notification-trigger -
@Sean
OK.
But i want to same looking calendars with same View.
I try it, with coping the mmm-calendarext2 and rename it to mmm-calendarext2.2 -
@Clubjack ust make another scene like the 1st one with a different name, and put that on the next page
-
@Clubjack said in MMM-CalendarExt2:
I try it, with coping the mmm-calendarext2 and rename it to mmm-calendarext2.2
This module will not work like that.
But i want to same looking calendars with same View.
Just make one more
viewwith the same configured values. -
@Sean Thank you for your quick response! I will practice my Javascript :)
-
@jdfraser really no javascript , just stuff in config…
you have for Ext2 a config section
which hasscenes: { [ { name: "scene1", viewes: ["view1", "view2"] }, { name: "scene2", // < --- make secodn scene that looks like the 1st viewes: ["view1", "view2"] }, ] } Views: { [ { name: "view1" }, { name: "view2" } ] } -
I think there’s a little misunderstanding.
I would like to create several pages with mmm-pages and control them via alexa. Therefore I have to specify in the configs of mmm-pages which modules should be there on the pages.Example:
Page 1: mmm-clock, mmm-calendarext2
Page 2: mmm-waether, mmm-calendarext2How should I insert different scenes or views there?
-
@Clubjack
MMM-CalendarExt should exist on all the pages. And give it an order to change scenes by notification from whatever(mmm-pages?) -
@Clubjack
I just looked insideMMM-Pages(edward-shen/MMM-pages) shortly, It has no feature to emit notifications about current page sequence to other modules. It hasPAGE_NUMBER_ISbut it is only as the response ofQUERY_PAGE_NUMBER. So there is no way to recognize which page at that moment. So CalendarExt2 cannot know what scene to show.
My previous answers are somewhat confused becauseMMM-Page-Selector(Veldrovive/MMM-Page-Selector) hasPAGE_CHANGEDto inform the current page when page is changed. -
Hi @Sean
After the syntax corrections you highlighted my MM was working fine. Today I added an entry into one calendar and it did not show up on my MM. I looked at the log and the [CALEXT2] tasks are not showing up to query any calendars.I went and looked at my mm-out.log file and found some strange messages.
[CALEXT2] calendar:BOPA >> Scanning start with interval:60000
[CALEXT2] calendar:BOPA >> Scanned: 7, Selected: 7
[CALEXT2] calendar:Chris >> Scanning start with interval:60000
[CALEXT2] calendar:Chris >> getaddrinfo EAI_AGAIN calendar.google.com calendar.google.com:443
[CALEXT2] calendar:Kim >> Scanning start with interval:60000
[CALEXT2] calendar:Kim >> getaddrinfo EAI_AGAIN calendar.google.com calendar.google.com:443
[CALEXT2] calendar:BOPA >> Scanning start with interval:60000
[CALEXT2] calendar:BOPA >> Scanned: 7, Selected: 7
[CALEXT2] calendar:BOPA >> Scanning start with interval:60000
[CALEXT2] calendar:BOPA >> Scanned: 7, Selected: 7It appears that when the getaddrinfo… messages appear that the calendar is no longer accessible to the module and it is no longer scanned. Above I show the message for 2 calendars but eventually every calendar I have programmed gets this error message.
What is happening and is there a way to automatically recover from this error?
Note: it looks like this may be a Google issue but I am wondering if there is a way to elegantly handle the error or get a notification that an error occurred? It also happened to different calendars at different times so I don’t think it was an issue with my network.
Edit: further inspection this may be a local network issue. Would still like to know if there is a way to recover from these errors.
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