• 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.

Google Authentication with MMM-CalendarWeek

Scheduled Pinned Locked Moved Unsolved Troubleshooting
1 Posts 1 Posters 468 Views 1 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.
  • D Offline
    davidbayne
    last edited by Aug 1, 2019, 4:34 AM

    I’m setting up my first MagicMirror, and am fairly novice at coding (it’s been a long time since I’ve had to do more than simple scripts).

    I want to set up MMM-CalendarWeek to show twin weekly calendars for me and my wife. I have sample calendars running fine, but I need to use Google Authentication for my calendar; my employer has it locked down pretty tightly and I don’t have a “private” calendar link (which would make this easy).

    I created Google Access Tokens, but cannot for the life of me figure out how to configure them nor what URL to use for the calendar itself. I did download the .json file, but don’t know where to put that nor how to put the configuration for it into the config.js for MagicMirror.

    Any help is appreciated. Thanks!

    Config script for MMM-CalendarWeek is below.

    {
    	module: "MMM-CalendarWeek",
    	position: "bottom_bar",	// This can be any of the regions. Best results in bottom region.
    	config: 
    	{
    		// The config property is optional.
    		// If no config is set, an example calendar is shown.
    		// See 'Configuration options' for more information.
    		maximumNumberOfDays: "7",
    		allowDuplicate: true,
    		hideEmptyDays: false,
    		maximumDaysPerLine: "7",
    		showEndDate: true,
    		displayLocation: true,
    		displayDescription: true,
    		fetchinterval: 2000,
    		calendarTitle: "SkillsUSA",
    
    
    	calendars: [
    			{
    				symbol: "check-plus-o",
    				calendarTitle: "SkillsUSA",
    				url: "https://cal***private URL of 1 of the calendars", 
    			},
    			{
    				symbol: "check-minus-o",
    				calendarTitle: "David_WJUSD",
    				url: "https://public URL of my calendar", //
    			}
    		],
    	}
    
    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      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