Hey all,
The local fitbit data seems to have a bit of a bug. What I get back from today.local.activeMinutes differs from the phone and Fitbit's Today app. I've tried rebooting both devices and resyncing several times. Below are pictures showing what I'm talking about.
The app showing 42:
The Today app showing 42:

My code output showing 46:
![]()
![]()
Answered! Go to the Best Answer.
you need to use adjusted values:
import { today } from 'user-activity';
let steps = today.adjusted.steps.toString();
Best AnswerPerfect, thank you! If you don't mind me asking, what is the different between local and adjusted?
Best AnswerIf I understand correctly, adjusted values are the ones that are "adjusted" by the server ML algorithm. Local ones are an approximation to be used in between syncs.