Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can i get the real-time data?

I want to make the emergency app, especially for disabled/ elders.

So, I want to get the real-time data of heart-rate, gyrosensor. 

How can i contact this data?

I'll wait the reply T.T

Best Answer
8 REPLIES 8

I've moved your question to the SDK Development forum.  Hopefully someone here can answer your question.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

https://dev.fitbit.com

There you can search for everything you can do with the SDK.

For example:

https://dev.fitbit.com/build/guides/sensors/heart-rate/

Best Answer
0 Votes

I just wondered what you are going to do with the gyroscope data?   I have got something (sort of) working doing something similar, but I am recording accelerometer data and heart rate, and send it to my android app to do analysis and raise alarms.   

My initial tests show it working reasonably well, but I am worried about reliability - it keeps missing updates (which my app detects as a fault condition), and if you take the watch out of bluetooth range, it does not start up again properly.

I'd be very happy to collaborate on getting this working as it sounds like you are trying to do something similar to me - my watch app is here: https://github.com/OpenSeizureDetector/Fitbit_SD, and the android app that does the alarming is here: https://github.com/OpenSeizureDetector/Android_Pebble_SD

How are you finding the communications reliability?

Graham.

Best Answer
0 Votes

I don't have much experience developing apps for android or the fitbit, so execuse if my question is a bit naive..

 

Can I edit your code to receive the HTTP requests using Python instead of on an android application?

Also, is it possible to substitue that with MQTT messages?

Best Answer
0 Votes

Hi,

Yes, you should be able to write a python web server to receive the data with something like flask or bottlepy.

You might hit a security problem if tour server only uses http not https though (I hit this with my garmin equivalent of this app and garmin made a fix to allow unencrypted communication to local host but not other servers.  I dont know if fitbit has the same security restriction.

I dont know about Matt I'm afraid - I find http works so have never tried anything else.

 

Note though that I have not found a solution to the reliability problem - fitbit does not seem to recover from bluetooth disconnection, so I recommend my users use garmin not fitbit watches.

Best Answer

Do I get the Garmin's SDK with the purchase?

I read a bit about it and understoodf that they require some sort of agreement with an institution and not just a purchase.

 

Best Answer
0 Votes
The basic Garmin SDK is free like the fitbit one (they might charge for
access to health data via their servers).
I prefer it because you transfer the compiled program to the watch by
plugging the watch into the computer and copying it onto the watch
filesystem - with fitbit you have to upload to the watch via Fitbit's
servers which seems very complicated!
https://developer.garmin.com/connect-iq

--
Graham Jones
Hartlepool, UK.
Best Answer

...But I think you will need to use https transfer if you want to use a Garmin with your python web server - they only made an exception for unencrypted transfer to the local host (phone)

Best Answer
0 Votes