Module for the MagicMirror² smart mirror.
Displays tasks from Google Tasks App
To install the module, use your terminal to:
cd ~/MagicMirror/modules
git clone https://github.com/jgauth/MMM-GoogleTasks.git
npm install googleapis
Google Tasks API an authenticated OAuth2 client:
node authenticate.js
To use this module, add the following configuration block to the modules array in the config/config.js
file:
var config = {
modules: [
...
{
module: 'MMM-GoogleTasks',
header: "Google Tasks",
position: "top_left",
config: {
listID: "",
...
// See below for Configuration Options
}
},
...
]
}
Option | Details |
---|---|
listID |
Required - List ID printed from authenticate.js (see installation) |
maxResults |
Optional - Max number of list items to retrieve. Possible values: 0 - 100 Default value: 10 |
showCompleted |
Optional - Show completed task items Possible values: true false Default value: false |
dateFormat |
Optional - Format to use for due date Possible values: See Moment.js formats Default value: MMM Do (e.g. Jan 18th) |
updateInterval |
Optional - Interval at which content updates (Milliseconds) Possible values: 2000 - 86400000 (Tasks API has default maximum of 50,000 calls per day.) Default value: 10000 (10 seconds) |
animationSpeed |
Speed of the update animation. (Milliseconds) Possible values: 0 - 5000 Default value: 2000 (2 seconds) |
tableClass |
Name of the classes issued from main.css . Possible values: xsmall, small, medium, large, xlarge. Default value: small |