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.

    Can't get mmm-calendarext3 - customEvents to display the changed events, or more than 9 days.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    21 Posts 2 Posters 2.8k Views 2 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.
    • S Offline
      sdetweil @cheminge
      last edited by sdetweil

      @cheminge said in Can't get mmm-calendarext3 - customEvents to display the changed events, or more than 9 days.:

      customEvents: [{keyword: “1 - Unit”, symbol: “fire-extinguisher”, color: “red”}, {keyword: “2 - Unit”, symbol: “fire-extinguisher”, color: “green”}, {keyword: “3 - Unit”, symbol: “fire-extinguisher”, color: “blue”}],

      those would only change the events in the calendar UI. not in Ext3…
      and you are not showing the default calendar (no position setting)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        cheminge @sdetweil
        last edited by

        Yes, I am running the latest mmm-calendarext3, but I also ran the script as suggested. “Already up to date” comes up when I run the update for mmm-calendarext3.

        The EXT3 does show the color and symbol, but not the CustomEvents. Is this because EXT3 doesn’t support that function?

        I just did the broadcast clipping fix and I am still having the two problems.

        I have other pages that show other calendarEXT3, and they seem to be working, I just left them out as they are not having these issues, so I made a simple config file with just this calendar, and it is still the same result.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @cheminge
          last edited by

          @cheminge customevents in the default calendar is done at the UI , long after the events are broadcast

          in Ext3 there it the eventtransformer () function to allow you to
          manipulate the events before they appear

          if you look at this person’s Ext3 config here
          https://forum.magicmirror.builders/post/122721
          you will see an example of that function in the Ext3 config

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            Thank you!!!

            I now have the color and symbol working!!!

            now, onto issue number 2. how do I get it to show more of the events?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @cheminge
              last edited by

              @cheminge did you put on the fix as I asked before… this is not an EXT3 fix, its a base MM fix

              see https://forum.magicmirror.builders/post/122703

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                cheminge @sdetweil
                last edited by

                Ok,

                After some deep diving I realized I have broadcastPastEvents: true, in the wrong location in my config file.

                I moved it down to be inside the “config” location and it now works!

                Do I need to move the other items inside of the “config” location?

                modules: [
                	{module: "calendar",
                			fade: false,
                                        flipDateHeaderTitle: true,
                                        hideDuplicates: true,
                                        coloredText: true,
                                        coloredBackground: false,
                                        coloredSymbol: true,
                			pastDaysCount: 90,
                			wrapEvents: true,
                			updateOnFetch: true,
                			colored: true,
                			config: {
                				broadcastPastEvents: true,
                				calendars: [
                					{
                						name: "**CalendarName**",
                						url: "https://**My Google Calendar Link**.ics",
                						symbol: "person-military-to-person",
                						className: "**ClassName**",
                						beforeDays: 30,
                						afterDays: 90,
                						maximumEntries: 100,
                						pastDaysCount: 40,
                						color: "green",
                						fetchInterval: 60000, //900000 is 15 minuets
                					},
                
                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @cheminge
                  last edited by sdetweil

                  @cheminge yes

                  everything BEFORE config:{
                  belongs to Magicmirror, and the module will not see it

                  ONLY stuff inside config goes to the module

                  config:{
                  ..... here
                  }
                  

                  see
                  https://docs.magicmirror.builders/modules/configuration.html#example

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @cheminge
                    last edited by

                    @cheminge did you get it working?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      cheminge @sdetweil
                      last edited by

                      @sdetweil

                      Everything seems to be working, but I am having one issue.

                      I have repeating events, that are “All Day” events.

                      Then the week of the event I change the event on the google calendar to be for a specific time of day.

                      When I do this, I see both the repeating “All Day” and the Specific time events. (so double events on the same day) It also doesn’t read the new times that I have put into the google calendar.

                      I don’t even know where to start to look for a solution for this.

                      Attached is a screen shot of the calendar, and for example, on January 28, all 3 are duplicate entries.

                      Duplicate and no Time entry on Calendar.png

                      S 2 Replies Last reply Reply Quote 0
                      • S Offline
                        sdetweil @cheminge
                        last edited by sdetweil

                        @cheminge did you put on the fixes for calendar?
                        are you running MagicMirror version 2.30, many calendar fixes

                        if you are, i want the event that you modified
                        before and after dumped from your ics data

                        curl -sL the-cal-url >somefile.txt

                        edit , find the event

                        BEGIN:VEVENT
                        .
                        .
                        END:VEVENT
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        C 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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