Acknowledged

getStressHistory() useless on FR255?

I've been trying to use SensorHistory.getStressHistory() on my FR255 (with firmware 19.18)

I get an iterator back but it always seems to be empty.  I've tried passing either a Time.Duration or an integer number of samples desired.

Oddly, if I pass a large integer I can cause an out of memory CIQ error, even though any successful return seems to be empty.

Parents
  • I think so.  I made my code log how many entries it got in the iterator and wore it for hours. Taking it off and checking the log later, it was zero entries on every report still visible in the log.

    I have a stress bar on my watchface, that I believe is coming from the Toybox.ActivityMonitor.getInfo() stressScore field, and could see the value change.

Comment
  • I think so.  I made my code log how many entries it got in the iterator and wore it for hours. Taking it off and checking the log later, it was zero entries on every report still visible in the log.

    I have a stress bar on my watchface, that I believe is coming from the Toybox.ActivityMonitor.getInfo() stressScore field, and could see the value change.

Children
No Data