/MMM-AnyDo

AnyDo module for the Magic Mirror.

Primary LanguageJavaScript

MMM-AnyDo

This an extension for the MagicMirror. It can display your Any.do todos. You can add multiple instances with different lists. Only one account supported. The enhanced version will allow you to have multiple groupings per List added.

This is forked from the excellent MMM-Wunderlist-Enhanced and modified for Any.do

Alt text

Installation

  1. Navigate into your MagicMirror's modules folder and execute git clone https://github.com/MikeSandford/MMM-AnyDo.git. A new folder will appear navigate into it.
  2. Execute npm install to install the node dependencies.

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
	{
		module: 'MMM-AnyDo',
		position: 'top_right',	// This can be any of the regions. Best results in left or right regions.
		header: 'AnyDo', // This is optional
		config: {
			// See 'Configuration options' for more information.
                        accessToken: "5f6f8b5972470536222ac5f0ab03230bbbcc5279f2aaa3c90f66db780bb1",  //example token
                        clientID: "da50f5c13e5c25f87c51",   //example clientID
                        lists: ["inbox","House to do"]			
		}
	}
]

Configuration options

The following properties can be configured:

Option Description
accessToken REQUIRED: Your Wunderlist access token, you can get it here. Put any url in APP URL and Callback URL.

Possible values: string
Default value: none
clientID REQUIRED: Your Wunderlist client id, you can get it here. Put any url in APP URL and Callback URL.

Possible values: string
Default value: none
lists Array of lists you want to display.
Sub-categories will be generated via these lists.

Possible values: array
Default value: ["inbox"]
Example: ["inbox", "ViRO Entertainment"]
order Order of tasks on the list.

Possible values: "normal", "reversed"
Default value: "normal"
maximumEntries Maximum number of todos to be shown per list.

Possible values: int
Default value: 60
interval How often the module should load new todos.

Possible values: int in seconds
Default value: 60
fade Fade todos to black. (Gradient)

Possible values: true or false
Default value: true
fadePoint Where to start fade?

Possible values: 0 (top of the list) - 1 (bottom of list)
Default value: 0.25
spaced Add more space between table rows

Possible values: true or false
Default value: false
showDeadline Show deadline of a task

Possible values: true or false
Default value: true
showAssignee Show due date of a task

Possible values: true or false
Default value: true
iconPosition Where to position the star-icon and the (optional) bullet-icons

Possible values:
  • left In a table column left of the title
  • right In a table column right of the title
  • inline_left Left of the title, in the same table cell
  • inline_right Right of the title, in the same table cell
  • none Show no icons (no bullets/no stars)

Default value: true
showBullets Show bullets, ">" before the title if icons are aligned left, or "<" after the title if icons are aligned right. Note, that stars are still shown for starred items if showBullets is set to off.

Possible values: true or false
Default value: false

Dependencies

Known issues

  • User list will not propagate until second refresh

The MIT License (MIT)

Copyright © 2019 Mike Sandford Copyright © 2017 Dave Richer Copyright © 2016 Paul-Vincent Roll

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.