@Sandy2503 Well the traffic gives you an up to the minute estimate based on current traffic conditions. So the estimate will likely have changed when you’re ready to come home from work. I’m assuming you don’t have your mirror with you at work :)
That said, there is a Google API that allows exactly this… it’s called their matrix API and it gives you time estimates for multiple origin points to multiple destinations.
Another idea is you could set up two instances of this module. One set up for your drive to work, and a second setup up for your drive home. That works nicely because each can have their own module header and schedule.
EDIT I tried this, and it works nicely. Here’s my output:
My config looks like this:
{
module: 'MMM-MyCommute',
position: 'top_left',
config: {
... configure for your drive to work
}
},
{
module: 'MMM-MyCommute',
position: 'top_left',
config: {
... configure for your drive home
}
},