Power Monitor and Alert App

I am planning to develop a small app to monitor cycling power for ultra distance rides. Pretty basic. But not sure if these features are available. I use a Garmin 520 computer.

1. The built in alert seems to be instantaneous. Even if I'm displaying and care about 30 second avg power levels, it beeps and alerts if power exceeds the threshold (say 185W) even for a split second. I'd like to alert only if my 30 sec avg power exceeds my threshold. I think I should be able to trigger an alert based on a rolling average value. That one seems easy.

2. I'd like to use a custom duration for displaying and alerts. For example, 60 second avg power might be more useful for me than the built in max of 30 sec avg power. Not sure the device will allow me to configure a custom rolling average duration other than the 3 built in values of 1 sec, 10 sec, and 30 sec?

3. I'd like to keep a counter of how much time I spend above my threshold (say 185W). For example, I'd like to display that I've so far spent 6% of my moving time above my desired power threshold. Not sure the device keeps counters like that, or if I can maintain a custom counter that increments the time spent above a set power threshold?

Thanks for any advice. If these kinds of features are available, I'll create an app and publish the source code in case others might find this kind of thing helpful.
  • Yes, this all possible with ConnectIQ and could be implemented pretty easily.

    Assuming you have a power sensor, you should be able to get the power data from the Sensor module (by registering for update notifications), via the Activity module (by polling the data), or via the new AntPlus module. All of the averaging and alerting stuff you'll have to implement.

    Travis
  • Hi Travis,

    I have a Garmin Edge 520, an XT920 Forerunner and a Garmin sapphire fenix 6x.

    I've built some power based workouts in Garman Connect,but I've noticed that I can only get the watch to indicate (via the alert option) when I'm inside a desired power zone and not when I've dropped out of it, which seems really silly.
    I'm not partiIcularly good with anything techy, so maybe I'm missing something really basic.
    Otherwise, it's just plain dangerous to be spending so much time looking down at my device in order to confirm I'm in my desired zone.
    If you can suggest a way forward for me, it would be really appreciated!
    Thanks,
    Paul