The Trello
module displays all cards in a specific Trello list, in a style similar to the Newsfeed (showing one card at a time).
Applications can be: displaying a TODO list, showing notes, or important information which needs to be shared between roommates.
1. Execute the following commands from your MagicMirror/modules
folder:
git clone https://github.com/Jopyth/MMM-Trello.git # clone this repository
cd MMM-Trello # navigate into the folder
npm install # install dependencies
2. Add the module to your config/config.js
file (see below for details).
To use this module you will need a trello API Key, an access token, and your list identifier.
Get your required API Key and Token here, or see 'Configuration Options' for more details. Also find your list id as described here below Finding a List ID.
Then, add it to the modules array in the config/config.js
file:
modules: [
{
module: 'MMM-Trello',
position: 'bottom_center', // This can be any of the regions, best results in center regions.
config: {
// See 'Configuration options' for more information.
api_key: "INSERT_YOUR_API_KEY",
token: "INSERT_YOUR_TOKEN",
list: "INSERT_YOUR_LIST_ID"
}
}
]
The following properties can be configured:
Option | Description |
---|---|
api_key |
Your trello API key, get it here.
This value is REQUIRED |
token |
Your trello token, get it via this link (replace API_KEY with your API key!): https://trello.com/1/authorize?expiration=never&scope=read&response_type=token&name=Server%20Token&key=API_KEY .
This value is REQUIRED |
list |
The id of the list you want to display, check out Finding a List ID here.
This value is REQUIRED |
reloadInterval |
How often does the content need to be fetched (in ms)? Possible values: any int or float
Default value: 5 * 60 * 1000 (every 10 minutes)
|
updateInterval |
How long should a card be displayed, before switching to the next one (in ms)? Possible values: any int or float
Default value: 10 * 1000 (every 10 seconds)
|
animationSpeed |
Duration of the fade in and fade out effect in ms. Possible values: any int or float
Default value: 2.5 * 1000 (2.5 seconds)
|
showTitle |
Whether to show the title of the card. Possible values: true or false
Default value: true
|
Copyright © 2016 Joseph Bethge
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.