(If you can't find your ID, check the troubleshooting section for help). NOTE: After completing the authorize.js script it should print your calendar ID and most recent entries, you can copy the calendar ID to use later in the config file. Run this command from the MMM-GoogleCalendar directory: node authorize.js and follow the instructions that will display in the console.Move credentials.json to your MMM-GoogleCalendar directory (MagicMirror/modules/MMM-GoogleCalendar/).NOTE: When creating the OAuth ID client you should see a list of diffrent credential types, this module is currently only supporting Desktop app. Once you have enabled setup the project and created your OAuth ID client, download the client ID as json (look for the download option) and rename it credentials.json.Go here, and follow the instructions found in the prerequisites section to create the Google Cloud project (you could also use an existing project if you wish).Run npm install from the MMM-GoogleCalendar directory.īefore you can add your calendar you need to setup the Google Calendar API and OAuth2 client from the Google Cloud Platform: If you are using the default installation directory, use the command: Navigate to your MagicMirror's modules folder.To install the module, use your terminal to: The Google Node.js client library: This dependency is required for authenticating to Google and using the Google Calendar API (v3).This module is a customization from MagicMirror's default calendar module to display your Google calendars (including the Google Family calendar) without needing to make calendars public or using iCals.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |