Check you have the dependencies set up correctly. I think that’s what was causing my issues. I reinstalled node-fetch and it started working.
Guilleam, if its not showing anything on the screen i’d check your install and your config files
Same for me and the reason seems to be this:
Will not show MMM-Traffic. LockStrings active: module_3_MMM-pages
I have MMM-pages activated btw.
@jimus888 Thanks for your reply, but it was just my mistake. I had it configured to show travel duration on weekdays, and I was trying to check if it worked on Saturday .
On the other hand, @sammay I suggest some color coded text feature? Like duration time turns red if it’s higher than usual, or green if it’s lower, something like that
@Guilleam95 You could check out MMM-MyCommute that uses the google api. It has this exact feature.
@lavolp3 thanks, I already tried that module but google api seems to be paid now. I know it is free if you don’t ask for too many directions, and setting the correct refresh interval should ensure that, but I don’t feel comfortable giving my billing information, i’d rather use mapbox.
Hi, this Module is amazing.
I did implemented in my MM and it works fine. Quick question !
Is there a way to choose mode: driving, walking or bus
that would be really helpful !
Thanks again for everything !
IS THERE biking or bus mode ? or walking ?
i’ve entered my coordinates but somehow the calculated time is 15 mins less to Google Maps. Can you say why there is such an inaccuracy compared to Google Maps? I’m very sure that I’ve used the correct coordinates. Also tested it with other coordinates.
Thank you very much
@beck0r All good,
I’ve missed that line
Note: Google maps coordinates are latitude,longitude, but Mapbox uses longitude,latitude so be sure to reverse what you copy from Google.
I’ve posted an issue on github, because duration is very different of google maps…(and google maps is more accuracy than mapbox api…)
Could you tell me if i’m only person with this problem ?
Lat/long are reversed as indicated on the readme, this is not the problem.