OpenFit icon indicating copy to clipboard operation
OpenFit copied to clipboard

Open Fit with Gear Fit Manager

Open etatus opened this issue 8 years ago • 3 comments

Hi, I am currently using both, Open Fit (to sync to Google Fit) and Gear Fit Manager (to sync to SHealth), but obviously not at the same time.

The problem is the following:

  1. I connect Gear Fit to Gear Fit Manager for a while (it syncs data every hour)
  2. I disconnect Gear Fit from Gear Fit Manager and connect it to Open Fit perfectly.
  3. I retreive fitness data from Open Fit.
  4. Data don't show all the activity registered in the Gear Fit since my last Open Fit sync, but only partial latest activity, so I miss data when syncing to Google Fit.

Is it possible that Gear Fit Manager put some flag when it syncs data which avoids Open Fit can sync all the pending activity? (BTW all fitness data is available from the Gear Fit interface)

Is there some test I can do to help in finding out what is happening? (I have a Galaxy S7)

etatus avatar Apr 27 '16 15:04 etatus

interesting, I have not tested this, and I cannot test it due to not having a working Gear Fit on my phone. However I think Open Fit syncs last 3 exercise? I could be wrong @winni159 does that seem correct?

jareddlc avatar Apr 28 '16 06:04 jareddlc

Hi, @etatus is right. There is DATA_TYPE_HOST_TO_WINGTIP_SYNC_DONE flag, which is sent to Gear Fit after sync with Gear Fit Manager (probably, i dont have samsung phone) and then the data stored before this flag are lost for sync with a phone. I tested it during development. Open Fit app is not sending this flag, so the data from Gear Fit are available every time for sync. @jareddlc Open Fit is syncing all exercise which are stored in the bracelet.

winni159 avatar Apr 28 '16 19:04 winni159

@winni159 Open Fit isn't syncing all exercise in this scenario, because as I mentioned, after syncing with Gear Fit Manager, only a few data is synced (probably data since last flag). However, I can see history of all exercise data from bracelet interface.

My thoughts:

  1. You can use Open Fit by default and sync to SHealth with Gear Fit Manager from time to time without losing exercise data.
  2. Everytime Gear Fit Manager syncs data, the flag is sent and synced data in the bracelet is deleted.
  3. After that, the historical data I can see in the bracelet is (probably) only a summary and the corresponding graphs (of the last week?).
  4. If you use Gear Fit Manager by default, you will never be able to sync all the data to Google Fit because it is deleted after every sync.

What do you think?

etatus avatar Apr 28 '16 20:04 etatus