I'm building a clock face for the Versa. My formula for calculating Miles is
myMiles.text = (today.local.distance * 0.000621371).toFixed(2);
Seems pretty simple. But by the end of the first day I used it, miles on my clock face was about a half mile lower than what my phone app said the watch recorded (~5 miles vs 5.5). Using adjusted.distance gave me the correct number. Why would this be? I didn't make any adjustments.
Best AnswerThere is two calculations done on our side: a "simpler" one on the watch, and we adjust the number once the data is on the server with different and more complex algorithms for things like distance and steps as examples.
Best AnswerWhat does this mean? I tried to create an app involving distance in MI on a clockface and the mileage was off by over a mile. The app on my phone showed 3.5 miles, the Versa itself showed 2.3 using the same conversion as the first poster. Is there an accurate way to display mileage on the watch itself?
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Try using "adjusted' instead of "local", it should match the mobile app.
https://dev.fitbit.com/build/reference/device-api/user-activity/#interface-today