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-CalendarEXT3 and Default Calendar Display

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 2 Posters 179 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.
    • J Offline
      jesseyz
      last edited by

      Good morning,

      Hopefully a simple question. I use both MMM-CalendarEXT3 and default Calendar module displaying on my MagicMirror. I know the MMM-CalendarEXT3 config goes based off of the default Calendar module config. Is it possible to show a calendar with events on the MMM-CalendarEXT3 module but not have the events show up in the default Calendar module?

      I want these events to show in the calendar, but not on the nifty “upcoming to-do list” type of view that the default Calendar module provides.

      Thanks!

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @jesseyz
        last edited by

        @jesseyz yes, just comment out the position: property on the default calendar
        for example

        //position:"top_left",
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 2 Replies Last reply Reply Quote 0
        • J Offline
          jesseyz @sdetweil
          last edited by

          @sdetweil excellent, I’ll give it a shot. Thank you

          1 Reply Last reply Reply Quote 0
          • J Offline
            jesseyz @sdetweil
            last edited by

            @sdetweil Good morning.

            This solution did not work for me. I would like to continue to use the default calendar, but only show 2 of the 4 calendars I have plugged into it.

            I initially tried to give each calendar a different position then comment out the calendars I didn’t want to show but it ended up hiding all default calendars. My current temporary solution is to have everything show on all calendars since the CalendarEXT3 being fully populated is most important. The default calendar showing 2 of the 4 calendars is the “nice to have.”

            Here’s my configuration for these modules (with personal info redacted):

            {
            			module: "calendar",
            			header: "Family",
            			position: "bottom_left",
            			config: {
            				calendars: [
            					{
            						symbol: "calendar-check",
            						maximumEntries: "30",
            						url: "Family calendar URL"
            					},
            					{
            						symbol: "dumbbell",
            						url: "Gym Schedule URL"
            						//position: "bottom_right"
            					},
            					{
            						symbol: "user-nurse",
            						url: "Work schedule URL"
            
            						//position: "bottom_right"
            					},
            					{
            						url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
            					}
            				]
            			}
            		},
            		{
            			module: 'MMM-CalendarExt3',
            			position: "upper_third",
            			title: "Family Calendar",
            			config: {
            				mode: "month",
            				fontSize: '22px',
            				eventTransformer: (event) => {
            					if (event.title.includes("Dad")) {
            						event.color = "blue";
            					} else if (event.title.includes("Mom")) {
            						event.color = "yellow";
            					} else if (event.title.includes("Kid #1")) {
            						event.color = "red";
            					} else if (event.title.includes("Kid #2")) {
            						event.color = "green";
            					}
            					
            					return event;
            				}
            
            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @jesseyz
              last edited by sdetweil

              @jesseyz when the default calendar has multiple URLs they are ALWAYS displayed together.
              so all shown, or not

              you can have multiple instances of the default calendar

              {
              module: "calendar"
              .
              .
              .
              },
              {
               module:"calendar"
              .
              .
              .
              }
              

              so maybe in your case, you have 2 instances
              with 2 cal urls each, and one with position, and the other commented out
              or 4 instances, 1 url each, and 2 commented out

              they all broadcast , and cal ext3 processes just like normal

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Reply Quote 1
              • J Offline
                jesseyz @sdetweil
                last edited by

                @sdetweil this was the key, I wasn’t aware having multiple instances was ok. I chose 2 instances, 1 hidden position and 1 not. This was successful!

                Thank you for all of your help and for your setup/update scripts. I use a Pi Zero W2 so making config changes and then testing can be somewhat of a pain with the slow refresh/reboot time.

                One day I’ll bite the bullet and get a fancier Pi but this one does the trick for the time being!

                S 1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @jesseyz
                  last edited by

                  @jesseyz when you get that snazzier pi/sbc, you can use my backup/restore to move MM config and modules between devices… (and os’s…)
                  https://github.com/sdetweil/MagicMirror-backup-restore

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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