MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-CalendarExt2

    Scheduled Pinned Locked Moved Utilities
    486 Posts 83 Posters 938.9k Views 83 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Clubjack
      last edited by

      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-calendarext2

      How should I insert different scenes or views there?

      ? 2 Replies Last reply Reply Quote 0
      • ? Offline
        A Former User @Clubjack
        last edited by A Former User

        @Clubjack
        MMM-CalendarExt should exist on all the pages. And give it an order to change scenes by notification from whatever(mmm-pages?)

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @Clubjack
          last edited by

          @Clubjack
          I just looked inside MMM-Pages(edward-shen/MMM-pages) shortly, It has no feature to emit notifications about current page sequence to other modules. It has PAGE_NUMBER_IS but it is only as the response of QUERY_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 because MMM-Page-Selector(Veldrovive/MMM-Page-Selector) has PAGE_CHANGED to inform the current page when page is changed.

          1 Reply Last reply Reply Quote 0
          • C Offline
            cskenney
            last edited by cskenney

            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: 7

            It 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.

            1 Reply Last reply Reply Quote 0
            • M Offline
              MJhere
              last edited by

              I have a calendar showing week view. But cannot get event text to overflow. Help would be appreciated. TIA

              1 Reply Last reply Reply Quote 0
              • J Offline
                JRB1988
                last edited by

                I’m having trouble getting MMM-CalendarExtTimeline to populate. The CalendarExt2 is filled in. Here is what I have in my configuration (with my personal info blocked out) and what I am seeing on my screen. Any ideas?

                0_1578017838204_tempsnip.png

                0_1578017877727_Capture.PNG

                ? 1 Reply Last reply Reply Quote 0
                • BKeyportB Offline
                  BKeyport Module Developer
                  last edited by

                  hey, @Sean Did you happen to miss this?

                  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!

                  The "E" in "Javascript" stands for "Easy"

                  ? 1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @JRB1988
                    last edited by

                    @JRB1988

                    type: "dyanmic",
                    

                    seems wrong.

                    J 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @BKeyport
                      last edited by A Former User

                      @BKeyport
                      Sorry for the late answer. I was hospitalized due to my broken ankle, so I couldn’t inspect.
                      The issue looks like invalid format of ics. Unfortunately, iCAL format is not so strict (despite of standard rule, RFC-5545, RFC-5546 and so many standards), some iCAL could have ambiguous formats. Well, my parser cannot understand yours. At this moment, I have no time to fix it. (Or, … I’m not sure it should be fixed.) Sorry.

                      BKeyportB 1 Reply Last reply Reply Quote 0
                      • BKeyportB Offline
                        BKeyport Module Developer @Guest
                        last edited by

                        @Sean oh, damn man. Hope the ankle heals quickly and cleanly. What did you do?

                        Glad to know what’s going on with the code, noting it’s the gov not knowing how to format the iCal (Not a surprise, actually). It would be wonderful if it could be understood and fixed, give your module some more flexibility to handle screwed up ical.

                        Again, get well soon!

                        The "E" in "Javascript" stands for "Easy"

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          SARCux @BKeyport
                          last edited by

                          Hi Guys,

                          My MMM-CalendarExt2 is very small. How can I enlarge the font with the appointments?
                          can i do this in the custom.css?
                          What is the code?

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            JRB1988 @Guest
                            last edited by

                            @Sean Thanks for the reply and sorry to hear about your ankle! No rush on this if busy.

                            I Updated to static, still not populating. Any other ideas?

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jas
                              last edited by

                              Hi Guys,

                              Noob on MM but loving it. Got the calendar configured almost to my liking but am running into couple issues if anyone can please assist?

                              1. Upcoming views - how can I use the event time properly. using the h:mm A for timeFormat in that view only displays 11 - 12:30PM and not 11AM - 12:30 PM. What format would I use as I can’t seem to get it.

                              2. Upcoming view - how can I only display events for Today (current date) and not next scheduled. Also, if there are no events, I like the message to say “No more meetings today”. Currently the maxDays = 1 does only show events for a day but if I have no events left today, it will show events for tomorrow.

                              3. While I will use the #2 for current day’s event, in the daily view on the same screen below in row format, how can I remove current day/today from that since I already see that in my upcoming view above.

                              4. In the same daily/row view, if there are no events, i like the message to be “No meetings today”.

                              Thank you kindly
                              J.

                              ? 1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User @Jas
                                last edited by A Former User

                                @Jas

                                1. Weird. if you are using timeFormat: "h:mm A", it will show 11:00 AM not 11 or 11AM.
                                  https://github.com/eouia/MMM-CalendarExt2/wiki/Event-Time
                                2. In that case, just use daily view with filterPassedEvent: true
                                  https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration:View
                                3. use fromNow to skip days.
                                  https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration:View
                                4. like this?
                                  0_1578188119325_7897ec12-3972-4d80-a7d6-ee3545b69220-image.png
                                  add this into your css/custom.css
                                .CX2 .view.upcoming .eventCount_0 .slotFooter::after {
                                  content: "There is no event."
                                }
                                

                                https://github.com/eouia/MMM-CalendarExt2/wiki/4.-Styling

                                J 1 Reply Last reply Reply Quote 0
                                • V Offline
                                  vulkandosii
                                  last edited by

                                  I seem to be having an issue with the month view and hope someone here might have a solution.

                                  Currently I have 7 calendars setup and am using daily view in the top left with month view in the fullscreen_below section.

                                  The daily view displays all events just fine when setting the slotCount to 2 or even 10 (although I cant figure out how to not overlap the month view) and it correctly displays all calendar events from all 7 calendars. All the calendars are from gmail and pulled from each gmail account using the link under “secret address in iCal format”. I have omitted that part in the code I shared below.

                                  The month view is only displaying a few events for the entire month, Dec 29 through Jan 7 is populated and it doesn’t have all the events listed for January 7th, the rest of the days in the month are completely empty. Last month (December) was displaying all events just fine. Is there something I am missing?

                                  I have recently update MM and MMM-CalendarExt2. The updates showed that they were completed successfully.

                                  module: "MMM-CalendarExt2",
                                  config:
                                  {
                                  	rotateInterval: 5 * 60 * 1000,
                                  calendars: [
                                  	{ // Calendar 1
                                  		name: "Calendar One",
                                  		className: "Cal1",
                                  		url: '<omitted>',
                                  	},
                                  	{ // Calendar 2
                                  		name: "Calendar Two",
                                  		className: "Cal2",
                                  		url: '<omitted>',
                                  	},
                                  	{ // Calendar 3
                                  		name: "Calendar Three",
                                  		className: "Cal3",
                                  		url: '<omitted>',
                                  	},
                                  	{ // Calendar 4
                                  		name: "Calendar Four",
                                  		className: "Cal4",
                                  		url: '<omitted>',
                                  	},
                                  	{ // Calendar 5
                                  		name: "Calendar Five",
                                  		className: "Cal5",
                                  		url: '<omitted>',
                                  	},
                                  	{ // Calendar 6
                                  		name: "Calendar Six",
                                  		className: "Cal6",
                                  		url: '<omitted>',
                                  	},
                                  	{ // Calendar 7
                                  		name: "Calendar Seven",
                                  		className: "Cal7",
                                  		url: '<omitted>',
                                  	},
                                  ],
                                  views: [
                                  	{
                                  		name: "MONTHVIEW",
                                  		mode: "month",
                                  		position: "fullscreen_below",
                                  		showWeekends: false,
                                  		timeFormat: "h:mm A",
                                  	},
                                  	{
                                  		name: "DAILYVIEW",
                                  		mode: "daily",
                                  		title: "Upcoming Events",
                                  		slotCount: 10,
                                  		timeFormat: "h:mm A",
                                  		hideOverflow: false,
                                  		filterPassedEvent: true,
                                  	},
                                  ],
                                  scenes: [
                                  {
                                  	name: "DEFAULT",
                                  },
                                  ],
                                  }
                                  
                                  ? 1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User @vulkandosii
                                    last edited by A Former User

                                    @vulkandosii set maxItems of month view to a bigger value. Current Default is 100. See the log and find enough value for that view.
                                    The reason is, you might have tons (at least over 100) of events in your ical files. Unless you filter or sort events(In other views, those are somehow filtered already), the first 100 items will be loaded for month view. And probably those events would be too old to display. Because you might have many repeated events before this month, so 100 would be consumed already for old events.

                                    V 1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      Thekk
                                      last edited by

                                      Thanks for your amazing work. I was wondering if events have a property that marks them as part of a repeating sequence. I would like to filter based on that. I couldn’t find anything about that in the (very complete) documentation.

                                      ? 1 Reply Last reply Reply Quote 0
                                      • V Offline
                                        vulkandosii @Guest
                                        last edited by

                                        @Sean I added maxItems: 2000 to the month view. This fixed the issue. Is there any concerns having the maxItems set this high? will this slow it down or cause issues later?

                                        Also a side note, the daily view overlaps if I set the slotCount past 2 or 3 when there are many events populated. Is there a way to cut it off if it hits the month calendar? Currently I just have slotCount set to 2 and this usually works to keep it small enough. Just wondering if there is a better solution.

                                        Also thanks for this mod, it has been a huge benefit to my whole family. We use this to keep track of all the kids’ events and don’t think we can go back to anything else after using this.

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @Thekk
                                          last edited by A Former User

                                          @Thekk
                                          Hmmm… I think there is no flag about repeated events. I’ll research about it.
                                          For filtering; See this; https://github.com/eouia/MMM-CalendarExt2/wiki/Filtering-and-Sorting
                                          And this also; https://github.com/eouia/MMM-CalendarExt2/wiki/Event-Object

                                          T 1 Reply Last reply Reply Quote 0
                                          • ? Offline
                                            A Former User @vulkandosii
                                            last edited by

                                            @vulkandosii
                                            Well, 2000 seems not too burdensome. I think it will be OK.

                                            Your second question… hmmm Sorry I can’t catch the meaning. Would u tell me more detailly? Picture will be a great help to understand.

                                            Thanks for using.

                                            V 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 24
                                            • 25
                                            • 12 / 25
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy