This was discussed with a good approach a short time ago. Search this group, you should be able to find it...
hi. how can i make tasker read how far away from home i am and how long my commute will take.
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
Get Traffic Work-Home (25)
A1: Array Clear [ Name:%Text ]
A2: HTTP Get [ Server:Port:https://maps.google.com Path:maps?saddr=1600+Pennsylvania+Ave+NW,+Washington,+DC+20500&daddr=1+United+Nations+Plaza,+New+York,+NY+10017&hl=en Attributes: Cookies: Timeout:20 Mime Type: Output File: Trust Any Certificate:Off ]
A3: Stop [ With Error:Off Task: ] If [ %HTTPR !~ 200 ]
A4: AutoNotification Cancel [ Configuration:Id: Commutehome Package:com.joaomgcd.autonotification Name:AutoNotification Cancel Timeout (Seconds):0 ]
A5: Variable Set [ Name:%reply To:%HTTPD Do Maths:Off Append:Off ]
A6: Variable Split [ Name:%reply Splitter:In current traffic: Delete Base:Off ]
A7: For [ Variable:%item Items:2:%reply(#) ]
A8: Variable Set [ Name:%path To:%reply(%item) Do Maths:Off Append:Off ]
A9: Variable Split [ Name:%path Splitter:mins </span> </div> <div> Delete Base:Off ]
A10: Variable Set [ Name:%duration To:%path1 Do Maths:Off Append:Off ]
A11: Variable Split [ Name:%path2 Splitter:</div> Delete Base:Off ]
A12: Variable Set [ Name:%road To: %path21 Do Maths:Off Append:Off ]
A13: Variable Set [ Name:%Text(%item) To:%road: %duration min Do Maths:Off Append:Off ]
A14: Array Process [ Variable:%Text Type:Squash ]
A15: End For
A16: AutoNotification [ Configuration:Title: Commute Time Home Text: %Text() Status Bar Icon: ic_action_exit Id: Commutehome Package:com.joaomgcd.autonotification Name:AutoNotification Timeout (Seconds):0 ]
I think from there using a notification intercept should provide you with those details.
> Setting a home location in maps will generate a time to home notification in your drop down status bar anytime you're away from home.
Where do you set this 'home' location?
> > Setting a home location in maps will generate a time to home notification in your drop down status bar anytime you're away from home.
>
> Where do you set this 'home' location?
Hit send by mistake....
I have the latest google maps but I can not find where I would set a 'Home' location.
> 'Settings', then 'edit home or work'
>
I do not have edit home or work under settings..
Perhaps it is becouse of the android version. I am on 4.1.2
Check for a grey tab mid to lower left on map screen.
... not even remotely similar maps app?
https://www.dropbox.com/s/9q1uf53ulbokyw7/Screenshot_2014-04-06-19-49-01.png
https://www.dropbox.com/s/t6ewd9nx4tcynja/Screenshot_2014-04-06-19-53-13.png
Do you have a location service disabled in preferences???
... this is too weird.
We're both running 4.1.2
> Weird... I'm on 7.7.0
> My wife's is 7.4.0 though.
>
> We're both running 4.1.2
Yea,,,, I don't get it.... I could not find a way to set 'home' and 'work' in google maps but I did find a way to set them in the notification if I tap the 'magic wand' / places.
BTW, could you explain what you meant by a " notification intercept "
Thanks, Rich..
Available through AutoNotification, on v.4.3+ only though :-(