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.

    Multiple Google Calendar issue

    Scheduled Pinned Locked Moved Solved Troubleshooting
    5 Posts 2 Posters 866 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.
    • B Offline
      Bobba86
      last edited by

      Hey!

      Im new in the MM community and got some issues setting up multiple Google Calendars.
      The first one works fine. Then i tried to set up two more from two different accounts.
      The URL i correct. But when I boot my mirror it says that there is nothing in the calendar and sometimes it says that there is an error in the module. I guess i have made an error somewhere, but cant figure it out. I have made changes to my url in the post since its my private calendar.
      Sorry about the mess in my config !

      		module: "calendar",
      		header: "Bobba",
      		position: "top_left",
      		config: {
      			calendars: [
      				{
      					fetchInterval: 7 * 24 * 60 * 60 * 1000,
      					symbol: "calendar-check",
      					url: "https://calendar.google.com/calendar/ical/my=private-url/basic.ics",
      					maximumEntries:7,	
      					//url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
      				}
      			]
      		}
      	},
      		{
      		module: "calendar",
      		header: "Sara",
      		position: "top_left",
      		config: {
      			calendars: [
      				{
      					fetchInterval: 7 * 24 * 60 * 60 * 1000,
      					symbol: "calendar-check",
      					url: "https://calendar.google.com/calendar/ical/my=private-url/basic.ics",
      					maximumEntries:7,	
      					//url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
      				}
      			]
      		}
      	},
      		{
      		module: "calendar",
      		header: "Max",
      		position: "top_left",
      		config: {
      			calendars: [
      				{
      					fetchInterval: 7 * 24 * 60 * 60 * 1000,
      					symbol: "calendar-check",
      					url: "https://calendar.google.com/calendar/ical/my=private-urlbasic.ics",
      					maximumEntries:7,	
      					//url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
      				}
      			]
      		}
      	},
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Bobba86
        last edited by

        @Bobba86 the logs are output where you do npm start.

        if you use pm2 to auto start, then it collects the info whi h an be show with a pm2 command

        pm2 logs --lines=xxxx
        xxxx is number of lines, default 15

        as you want them w different headers, .multiple modules is the right way

        BUT in a single…module it is.

        calendars: [
             {
               url:"...."
                other parms 
             },
              {
                 url :"....."
                 other parms 
               } ,
        repeat
        ]
        

        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 @Bobba86
          last edited by

          @Bobba86 can you show the error. you can do all 4 in one calendar module of you want too… then the events are combined

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 2 Replies Last reply Reply Quote 0
          • B Offline
            Bobba86 @sdetweil
            last edited by

            Not sure how to show the error. Is there a log or something where i can get an error code? The calendar is showing in MM. But there is nothing in the calendar, no matter how many things i enter in my google calendar. The first one works just fine, but the second and third won´t show anything,
            Sometimes when i launch MM it says “error in the module” under the second and third calendar.

            If i would put all in one module. should i do it like this?
            Im new to this and have zero knowledge in coding :D

            	module: "calendar",
            	header: "Bobba",
            	position: "top_left",
            	config: {
            		calendars: [
            			{
            				fetchInterval: 7 * 24 * 60 * 60 * 1000,
            				symbol: "calendar-check",
            				url: "https://calendar.google.com/calendar/ical/my=private-url/basic.ics",
            				maximumEntries:7,	
            				//url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
            			}
            

            {
            header: “Sara”,
            position: “top_left”,
            config: {
            calendars: [
            {
            fetchInterval: 7 * 24 * 60 * 60 * 1000,
            symbol: “calendar-check”,
            url: “https://calendar.google.com/calendar/ical/my=private-url/basic.ics”,
            maximumEntries:7,
            //url: “https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics”
            }
            {
            header: “Sara”,
            position: “top_left”,
            config: {
            calendars: [
            {
            fetchInterval: 7 * 24 * 60 * 60 * 1000,
            symbol: “calendar-check”,
            url: “https://calendar.google.com/calendar/ical/my=private-url/basic.ics”,
            maximumEntries:7,
            //url: “https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics”
            }
            ]
            }
            },

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

              @Bobba86 the logs are output where you do npm start.

              if you use pm2 to auto start, then it collects the info whi h an be show with a pm2 command

              pm2 logs --lines=xxxx
              xxxx is number of lines, default 15

              as you want them w different headers, .multiple modules is the right way

              BUT in a single…module it is.

              calendars: [
                   {
                     url:"...."
                      other parms 
                   },
                    {
                       url :"....."
                       other parms 
                     } ,
              repeat
              ]
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                Bobba86 @sdetweil
                last edited by

                @sdetweil

                Thanks! Followed your instructions and tadaaa! It works :D Thank you very much for the help!

                1 Reply Last reply Reply Quote 0
                • B Bobba86 has marked this topic as solved on

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