• Wondering what exactly Bangle.getStepCount() returns. Step count from what point ?
    Also wonder what other options exist for Bangle.getHealthStatus(arg);

    >Bangle.getStepCount();
    =15200
    >
    >Bangle.getHealthStatus("day").steps
    =3768
    >
    >WIDGETS.wpedom.getSteps();
    =3733
    >
    >Bangle.getHealthStatus("week");
    Uncaught Error: Unknown range name "week"
     at line 1 col 30
    Bangle.getHealthStatus("week");
                                 ^
    >Bangle.getHealthStatus("month");
    Uncaught Error: Unknown range name "month"
     at line 1 col 31
    Bangle.getHealthStatus("month");
                                  ^
    > 
    
  • libs/banglejs/jswrap_bangle.c +2688:

    • undefined or 'current' - health data so far in the last 10 minutes is returned,
    • 'last' - health data during the last 10 minutes
    • 'day' - the health data so far for the day
  • Bangle.getStepCount() returns. Step count from what point ?

    When the Bangle started. You can use setStepCount to set it to something else though.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Bangle.getStepCount() vs Bangle.getHealthStatus("day").steps

Posted by Avatar for HughB @HughB

Actions