This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Pensez-vous possible de rajouter l’activité sortie vélo électrique ?

J’utilise également une autre application qui propose ce genre d’activité. Vélo a assistance électrique. J’aurais aimé pouvoir directement avoir la possibilité de choisir via ma montre le sport (vélo à assistance électrique). Je choisi vélo, mais ce n’est pas tout à fait correct, car je vais bien plus vite et plus facilement qu’avec un vélo musculaire. Je me doute que c’est compliqué de trouver un algorithme qui calcule via la fréquence cardiaque, la vitesse, l’altitude, la puissance moteur, l’aide mise sur le vélo et les calories correspondantes. 
Si vous pouviez ne fut-ce que permettre d’avoir ce sport dans les possibilités de choix via une nouvelle mise à jour, cela ferait sûrement plaisir à des utilisateurs comme moi. 
Merci 

  • Ajouter automatiquement à ...

    Dans la page des "Equipements" je vois cela

    Donc, la question est comment avoir DEUX fois Cyclisme

    Un Cyclisme "du week-end" -> le Cyclisme ici

    et un Cyclisme "de Velotaf" -> celui qui manque dans cette liste !

    Ceci afin de lier mon vélo de route à "Cyclisme" et mon VAE à "Velotaf"

    Actuellement j'ai créé dans ma montre une activité "Velotaf" qui est de catégorie "Autre"

  • You can't add any types to that list. You are currently stuck with those.

    If you got a custom type created from "Other" you can add default equipment to "Other", but it will be added to all activities with the type "Other". I would add it manually after each activity...or I wouldn't do that at all since I don't follow up on equipment in that way. It is too much work and that function is very limited.

  • Ok thanks
    We have the answer
    This list is not editable!

    So how do you keep track of your equipment?

  • I use the equipment and feel when it needs to be replaced or serviced. For my bikes I look at the parts, any noice, how does it feel when riding etc. There is no set distance or time when you need to do things or replace it. It depends on so many factors. 

  • it is a solution
    but it is not the intended functionality

    Thanks anyway.
    Maybe we need to find an alternative solution to track our equipment automatically.
    A Garmin app?

  • A Garmin app?

    A Garmin app won't work for that purpose easily, since the assignment happens on the server, not on the device. Check out the forums, I believe that in the past the user  already posted some Javascript code or a Chrome plugin for assigning the gear more selectively. 

  • There is one example script for gear in this thread: How to affect an equipment to an activity ?.

    Limit search with filters available on the Activities' page (copy and add them to the first link) and add other filters as IFs. At first you can run it without fetch command (which changes gear), only with printing (console.dir or log) to see if filters work as intended.

    When you have it ready and tested, just run it occasionally.

  • thanks for that

    thank you for this
    but I'm not sure how to do that
    it is not trivial to use.

  • Open DevTools by F12 key and start with only printing (console.dir).

    So you take script from the first box, it's a loop which goes by each activity from provided link.

    To get more filters for that link - open Activities' page, select some category like running, then choose Advanced search where you can enter dates etc., then you can copy it - example: .../activities?activityType=running&maxDistance=20000

    Then you add printing inside. There is IF check for mountain biking, so only activities of that type will be printed.

    function(act)
    {
        if(act['activityType']['typeKey'] === 'mountain_biking')
            {
                console.dir(act['activityId'], act['activityName']);
            }
    }

    So you can try with it like that. When it will be working, then you can add fetch command to edit gear.

  • Même soucis pour l'ajout de l'activité ski de rando qui est aussi en essor.