MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Google Authentication with MMM-CalendarWeek



  • 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", //
    			}
    		],
    	}
    

Log in to reply