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

export the sensors data

ANSWERED

I want to sampling the sensors data (all the available sensors such as Accelerometer and Gyroscope) every [X] seconds and send the data to the app\web such that I could export the data as csv or another format.

 

I need that the sampling app will start automatically once the device turn on and continue to run as long as the device is on (the app should run in the background)

 

There is a way to do that?

If yes, which devices supports it?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Most of that would be possible, by writing a clockface that sends the data via the Fitbit app on your phone.

You'd need to use a Fitbit OS device (Ionic/Versa*/Sense).

Clockfaces keep running when the display is off, but if the user opens some other app (eg, Settings), the clockface will stop and so can't send data. There is no background execution.

The setup would be vulnerable from comms dropouts in the connection to the phone, and the phone OS may also stop the phone component from running continually.

It's also tricky to code!

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
0 Votes
6 REPLIES 6

Most of that would be possible, by writing a clockface that sends the data via the Fitbit app on your phone.

You'd need to use a Fitbit OS device (Ionic/Versa*/Sense).

Clockfaces keep running when the display is off, but if the user opens some other app (eg, Settings), the clockface will stop and so can't send data. There is no background execution.

The setup would be vulnerable from comms dropouts in the connection to the phone, and the phone OS may also stop the phone component from running continually.

It's also tricky to code!

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Thanks for the reply.

 

So there is no way to develop a background app?

I must to sampling the sensors always without missing data, It's Ok if the data will send only one time in day for example but the sampling must continue always.

 

Best Answer
0 Votes

No, there is no background execution. Only one clockface or app can be running at any one time. You'd have to not use any other clockface or app (including Settings, Today, etc).

Peter McLennan
Gondwana Software
Best Answer
0 Votes

And there is a way that once the user closed the another app my app will start automatically?

Best Answer
0 Votes

Yes. Your app would need to be set as the current clockface, which is automatically started when the watch starts and when any other app is closed. Therefore, you'd want to make it tell the time, probably!

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Thanks Gondwana, you've helped me a lot.

Best Answer
0 Votes