Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module won't load traffic information? #5

Open
greghesp opened this issue Oct 29, 2017 · 4 comments · May be fixed by #7
Open

Module won't load traffic information? #5

greghesp opened this issue Oct 29, 2017 · 4 comments · May be fixed by #7

Comments

@greghesp
Copy link

Hi,

I' m having some issues when getting this module to load. Below is the config I am using.
The module loads fine, no errors, but it sticks on "Loading..."

			module:	"MMM-MyCommute",
			position: "top_center",
			classes: 'default everyone',
			header: "Traffic",
			config: {
				apikey: "key",
				origin: "65 Front St W, Toronto, ON M5J 1E6",
				startTime: "00:00",
				endTime: "17:00",
				//hideDays: [0,6],
				destinations: [
				{
					destination: "14 Duncan St Toronto, ON M5H 3G8",
					label: "JTI",
					mode: "driving",
					color: "#22a960"
				}]
			}
		}
@zbtimbers
Copy link

I'm actually having the same issue, where my mirror is stuck at "loading..." but nothing else, and that is with a valid API key. I assume you've populated your API key field?

@aaronpk
Copy link

aaronpk commented Nov 26, 2017

Same problem. I've added my API key, and I even see the network request for the directions, with a valid JSON response containing the directions.

@aaronpk
Copy link

aaronpk commented Nov 26, 2017

Just figured it out! You have to restart the main MagicMirror script after adding this module.

@aaronpk aaronpk linked a pull request Nov 26, 2017 that will close this issue
@poonasor
Copy link

poonasor commented Mar 25, 2018

@aaronpk i've restarted the main MagicMirror and its still just says 'loading..'

edit: i found the problem, i didnt install it into the modules folder, and be sure to run npm install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants