Read the statement by Michael Teeuw here.
MMM-MyCommute not updating traffic times
-
I got the MyCommute module to work however, it is not adjusting accordingly to the traffic. It only ever reads travel time with no traffic. I have tried to mess with pollFrequency, assuming this is the issue but have had no luck. I am not a programmer so please help! It will display accurate travel time for no traffic only. So it is not actually checking traffic for updates. Here is my outline for it:
module: 'MMM-MyCommute', position: 'bottom_left', classes: 'default everyone', header: "Traffic", config: { api_key: 'xxxxxxxx', origin: 'xxxxx', showSummary: true, startTime: '00:00', endTime: '23:59', colorCodeTravelTime: true, destinations: [ { destination: "1100 S Marietta Pkwy, Marietta, GA 30060", label: 'KSU Marietta', mode: 'driving', //green color: '#22a960', alternatives: true, pollFrequency: 600000, }, { destination: 'xxxxxx', label: 'CHOA', mode: 'driving', alternatives: true, pollFrequency: 600000, } ] }, }, -
This is my code and it updates with traffic as expected.
{ module: 'MMM-MyCommute', position: 'top_left', header: 'Commute', classes: 'default everyone', config: { apikey: 'xxxxxxx', origin: 'xxxxxx', moderateTimeThreshold: '1.15', poorTimeThreshold: '1.3', showSummary: true, destinations: [ { destination: 'xxxxxxx', label: 'Work', mode: 'driving', alternatives: true, startTime: '05:00', endTime: '09:00', hideDays: [0,2,5,6], color: '#9b59b6', }, { destination: 'xxxxxx', label: 'xxxxxx', mode: 'driving', alternatives: true, startTime: '05:00', endTime: '10:00', hideDays: [0,1,2,3,4,6], color: '#33B5FF', }, { destination: 'xxxxxx', label: 'xxxxxxx', mode: 'driving', alternatives: true, startTime: '05:00', endTime: '10:00', hideDays: [0,1,2,3,4,5], color: '#9b59b6', }, ] } },
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login