This a module for the MagicMirror. It shows the time you need to get to work (requires API_KEY). The informations fetched by google.
- Navigate into your MagicMirror's
modules
folder and executegit clone https://github.com/domsen123/mrx-work-traffic
.
Option | Description |
---|---|
apiKey |
API Key from google Type: string This value is REQUIRED |
Here is an example of an entry in config.js
{
module: 'mrx-work-traffic',
position: 'top_center',
header: 'Arbeitsweg',
config: {
apikey: 'API_KEY_FROM_GOOGLE',
origin: 'Platz der Republik 1, 11011 Berlin',
startTime: '00:00',
endTime: '23:59',
destinations: [
{
destination: 'Platzl 9, 80331 München',
label: 'Hofbräuhaus'
}
]
}
},
- request (installed via
npm install
)
- This is one of my first projects using Node, so feel free to submit pull requests or post on the issues/wiki and I will do my best to improve the project.
- Michael Teeuw for creating the awesome MagicMirror2 project that made this module possible.