Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for fetching intraday floors to get_intraday_data_limit_1d #22

Closed
wants to merge 2 commits into from

Conversation

Niggggggo
Copy link
Contributor

Adds support for fetching intraday Floors used, can be used in Grafana like this:
image

@arpanghosh8453
Copy link
Owner

I think Fitbit deprecated floor counts in all of their recent releases ( I have a Charge 5, which lacks this feature altogether, but by Charge 4 had it ). Which device you are using? It may terminate the script if the endpoint is not available for the device.

@Niggggggo
Copy link
Contributor Author

Hmm, it works for me on a Pixel Watch 2 just fine. Could you let me know what kind of errors it produces on your end so we can add handling for that?

@Niggggggo
Copy link
Contributor Author

@arpanghosh8453 were you able to take a Look at this?

@arpanghosh8453
Copy link
Owner

@Niggggggo I had a look. On their official Web API documentation and the Web API Explorer, they have removed that endpoint, so I am assuming that is an leftover/soon-to-be-deprecated feature/API-endpoint. Including that might encounter issues with future releases.

Additionally, if there was an documented endpoint for total floors count per day (similar to Calories or Distance walked per day) I would be interested to include that with proper error handling, but it seems the intraday data consumes too many requests being intraday, whereas providing not-so-interesting statistics (as it will always be 0-1 over time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants