• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

adding google calendar

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 4 Posters 7.5k Views 4 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.
  • T Offline
    trix2k
    last edited by sdetweil Dec 22, 2020, 8:19 PM Dec 22, 2020, 8:15 PM

    i am racking my brain here trying to figure out how to add my google calendar and i tried to follow some steps i found but i keep getting config file error. i am very new to programing but I don’t know where i am going wrong. any help would be great

    module: "calendar",
    			header: "Holidays",
    			position: "top_left",
    			config: {
    				calendars: [
    					{
    						symbol: "calendar-check",
    						url: "https://www.calendarlabs.com/ical-calendar/ics/39/Canada_Holidays.ics"					}				
    					},
    					{
    						symbol: "mycalendar",
    						url: "https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxx/public/basic.ics"					}				
    					}
    					]
    			}
    		},
    		{
    
    S A 2 Replies Last reply Dec 22, 2020, 8:20 PM Reply Quote 0
    • S Offline
      sdetweil @trix2k
      last edited by sdetweil Dec 22, 2020, 8:25 PM Dec 22, 2020, 8:20 PM

      @trix2k said in adding google calendar:

      > 	url: "https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxx/public/basic.ics"					}	
      

      what is that } WAY out there on the end of both url lines?

      this is how the default cal URL line is, the close brace of the cal entry is NOT on a separate line… and way off the screen to the right
      so you might not notice, add another, and now you have two

         }   // original 
       },    // yours... oops error
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • A Offline
        ashishtank Module Developer @trix2k
        last edited by Dec 22, 2020, 8:20 PM

        @trix2k what issue exactly you are facing ? your config should look like below. Are you sure you have shared calendar correctly ?

        calendars: [
        	{
        			symbol: "calendar-check",
        			url: "https://calendar.google.com/calendar/ical/youremailaddress/private-XXXXXX/basic.ics",
        	}
        ],
        
        1 Reply Last reply Reply Quote 0
        • T Offline
          trix2k
          last edited by Dec 22, 2020, 8:59 PM

          so originally MM was not even booting up said i had a bad config file. but now that i know about the brackets at the end of the url (that i removed) the program is booting up fine.

          New problem is, its not loading my google calendar. i got the url from my google account with the private-XXXX numbers, but it is still not loading anything i have set in the calendar.

          e3c2467a-0b6a-4b17-9f30-c4ad229a63de-image.png

          S 1 Reply Last reply Dec 22, 2020, 9:04 PM Reply Quote 0
          • S Offline
            sdetweil @trix2k
            last edited by sdetweil Dec 22, 2020, 9:05 PM Dec 22, 2020, 9:04 PM

            @trix2k can u look in the terminal window where u did npm start, u should see messages about the calendar feachers

            if you use pm2, then
            pm2 logs --lines=???
            will print out that info
            ??? is a number default 15

            also, if u put the url in a browser it should download an ics file. which is just text, so u can edit it. does it have any vevents?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • T Offline
              trix2k
              last edited by Dec 22, 2020, 9:35 PM

              well, i now have it syncing with my google calendar and with my iphone. the last issues i have is its not showing birthdays on the MM, i dont know if that its because its an all day event but i dont think it has to do with the MM i think its a google calendar thing…i hope :)

              E 1 Reply Last reply Dec 23, 2020, 1:34 PM Reply Quote 0
              • E Offline
                ember1205 @trix2k
                last edited by Dec 23, 2020, 1:34 PM

                @trix2k said in adding google calendar:

                well, i now have it syncing with my google calendar and with my iphone. the last issues i have is its not showing birthdays on the MM, i dont know if that its because its an all day event but i dont think it has to do with the MM i think its a google calendar thing…i hope :)

                Google Calendar is actually a “collection” of calendars. The primary calendar is where all of your manually entered events are stored. This is the calendar you have linked to in the MM configuration.

                Birthdays (those that are associated directly with Contacts in your account as part of their Contact Card) are stored in a different calendar. You can either add this calendar to the configuration like you did with your primary calendar, or you can manually create Birthday events in your primary calendar for the people whose birthdays you want to show up.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  trix2k
                  last edited by Dec 25, 2020, 5:20 AM

                  this helps a lot, thank you @ember1205

                  1 Reply Last reply Reply Quote 3
                  • 1 / 1
                  1 / 1
                  • First post
                    1/8
                    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