Ah looking in the source for the widget I see this
process.env.VERSION;
This returns "2v11"
UPDATE: running the following is also giving me incorrect step data;
Bangle.getHealthStatus("day").steps;
I have looked in the Health Tracking app and can see that on the "per day" view I do not see today's count (?), though I do see todays steps in the "per hour" view. The total of today's "per hour" plus yesterday's "per day" gives me the value that I get from the "Bangle.getHealthStatus("day").steps;".
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ah looking in the source for the widget I see this
This returns "2v11"
UPDATE: running the following is also giving me incorrect step data;
I have looked in the Health Tracking app and can see that on the "per day" view I do not see today's count (?), though I do see todays steps in the "per hour" view. The total of today's "per hour" plus yesterday's "per day" gives me the value that I get from the "Bangle.getHealthStatus("day").steps;".