Read the statement by Michael Teeuw here.
Google Traffic
-
google traffic times
I followed these steps from the webpageNavigate into your MagicMirror’s ~/MagicMirror/modules folder
execute git clone https://github.com/pjestico/MMM-GoogleTrafficTimes.git
A new folder will be created, please navigate into it. Run npm install in ~/MagicMirror/modules/MMM-GoogleTrafficTimes{
module: ‘MMM-GoogleTrafficTimes’,
position: ‘top_left’,
config: {
key: ‘my google API’,
origin: ‘my personal address straight from google’,
destination1: ‘Work:my work address straight from google’,
AvoidHighways: false,
AvoidTolls: false,
},now this exutes fine, but nothing appears???
-
@gr1dl0ck and this part goes in your config.js modules list, right?
{ module: ‘MMM-GoogleTrafficTimes’, position: ‘top_left’, config: { key: ‘my google API’, origin: ‘my personal address straight from google’, destination1: ‘Work:my work address straight from google’, AvoidHighways: false, AvoidTolls: false, },
pleas read the two links in my signature
-
yes this is in my Config.js file
-
@gr1dl0ck and u corrected the local data you needed to supply, yes.
your google api key for the traffic api
and your real to and from addtesses -
yes as above
key: ‘my google API’,
origin: ‘my personal address straight from google’,
destination1: ‘Work:my work address straight from google’, -
@gr1dl0ck and u enabled all three apis under the same api key
from the doc
You will need to enable the following APIs for your key, Maps JavaScript API, Geocoding API, Distance Matrix API.
-
it was the billing set up preventing it all, i enabled it read its free up to a certain amount of searches, just need to read into it a bit more to see how many times you can use it per month etc without incurring a cost