This a module for MagicMirror
https://magicmirror.builders/
https://github.com/MichMich/MagicMirror
This module displays your most recent notes from your Google GMail account.
modules
directory and executegit clone https://github.com/jclarke0000/MMM-MyNotes.git
MMM-MyNotes
directory and execute npm install
.It is very important that you follow these steps carefully. Before this module will work, you need to grant authorization for this module to access your GMail account.
Magic Mirror Notes
.Magic Mirror Notes
. It is important that this matches exactly.client_secret.json
and copy it to your MMM-MyNotes directory.node authorize.js
.If everything went well, you shoudl see MMM-MyNotes is authorized
in your console. No you can configure your module as below:
Option | Description |
---|---|
maxNotes |
The maximum number of your most recent notes to display Type Number Defaults to 10 |
pollFrequency |
How frequently to poll your GMail account for changes in notes. Type Number Defaults to 300000 (5 minutes) |
showDatePosted |
Whether to show the date when the note was created Type Boolean Defaults to true (5 minutes) |
dateFormat |
the date format to use for the posted date. Uses Moment.js supported date formats (https://momentjs.com/docs/#/displaying/) Type String Defaults to MMM D (e.g.: Jul 1) |
{
module: 'MMM-MyNotes',
header: "Bulletin Board",
position: 'top_right',
classes: 'default everyone',
config: {
maxNotes: 5,
pollFrequency: 600000,
showDatePosted: true,
dateFormat: 'D-MMM-YYYY'
}
},