> Does anyone know if there's a way to query the location of a separate device with Tasker? I'm trying to make a task that checks my phone's location and my wife's before deciding to activate a specific task. Based on that it will proceed or not. Any help is appreciated.
The only way I know of is to have tasker or a tasker app on the wifes phone send her a text message that will trigger a task to send back the location.
> So she does have Tasker on her phone which is constantly on. Any idea how I could make a profile task that could find her location?
You would make a task on your device that sends a text message to her device with a specific content like , 'send back location'
On her device you would have a profile with a 'text received' context with the 'sender' and 'content' filters set. with a task that will get location and send a text message back to you.
Then on your device have a similar 'text received' profile from the wife's phone.
Profile
>Received Text>Sender>(me)>Content(wheresmybaby)
Task
>Turn on GPS>Get Location> Write File- File Name : My Location (with coordinates on first line, date on second line and time on third line).
What I'm trying to do now is take this information and send a text back with the location from this file.
Next what I'd like to do is compare this location with another location or similar area, check to see that the date and time is equal or greater than current. I think i can start the rest but I'm stuck at sending the SMS with the info from the txt file.
> Profile
> >Received Text>Sender>(me)>Content(wheresmybaby)
>
> Task
> >Turn on GPS>Get Location> Write File- File Name : My Location (with coordinates on first line, date on second line and time on third line).
When posting for help it is always best to include your exported profiles and tasks 'descriptions'
To post your profile or task here... Long press on the profile or task name / ( 3 dot menu with 4.0+ ) export / export "DESCRIPTION" to clipboard (not XML)
Any linked tasks will be exported with the profile they are linked to..
To be able to export, The beginner mode needs to be off and the profile needs to be named by you (Not the Tasker listed name. Tasker will list your profile with the context name if you have not given it one).
> What I'm trying to do now is take this information and send a text back with the location from this file.
You really should not need to save it to a file unless you need this for other reasons. Tasker has a - action / phone / send sms
So you would just use that action to send the SMS back.
>
> Next what I'd like to do is compare this location with another location
Compare in what way?
Profile: Received Location (SMS Received) (69)
Event: Received Text [ Type:SMS Sender: my wife Content:*heres* ]
Enter: Receive Location (68)
A1: Stop [ With Error:Off Task: ]