Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.29 KB

README.md

File metadata and controls

40 lines (34 loc) · 1.29 KB

mrx-work-traffic

This a module for the MagicMirror. It shows the time you need to get to work (requires API_KEY). The informations fetched by google.

Installation

  1. Navigate into your MagicMirror's modulesfolder and execute git clone https://github.com/domsen123/mrx-work-traffic.

Config

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'
			}
		]
	}
},

Dependencies

  • request (installed via npm install)

Important Notes

  • 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.

Special Thanks