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

Sending HTTP Requests from fitbit device (fitbit ionic)

Hey everyone,

I am currently working on my own fitbit application for the "fitbit ionic". Now I want to send some sensordata from my device to my own android application (not the official fitbit companion app) via simple HTTP-requests. But with the given device API I have no clue about how I can send a simple POST-request for example.


Libraries like XMLHTTPRequest, Websocket API or Fetch won't work. Is there maybe another way to send a HTTP-request from my fitbit ionic?

 

Best Regards

Best Answer
0 Votes
4 REPLIES 4

Your application needs a companion, which runs within the Fitbit mobile app.

https://dev.fitbit.com/build/guides/companion/

 

Then you can use the messaging API to send a request from the device to the companion, and the companion can perform the fetch()

https://dev.fitbit.com/build/guides/communications/messaging/

Best Answer
0 Votes

Is there as to why web hook applications in the app gallery support Versa/Ionic and not Charge 3/4/5?

 

What I'm trying to understand is if the app developers have left out Charge 3/4/5 from webhook apps or apps that can place HTTP request? Or it's solely because Charge 3/4/5 have certain limitation when it comes to using certain APIs from SDK to perform callbacks?

Best Answer

Charges don't have an operating system or API that can run custom clockfaces/apps.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Is it ever on Fitbit's roadmap to incorporate APIs for its Charge series, much like how Spotify's music controls are integrated within Charge 5? 

 

It would be a great convenience if Fitbit opened up APIs for its charge series, however limited that might be. The form factor of Charge series is a huge dealbreaker over Versa series, even when you can buy them for practically the same price.

 

A form factor that of Charge 5 (smooth/sleek over boxy curves of Versa) + APIs would be reminiscent of Pebble Watch (and the Rebble community); webhooks or ability for Fitbit's iOS companion app to run iOS shortcuts might very well make Charge series ever more lucrative to Apple Watch users, who are used to running shortcuts to handle petty tasks while running/working out. 

Best Answer
0 Votes