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

Fitbit App Communication

Considering that the companion app is not always available to users especially during battery optimizations or sometimes just not running in the background or foreground.

 

Is there a way we can communicate through the fitbit App using it's wiFi capabilities to external APIs.

or via it's notifications channel?

Best Answer
0 Votes
3 REPLIES 3

No, That is not possible. What I use is filetransfers. If the companion app starts again, the files are sent. Make sure your companion doesnt close be adding the following lines.

import { me } from "companion"
me.appTimeoutEnabled = false; // Disable timeout

 

Best Answer
0 Votes

Are you sure appTimeoutEnabled is for the companion? My understanding is that it prevents apps (as opposed to clockfaces) being closed after 2 minutes on the watch.

You can use wake interval to get the companion to run periodically, although it should be woken automatically when it receives a file from the watch.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

I am actualy not sure. That code is my app for 4 years now, havent looked at it. My app performs like it should and files are sent always. Looking at the Docs, I think you are right. 

Best Answer