Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar not Loading in Magic Mirror #54

Open
tommertron opened this issue Dec 31, 2023 · 5 comments
Open

Calendar not Loading in Magic Mirror #54

tommertron opened this issue Dec 31, 2023 · 5 comments

Comments

@tommertron
Copy link

tommertron commented Dec 31, 2023

Hi there,

So I've gone through the installation instructions, created credentials etc, and ran authorize.js, which prints out a list of 10 events from my default google calendar in the terminal (so I am sure it must be authorizing okay.) But for the life of me, I cannot get MMM-GoogleCalendar to load! Here is the relevant section of my config.js screen (with the ID altered.):

		{
			module: 'MMM-GoogleCalendar',
			header: "Family Events",
			position: "top_left",
			config: {
				calendars: [
					{
						symbol: "calendar-week",
						calendarID: "familyXXXXXXXXXXXXX"
					},
				],
			}
		},

I've refreshed MM a bunch of times and done a full reboot, and no luck. When I take the above out, and put the default calendar module in its place, it renders fine. Any ideas?

@kriegschrei
Copy link

I just set this up this weekend, did you include the full calendar domain including @group.calendar.google.com?

[email protected]

@randomBrainstormer
Copy link
Owner

randomBrainstormer commented Mar 4, 2024

It's possible the calendarID is indeed wrong. To find your Google Calendar ID:

  1. Head over to your Google Calendar by visiting https://calendar.google.com/.
  2. Look for the settings icon (resembling a gear) in the upper right corner and click on it to access Settings.
  3. On the left side, navigate to Settings for my calendars, and select the calendar you wish to display on MMM-GoogleCalendar.
  4. Scroll until you find the Integrate calendar section. Your calendar ID is listed there. This ID usually ends with @group.calendar.google.com.
  5. There's no need to modify any settings here—just copy the Calendar ID and replace it in the module configuration.

Let us know if the above steps work, as an alternative, you can try to check for logs and see if there was any issue with the plugin.

@vih-rar
Copy link

vih-rar commented Mar 15, 2024

I'm facing the same issue, although this is the first module I'm adding so I don't have a reference point. My calendar ID on google ends with @gmail.com since it is my own calendar. Do I need to make a group calendar for it to work? I have the same code block as original poster

@randomBrainstormer
Copy link
Owner

Hi @vih-rar , the module should work with any google calendar. To check if is the correct ID you can use this steps from the troubleshooting guide:

Finding Your Google Calendar ID: If you're unsure where to find your Google Calendar ID, it's quite straightforward:

  • Head over to your Google Calendar by visiting https://calendar.google.com/.
  • Look for the settings icon (resembling a gear) in the upper right corner and click on it to access Settings.
  • On the left side, navigate to Settings for my calendars, and select the calendar you wish to display on MMM-GoogleCalendar.
  • Scroll until you find the Integrate calendar section. Your calendar ID is listed there. This ID usually ends with @group.calendar.google.com.
  • There's no need to modify any settings here—just copy the Calendar ID and replace "MyGoogleCalendarIDHere" in the module configuration with your actual ID.

@vih-rar
Copy link

vih-rar commented Mar 15, 2024

Thank you, it worked I had placed the module in the incorrect directory (modules/default instead of modules/ )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants