Tasker Plugin to automate start/stop of rides on Android

Tasker is an app that allows for automation of your phone.  Some apps create plugins that work with Tasker to allow for the app to change settings based on conditions.  A Tasker plugin would allow a Strava user to start or end recording of a ride based on conditions the phone can read, such as wifi state, touching an NFC tag, etc.

An example of how this would work: I put an NFC tag on my bicycle and program it to execute a Tasker profile which has Tasker start recording my ride.  Another profile stops the recording when my phone connects to my home wifi.  Thus my Strava ride is automated to the point where just running my phone over a sticker lets me record the ride.  

2

Comentarios

6 comentarios
  • Hey Matt – I'd be interested in the specifics of your set up.  Would you be able to provide instructions?  I'd actually be interested in setting it up in such a way that you could toggle between start/stop recording by tapping the phone on the same NFC tag.  Any idea how to do that?  Thanks!

    0
    Acciones de comentarios Permalink
  • I don't have a setup yet because Strava hasn't created any kind of Tasker support with their app.  Hopefully they will soon.

    0
    Acciones de comentarios Permalink
  • You can do this with existing apps.

    You'll need Trigger and Tasker.  Trigger is a free download from the play store.  You can use that to read NFC tags and fire a Tasker task.  You can use tasker to send an intent to the Strava app to start recording.  Works fine to start the recording, but I haven't got it to stop and upload the ride, it just pauses it.

    Intents you can use with strava: http://www.reddit.com/r/tasker/comments/2c9rwt/how_to_task_to_automatically_start_and_stop_a/

    how to set up the task in Tasker: https://imgur.com/a/lzLyD#0

    Example of Trigger sending a task request to Tasker: https://learn.adafruit.com/unlock-android-with-wearable-nfc/nfc-plus-tasker-automation

    1
    Acciones de comentarios Permalink
  • Sleebus,

    This is true, but I'd still like a Tasker plugin, since I'd like to have Tasker start a ride for me without having to use a tag.  I think there would still be some benefit from not having to use NFC tags.

    0
    Acciones de comentarios Permalink
  • Hi Mark,

    As per Sleebus Jones' comment, you don't need a plugin OR nfc. It just happens that when Strava added the functionality, it was for NFC (hence http://strava.com/nfc/record), but you can get Tasker (or Llama, in my case) to trigger recording from any condition you want.

    Here's the Llama action I'm using:

    Cheers,

    Simon

    0
    Acciones de comentarios Permalink
  • Sorry to resurrect an old thread - but Strava support pointed me here.  I've been using this solution for the last year or so with great success, but about a couple of months ago it stopped working.  Starting the ride (using http://strava.com/nfc/record) still works great, but stopping it with http://strava.com/nfc/stop, now results in an exception when the app tries to upload the ride from my phone.  Something like "unsyncedActivity.preferPerceivedExertion must not be Null".

    Any ideas on how I can set this value using android intents?

     

    1
    Acciones de comentarios Permalink

Iniciar sesión para dejar un comentario.

¿No encontró lo que buscaba?

Nueva publicación