Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Fit with Gear Fit Manager #40

Open
etatus opened this issue Apr 27, 2016 · 3 comments
Open

Open Fit with Gear Fit Manager #40

etatus opened this issue Apr 27, 2016 · 3 comments
Labels

Comments

@etatus
Copy link
Contributor

etatus commented Apr 27, 2016

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 etatus changed the title OpenFit with Gear Fit Manager Open Fit with Gear Fit Manager Apr 27, 2016
@jareddlc
Copy link
Owner

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?

@winni159
Copy link
Contributor

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.

@etatus
Copy link
Contributor Author

etatus commented Apr 28, 2016

@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?

@jareddlc jareddlc added the bug label Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants