01-29-2020 17:47
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
01-29-2020 17:47
Because it's a question that often comes up, I'd like to put together a simple demo that does it (which I'll put on github). However, I'm out of my depth in some areas, and would appreciate guidance. Here's the architecture I'm thinking of:
If anyone has any suggestions for a better approach, and/or can suggest appropriate products (eg, free websocket-capable server that can run on localhost phone), please advise!
01-30-2020 09:50
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.
01-30-2020 09:50
I did something for an internal project and I used preact and fastify. There's an awesome starter project which will give you a web api, and a web frontend to display some data too. It even comes with a Docker config too.
03-03-2020 15:30
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
03-03-2020 15:30
Got a basic system working (see UFO-quality video). 😁
At bottom of video is watch, reporting heart-rate and timestamp.
At left is phone showing companion settings, reporting the values received from the watch (via messaging).
Not shown: custom server running on node.js within Dory on phone, which receives data from companion via WebSocket.
At right is a web page displayed on a desktop PC on the same network, which obtains the data from the server using another WebSocket.
03-09-2020 14:23
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
03-09-2020 14:23
Video of accelerometer data streamed in near-real-time.
Data is collected at 60Hz but transmitted in batches of 6 to reduce comms load. The square graph plots the x and y figures; the bar graph plots z.
In addition, the data is made available in CSV format (x,y,z,time), and can be downloaded from a web browser. Here's a snippet:
-2.911,-0.727,9.04,4640
-2.949,-0.057,9.04,4656
-2.241,-0.363,9.098,4672
-2.375,0.057,9.213,4672
-3.064,-0.268,9.27,4688
-3.964,-0.517,9.194,4688
-4.213,-0.536,9.021,4704
-3.715,-0.574,9.079,4720The time values are occasionally weird, but I think this can be resolved by fine-tuning the batching parameters.
Best Answer03-14-2020 17:12
03-14-2020 17:12
Hi can you kindly provide the Github link for the same
thanks
Best Answer03-14-2020 18:10
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
03-14-2020 18:10
I will, when the code and supporting explanation are in a fit state. That could take weeks; maybe even months.
04-26-2020 17:10
04-26-2020 17:10
Could you tell your github address?
I failed to search it..
Best Answer02-12-2021 07:21
02-12-2021 07:21
Did you post the code anywhere yet? I'm working on a project very closely related to what you are trying to achieve, it would really help. Thanks!
Best Answer03-19-2022 13:13
03-19-2022 13:13
I am working on a project that uses the Accelerometer and I wanted it to log to a file. Is there any way to get a copy of the code you used to get the sensor data to display on the app.
Thank you
03-19-2022 13:48
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
03-19-2022 13:48
The real-time version was never released. There's a version that transfers in batches in ossapps (Accelerometer Fetcher).
04-16-2022 02:13
04-16-2022 02:13
Hello can you please help me with my project? i could pay you. thanks
Best Answer