Read the statement by Michael Teeuw here.
Calendar modification
-
Sorry if I shouldn’t put this here, but I wanted to show a quick tutorial to link up a google calendar to your mirror. So, here it is…
How to link up a google calendar account
-
Access google calendars and go to settings
-
At the top go to the Calendars tab
-
Select the calendar with your google name on it
-
On the new page find the Calendar Address tab
-
Click on ICAL to the right
-
Copy the link
7.Find your Config.js file under /MagicMirror/config -
Scroll down to your calendar module or make a new calendar module by copying and pasting the old module or making changes to the current calendar module
-
Side note: the modules will display in the order you put them in so whatever module you want displayed first will have to go before the other calendar modules
-
Input the link and make your new module look like this
{
module: ‘calendar’,
header: ‘Personal Calender’,
position: ‘top_left’,
config: {
calendars: [
{
symbol: 'calendar-check-o ',
url: ‘insert link here’
}
]
}
}, -
Then save and exit and now you have a google calendar linked to your mirror
Again a small side not make sure that the spacing is correct else you might make an irreparable error. But, as always make a copy of the config before you change it. Hope you guys have fun with this.
-
-
Thank you very much! Maybe you can add it to the Wiki on github?
-
Where do I go to do that?
-
-
@MichMich I tried the link and I just get an 404 error. If you would be so kind as to look into this or if you just want put it on the wiki yourself I’m fine with that.
-
Link works for me … unless something changed between when you posted your response and now …
-
attention!
this works only if the calendar is shared to public! -
@garnett, both public and private Google calendars work. I have both displayed on mine.
-
@KirAsh4
uh yes, sorry! thats right. i was confused by the message from the google calendar.works with private and public ;)
-
Can somebody please post their config file with the maximumNumberOfDays line inserted. I’m not sure what I’m doing wrong but everytime I try to adjust this I crash my config file. Everything else is working perfect.
Thanks
-
@aarinsingh Could you copy paste your config including the maximumNumberOfDays (so I can try to find what you’re doing wrong). Don’t forget to remove sensitive data.
-
Here is my info @aarinsingh , it doesn’t crash but it is also not limiting the number of days. From what I can see at a quick glance is that this was using a method that may have been replaced in the load process for this module, because it seems to only be using the default for this setting. I may follow to code later and see how this is loading and why my setting is being ignored.
{ module: 'calendar', header: 'Events', position: 'top_left', maximumNumberOfDays: 7, config: { calendars: [ { symbol: 'calendar-check-o ', url: 'https://calendar.google.com/calendar/ical/your-info' } ] } },
Note from admin: Please use Markdown on code snippets!
-
Put it after config: { and it will work
-
maximumNumberOfDaysshould be part of theconfigobject:{ module: 'calendar', header: 'Events', position: 'top_left', config: { maximumNumberOfDays: 7, calendars: [ { symbol: 'calendar-check-o ', url: 'https://calendar.google.com/calendar/ical/your-info' } ] } }, -
That makes perfect sense. :) sorry didn’t catch that…
-
@KirAsh4 Weird. I had to make mine public or else the dashboard wont be able to display saying “No Events”
-
@MagicCrumps1, perhaps you were using the wrong URL? There’s both a public and a private one. If you use the public URL, then you must also set your calendar to public view. But the private URL has the authentication key in it. No need to make the calendar public.
-
@KirAsh4 Of course that worked. Thanks for the silver bullet
-
Hey guys sorry I’ve been away so I haven’t seen all these posts but I would recommend putting the calendar in monthly mode so events to disappear prematurely.
-
@00conman, care to explain what you mean?
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