Read the statement by Michael Teeuw here.
2 problems with MMM-MyCommute module
-
{ module: 'MMM-MyCommute', header: "Work Commute", position: 'bottom_right', config: { api_key: 'xxxxxxxxxxxxxxxxxxxxxxxxxxx', origin: 'Home Postal Code', showSummary: true, startTime: '00:00', endTime: '23:59', colorCodeTravelTime: true, moderateTimeThreshold: 1.01, poorTimeThreshold: 1.05, destinations: [ { destination: 'Work 1 Postal Code', // Farther office, by car, alternatives on label: 'Office 1', color: '#1E90FF', //Blue alternatives: true, }, { destination: 'Work 2 Postal Code', // Closer office, walking, alternatives off label: 'Office 2 - Walking', mode: 'walking', color: '#98FB98', // Green alternatives: false, }, { destination: 'Work 2 Postal Code', label: 'Office 2 - Train', mode: 'transit', transitMode: 'train', showNextVehicleDeparture: true, color: '#ffff00', //Yellow alternatives: false, }, { destination: 'Work 2 Postal Code', label: 'Office 2 - Tram', mode: 'transit', transitMode: 'tram', showNextVehicleDeparture: true, color: '#ffff00', //Yellow alternatives: false, }, { destination: 'Work 2 Postal Code', label: 'Office 2 - Bus', mode: 'transit', transitMode: 'bus', showNextVehicleDeparture: true, color: '#ffff00', //Yellow alternatives: false, } ] }, },
-
@strawberry-3-141 I saw that, and fixed it (just not in my post)
@yawns I cut and pasted your code (adjusted the API key and the postal codes), and still get the same error (as per previous screenshot)
-
I’m guessing no-one has any other ideas ? I wondered if there was a conflict with any other modules, so I’ve done a full rebuild of the RPi, stripped the config to just this module, and it still doesn’t work properly.
Ho hum
-
@Bob I’m the author of this module. Can you send me a private message? I’ll see if I can figure out what’s going on.
-
I got the same problem. So im really interested what is the problem and how to fix.
Thanks
-
-
@j.e.f.f Thanks Jeff, problem solved, and everything now works. Typical that Google allows you to use the API without a valid key, and doesn’t error out to say it’s not a valid entry :(
Oh for the good old days of 2 word *nix error messages that required a manual the size of war and peace to troubleshoot…but at least you knew there was an error ! :)
-
this helped immensely. i got my MM exactly where i want it now and can cancel CTATracker. sorry for being a nub