Skip to content

With the increased threat of car theft in the modern era, I decided to repurpose/program an old Android phone to become a car tracker.

Notifications You must be signed in to change notification settings

jod98/Android_Car_Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 

Repository files navigation

Android_Car_Tracker

With the increased threat of car theft in the modern era, I decided to repurpose an old Android phone to become a car tracker. Using the 'Tasker' application, I had the ability to program this device to transmit it's current location via an API request. This solution offers a significant price advantage compared to similar methods whereby a constant mobile data (4G) connection is not required.

Demonstration:


Setup Process - Send Location SMS:

  1. Install/Buy 'Tasker' from the Google Play Store

  1. Open Tasker application

  1. Create a profile by clicking on the '➕' button in the bottom right corner and selecting 'Event'

  1. Select 'Phone' event

  1. Select 'Received Text' option

  1. Add your keyword trigger into the 'Content' section. In my case it is '!Location' i.e. when I receive an SMS containing this keyword I will send this phone's current location

  1. Press the back button to return to 'Profiles' page where we will click 'New Task'

  1. Name the new task 'Send Location' as evident in the image below. This can be any phrase of your choice, it is simply a name

  1. Click the '➕' button to add an action

  1. Select 'Location'

  1. Select 'Get Location v2'

  1. Press the back button to return to the 'Task Edit' section as per the image below. Now click the '➕' button to add an action

  1. Select 'Phone' event

  1. Select 'Send SMS'

  1. Add the following to the 'Message' section. We will be sending details of the phone's current location and battery percentage

  1. Press the back button to return to the 'Profiles' section where you can see we have successfully created our first profile


Setup Process - Send Low Battery SMS:

  1. Create a profile by clicking on the '➕' button in the bottom right corner and selecting 'State'

  1. Select 'Power' state

  1. Select 'Battery Level' option

  1. Move the value to '10' for both the 'From' and 'To' sliders. This will allow us to automatically send an SMS once the battery perecentage of the phone reaches 10%

  1. Press the back button to return to 'Profiles' page where we will click 'New Task' and name it 'Low Battery Text'

  1. Click the '➕' button to add an action

  1. Select 'Phone' event

  1. Select 'Send SMS'

  1. Add the following to the 'Message' section. We will be sending details of the phone's battery percentage i.e. low battery warning

  1. Press the back button to return to the 'Profiles' section where you can see we have successfully created our two profiles

  1. Both these profiles are now active. To demonstrate the first profile we made, we will simply text the keyword '!Location' from our personal phone to this device (one to be used as a Car Tracker equipped with Tasker). This car tracker device will transmit the current location of the vehicle along with the phone's battery level to notify the owner if the device is due to be charged.

Extras:

  • Ensure all battery optimisations are switched off on the device, this will prevent any issues with Tasker sending/receiving commands
  • Personally, to avoid paying €20-€30 per month retrieving the device's location 24/7 using mobile data, I decided to use Tasker combined with a small credit balance of €5. If in the event I notice my vehicle has been stolen, I can simply send an SMS text to the device which is hardwired into the fusebox (constantly charging) and I receive the details of its current location via SMS (approx 30c per SMS). This solution is cheaper, more power/battery efficient and offers the same capabilities as the more expensive mobile data enabled option.

Reference: https://thomaschaplin.medium.com/track-your-android-location-remotely-via-sms-using-automation-with-tasker-6cb5e9bfd93d

About

With the increased threat of car theft in the modern era, I decided to repurpose/program an old Android phone to become a car tracker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published