![]() While installing the module I get Error: Cannot find module. You do not need to change settings, just copy the ID and use it in MMM-GoogleCalendar Once you're in the settings page, look on the left for your calendar settings and click on the calendar you want to display in MMM-GoogleCalendar, you're calendar ID will be somewhere in the integrate your calendar section. Basically, just visit and look for the settings (should be on the upper right section, an icon similar to a gear). ![]() ![]() If your calendar ID was not printed, you can find it on your Google calendar settings page. I ran the authentication steps but I didn't get the calendar ID printed You could, however, use the default calendar module to view ICS.Ĭan't seem to get this working, what should I do?Ĭheck out the troubleshooting guide below, if you don't find a solution for your problem feel free to open an issue here. No, this module will only work with google calendar directly, the reason is that information in google calendars is stored in different format, thus no support for other calendar types. In previous versions we used the Web Application and TV & Limited Input devices credentials type of OAuth, these are not used anymore, with the current version of googellibs the Desktop app is the best/easiest way to setup the module.Ĭan this module display. What happend to the old type of OAth credentials? Merge Request with latest changes are always welcome. , Configuration OptionsĪlthough this module works with Google calendars only, most of the options from the original calendar module are supported, please check the MagicMirror² documentation. To use this module, add the following configuration block to the modules array in the config/config.js file, don't forget to replace the "MyGoogleCalendarIDHere" with your actual calendar ID: Using the module MagicMirror² Configuration If you think you need support for a different flow, feel free to open an issue, merge requests are also welcome. The main difference between credential types is the authentication flow. This module only supports the Desktop app credential type. If you run the script but don't see anything happening, check the troubleshooting section below, you may need to connect through VNC rather than SSH.Īs mentioned in the second step above, when creating your OAuth client ID you'll have to choose between a different set of options. (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 |