Read the statement by Michael Teeuw here.
MMM-MyCommute
-
Hi everybody,
sorry for the late reply. Haven’t been here much in the last couple of weeks. Here’s my config:
{ module: 'MMM-MyCommute', position: 'bottom_right', header: 'Traffic', classes: 'default everyone', config: { apikey: 'your API Key', origin: 'Marienplatz 1, 80331 München', startTime: '05:00', endTime: '10:00', hideDays: [0, 6], destinations: [ { destination: 'Belgradstraße 13, 80796 München', label: 'Good Food', mode: 'driving', color: '#82E5AA' } ] } },
-
Can this module support Japanese addresses?
The default config and values work for me, but putting in Japanese addresses returns loading… forever. -
This is great and very practical module! Everything is working on me but i would like to remain below USD200 (40K calls)/mo API call request. This means staying below 1.3K calls/day
However, after installed I can see 570+ request call in 2 hours on Google API dashboard. This is despite setting pollFrequency: 1200000 (20mins interval) on MM config.
Any help please?
-
MM is only loading the “loading…” text for this module. All my other modules are showing right. I am getting request on the Google API Console under the Directions API. So I believe that I must have the module installed correctly. Does anyone know why this would be happening?
-
{ module: 'MMM-MyCommute', position: 'bottom_right', config: { apikey: 'my api key from google', origin: '65 Front St W, Toronto, ON M5J 1E6', startTime: '00:00', endTime: '23:59', hideDays: [0,6], destinations: [ { destination: '14 Duncan St Toronto, ON M5H 3G8', label: 'Air Canada Centre', mode: 'walking', color: '#82E5AA' }, ] }
},
-
in the MagicMirror folder do
npm check:config
fix 1st error, repeat
I think it is the comma after the only destinationcolor: '#82E5AA' }, //< ---
loading …
is the default message many modules put up while getting their data
but it failed to get the dataso, this means there was an internal error in the module code
open the developers window
(either npm start dev, or use ctrl-shift-i when mirror is running)
select the console tab, and scroll up to locate any errors, usually red text -
This post is deleted! -
@sdetweil okay, I’m new but the check:config command is not valid. So tried npm config and it brought up 10 errors.
Usage:
Npm config set
Npm config get …
Etc
Etc…What does this mean?
-
@sdetweil also added comma to that location with no success. Then moved to behind bracket and nothing there either.
-
@charp07 sorry, I get that command backwards
npm config:check