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-GoogleCalendar Merging Two Shared Calendars

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 3 Posters 1.3k Views 3 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
      jclewis
      last edited by

      Hello,

      I am building MM using MMM-GoogleCalendar. I have main google calendar that has events and I want to integrate my wife’s calendar that has events she populated. In my calendar settings, it is listed under settings for my calendar and I have full control along with her calendarID. I have both calendarIDs listed but when I start the mirror, it shows her calendar. I am looking to have the two calendars merged so it shows the calendar upcoming events merged and sequential instead of just one calendar. Is there a way to add this in the config. I am kinda stuck right now. Also, I am trying not to import her calendar into mine manually. Thoughts? Thanks.

      S 1 Reply Last reply Reply Quote 0
      • BKeyportB Online
        BKeyport Module Developer @sdetweil
        last edited by BKeyport

        @sdetweil Oh, gotcha. Yes. No more than one per bracket set.

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

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

          @jclewis

          the config is two (or however many u need) url blocks

              {
                  url:"........"
              },
              {
                   url:"......"
              }
          

          when u have two together in the same block, the last one replaces the first

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          BKeyportB 1 Reply Last reply Reply Quote 0
          • BKeyportB Online
            BKeyport Module Developer @sdetweil
            last edited by BKeyport

            @sdetweil Not sure what you were intending to say here, but I believe “replaces” is the wrong word - The calendar app (and all apps that use it, naturally) will merge internally all calendars added within the same calendar block.

            Live example:

            				calendars: [
            					{
            						url: "https://recollect.a.ssl.fastly.net/api/places/BC71002A-F27F-11E8-B5B7-6853A40EAB6C/services/579/events.en-US.ics?client_id=91264B66-7113-11ED-8C28-2101D6C077E5",
            						name: "Utility",
            					},
            					{
            						url: "http://cal.events/VReW45.ics",
            						name: "Seahawks",
            						color: "#69BE28",
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/3vejg64nfe9hk5odcphufgis14%40group.calendar.google.com/private-ae3d986ef6488a425755baf7198a1c99/basic.ics",
            						name: "Sounders",
            						color: "#69BE28",
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/mp4efjqgjiq6hphri5ppkkm66k%40group.calendar.google.com/private-81bfdc024de66a7639ac010dfe56263a/basic.ics",
            						name: "Bluejays",
            						color: "#E8291C",
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/fgl0a1o8duc3quq3mpjlcopk50%40group.calendar.google.com/private-c55f9de420fe504de01c18f263d70fa7/basic.ics",
            						name: "Mariners",
            						color: "#69BE28",
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/a6fras24hof5ibrk9q1aeg0igg%40group.calendar.google.com/private-147cebc733aab31784e2ab7f18c13cbc/basic.ics",
            						name: "Kraken",
            						color: "#69BE28",
            					},
            					{
            						url: "https://gohuskies.com/calendar.ashx/calendar.ics?sport_id=3",
            						name: "Huskies",
            						color: "#69BE28",
            					},
            					{
            						url: "webcal://calendar.google.com/calendar/ical/d2dba52c05b47583471f0eccbdb79938b9b0d5ef7711298f4c3455fe64ae6ffa%40group.calendar.google.com/public/basic.ics",
            						name: "XFL",
            						color: "#e93b16",
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics",
            						name: "Holdays",
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/futpub9jb1fisumog0u68s9pdc%40group.calendar.google.com/public/basic.ics",
            						name: "ARES",
            						color: "#FF1493",
            					},
            					
            // Third Calendar
            					{
            						url: "https://calendar.google.com/calendar/ical/ufeoastn72l4rcaact44k3iff3pfcun5%40import.calendar.google.com/public/basic.ics",
            						name: "IRS",
            					}, 
            				],
            ...
            

            ef5f5beb-9c99-4625-8f40-f25cfd4392a2-image.png
            (Note: I don’t usually have the calendar app showing, so it’s set up very basic, anything extra that don’t appear to show is because of defaults)

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

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

              @BKeyport if you had

              {
                  url:"....",
                  url:"??????"
              }
              

              the second would win

              many people don’t see the {} as meaning something, and don’t see the [] around them.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil @BKeyport

                I will test this over the weekend. For the url is it the public or private one used? Thanks for the guidance.

                S 1 Reply Last reply Reply Quote 0
                • BKeyportB Online
                  BKeyport Module Developer @sdetweil
                  last edited by BKeyport

                  @sdetweil Oh, gotcha. Yes. No more than one per bracket set.

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

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

                    @jclewis public or private doesn’t matter

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      All,

                      Got it to work. Thank you for the help with this. I appreciate it.

                      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