Hello,
I have some problems wird the module MMM-Traffic.
I installed it and in my config.js file I inserted the following example config from the git hub site https://github.com/SamLewis0602/MMM-Traffic
{
module: 'MMM-Traffic',
position: 'top_left',
classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name
config: {
api_key: 'your_apikey_here',
mode: 'driving',
origin: '4 Pennsylvania Plaza, New York, NY 10001',
destination: '1 MetLife Stadium Dr, East Rutherford, NJ 07073',
mon_destination: '116th St & Broadway, New York, NY 10027',
fri_destination: '1 E 161st St, Bronx, NY 10451',
arrival_time: '0800', //optional, but needs to be in 24 hour time if used.
route_name: 'Home to Work',
changeColor: true,
showGreen: false,
limitYellow: 5, //Greater than 5% of journey time due to traffic
limitRed: 20, //Greater than 20% of journey time due to traffic
traffic_model: 'pessimistic',
interval: 120000 //2 minutes
}
},
I added my API-Key from Google Maps Directions API. I use the “Directions API” from the Google Cloud Platform.
So, when I start my MM, there are no Informations from this module.
I have installed the MMM-GoogleMapsTraffic too. In this module I am using the “Maps JavaScript API”. And this module work fine. But this API doesn´t work with the module MMM-Traffic.
I am not sure, if I use the correct API. Maybe there is another problem.
Unfortunately, I do not remember what else I can do.
It would be great if anyone of you could help me.
Thank you in advance.
Lars