Module won't load traffic information?
greghesp opened this issue · 4 comments
greghesp commented
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 commented
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 commented
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 commented
Just figured it out! You have to restart the main MagicMirror script after adding this module.