• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help with Tasker and sending location back to my phone

MJDomke

Lurker
Hello Everyone, first timer. I need help with Tasker. I want to be able to send an SMS to my child's phone with a specific word which will then trigger Tasker to message me back with their GPS location. I've tried a number of times with no success. Can someone please help me? I'm using the latest version of Tasker.
 
Multi device solutions are always the most complicated.

What is needed on the childs phone is a Tasker Profile that is waiting for an incoming intent to trigger the capture and transmission.

What have you developed so far? What isn't working?

Post what you have ...
Long press on Profile name until it is highlighted
Tap three dots
Tap Export
Tap Description to Clipboard
Past it into a message here

An examples ...
Profile: tlaProx (365)
State: Proximity Sensor
State: Not Call [ Type:Any Number:* ]
Enter: tlaProxEnter (293)
A1: System Lock

... Thom
 
Thom,

Thanks for your help. This is what I have currently. Although I have tried a number of different settings.

Profile: Where Are you? (3)
Event: Received Text [ Type:Any Sender:Daddy Content:Whereru ]
Enter: Location (22)
A1: Send SMS Number:+[moderator redacted] Message:%LOCN Store In Messaging App:Off ]
 
Last edited by a moderator:
You need Get Location ... your Send SMS was sending "%LOCN".

Dev9+ (559)
A1: Get Location [ Source:Net Timeout (Seconds):10 Continue Task Immediately:Off Keep Tracking:Off ]
A2: Flash [ Text:%LOCN Long:On ]
A3: Send SMS [ Number:0123456789 Message:%LOCN Store In Messaging App:Off ]

... Thom
 
Last edited:
Thom,
I tried your program and it did not work. What I learned last night was that I needed * before and after the trigger word to initiate a response.

This is what I have now that does not work.

Profile: 2 (9)
Event: Received Text [ Type:Any Sender:Daddy Content:*help* ]
Enter: Location 2 (8)
A1: Get Location [ Source:Net Timeout (Seconds):10 Continue Task Immediately:Off Keep Tracking:Off ]
A2: Flash [ Text:%LOCN Long:On ]
A3: Send SMS [ Number:+123456789 Message:%LOCN Store In Messaging App:Off ]
 
I just provided the task with a dummy phone number 0123456789. You have to replace it with your number.

The *test* string natch will be triggered if test is anywhere in the message string.

The test string will only be triggered if the entire string is the word test.

... Thom
 
Thanks Thom for the response.

I did replace with the correct phone number and it did not work.
I’ve tried with and without the * and it does not work. Thanks for the information about the usage of *, I was not aware of the difference.

Still trying.
 
I don't know what "it did not work" means.

Try running the task and verify that it does send the location to the phone number.

When you run the task by itself ... what happens?

You of course have to have GPS turned on on the phone.

... Thom
 
When I send an sms with the trigger word, I receive nothing back in return to my phone. No text or message. Nothing. My child’s phone received the message, but never sent me a message.

I don't know what "it did not work" means.

Try running the task and verify that it does send the location to the phone number.

When you run the task by itself ... what happens?

You of course have to have GPS turned on on the phone.

... Thom
 
When I send an sms with the trigger word, I receive nothing back in return to my phone. No text or message. Nothing. My child’s phone received the message, but never sent me a message.

Wait! It worked. I’m not sure what changed, but now it is working. Thanks so much for your help!
 
In profile specify phone number for Sender and nothing for Content.

... Thom
If I put nothing for Content, how will it know what the "trigger" word will be? I don't want it to send me a message with location every time I send my child a message.
 
Tasker is not a programming language. Tasker has a fairly long learning curve. The approach to building something in Tasker is to get a partial solution that works and then tweak it to add features until it contains.

... Thom
 
Last edited:
An aside ...

I am an ardent user of Cerberus that is available at ...
Cerberus – paid – remotely track your phone – remote Factory Data Reset –
remotely take picture, copy text message log, display message
Cerberus (Android) enable capability on device
Cerberus (Website) control device from website

I have a three device license and can remotely control any of them from the Cerberus website.

One of the many capabilities is to track the location of a device.

You can also configure the device to permit Cerberus to remotely initate a Factory Data Reset. You can also take a picture remotely using the front or back camera.

... Thom
 
Back
Top Bottom