traccar-client-android icon indicating copy to clipboard operation
traccar-client-android copied to clipboard

Tracking On when Bluetooth Connected.

Open Nayar opened this issue 7 years ago • 4 comments

Hello,

How about using the Android Bluetooth connected event to activate traccar and deactivate it?

Scenario:

  1. I enter my car and turn on ignition. My phone connects to the car radio, traccar detects this event, it starts sending data to the server.
  2. I turn off my car and exit. Traccar detects disconnected bluetooth, it stops sending data.

The aim in ubiquitous computing is less human interaction to do tedious tasks. What do you guys thinkg?

Nayar avatar May 10 '18 20:05 Nayar

I believe you can already implement this and many other scenarios using third party scheduling apps (e.g. Tasker).

tananaev avatar May 10 '18 20:05 tananaev

@tananaev

But to use Tasker, does the client app support Tasker's api so tracking can be started/stopped out of tasker or is there an intent to do so, which Tasker can sent?

AlphaDE avatar Jul 11 '23 13:07 AlphaDE

Tasker can use shortcuts and intents.

tananaev avatar Jul 11 '23 14:07 tananaev

Thanks @tananaev , found the shortcut way. That does work.

AlphaDE avatar Jul 11 '23 14:07 AlphaDE