Newbe question about complications vs ActivityMonitor

Hi all,

I am creating an app where I would like to collect data on stress level and respiration rates during activities. Currently  when I use ActivityMonitor.info and save  the data to my fit fields the data remains the same throughout the activity. Does this data not update during actives? I read on here that the only way to get close to real time data is to use complications, however when I attempt to save this data to a field via Field.setdata(Complications.COMPLICATION_TYPE_STRESS.value.toNumber()). I get the error "cannot convert to long" or "float". Any advice?

  • As far as I know you'll only have respiratory rate when getting the HR from an external HRM band - that's the way I check if I want to be sure that my band is connected during activity or even after, when I look at the stats in Garmin Connect.

    As for stress, even if you look at the daily stress you'll see that there's a gap during activities.

    What I was trying to do - unsuccessfully so far - is to calculate HRV during the activity and give an indication of how stressed the user is. Maybe the reason I failed is the same why Garmin doesn't give stress during activity...

  • Thank you for your reply, It's just a bummer that real time calculations for stress and respiration rates seem to be unobtainable right now.