Data not syncing #2214

Closed
opened 9 months ago by Shimon · 9 comments
Shimon commented 9 months ago

Before reporting a bug, please confirm the following:

  • I have read the wiki, and I didn't find a solution to my problem / an answer to my question.
  • I have searched the issues, and I didn't find a solution to my problem / an answer to my question.
  • If you upload an image or other content, please make sure you have read and understood the Codeberg Terms of Use

I got Gadgetbridge from:

  • F-Droid

Your issue is:

Mi band 4 fails to sync data. It was working just fine until I think I added a overview widget. It now has no data in the database so it shows empty graphs. When I backed up the app data, uninstalled it, reinstalled and imported the backup, it has either synced or contained all data, but the graphs were no longer empty and the database contains all the data too. The reinstallation hasn't helped and all new data are missing and I can only see the old data.

Your wearable device is:

Mi band 4, V1.0.9.22

Your android version is:

9

Your Gadgetbridge version is:

0.54.1

#### Before reporting a bug, please confirm the following: - [x] I have read the [wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki), and I didn't find a solution to my problem / an answer to my question. - [x] I have searched the [issues](https://codeberg.org/Freeyourgadget/Gadgetbridge/issues), and I didn't find a solution to my problem / an answer to my question. - [x] If you upload an image or other content, please make sure you have read and understood the [Codeberg Terms of Use](https://codeberg.org/codeberg/org/src/branch/master/TermsOfUse.md) ### I got Gadgetbridge from: * [x] F-Droid #### Your issue is: Mi band 4 fails to sync data. It was working just fine until I think I added a overview widget. It now has no data in the database so it shows empty graphs. When I backed up the app data, uninstalled it, reinstalled and imported the backup, it has either synced or contained all data, but the graphs were no longer empty and the database contains all the data too. The reinstallation hasn't helped and all new data are missing and I can only see the old data. #### Your wearable device is: Mi band 4, V1.0.9.22 #### Your android version is: 9 #### Your Gadgetbridge version is: 0.54.1
Owner

Hi @Shimon,

The widget should not have any effect on this, i use it on several devices without issues, but to rule out any possibility of it affecting this, does removing it change anything?

1.0.9.68 (newer version) is marked as tested, but not the V1.0.9.22.

Is mifit/zepp installed on any of your mobile devices? If yes, can you see the missing data there?

Other things (notifications) are working?

Hi @Shimon, The widget should not have any effect on this, i use it on several devices without issues, but to rule out any possibility of it affecting this, does removing it change anything? 1.0.9.68 (newer version) is [marked as tested](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Mi-Band-4-Firmware-Update#known-firmware-versions-mi-band-4-without-nfc), but not the V1.0.9.22. Is mifit/zepp installed on any of your mobile devices? If yes, can you see the missing data there? Other things (notifications) are working?
Poster

Nothing changes after removing widget, I tried adding it and removing many times, but it hasn't helped.
I use this firmware with the emoticons font and don't want to go through the upload again, because last time I almost bricked the band.
I don't have any other app installed, but when I tried installing it all the data was there.

Everything else works, even live activity tab.

Nothing changes after removing widget, I tried adding it and removing many times, but it hasn't helped. I use this firmware with the emoticons font and don't want to go through the upload again, because last time I almost bricked the band. I don't have any other app installed, but when I tried installing it all the data was there. Everything else works, even live activity tab.
Owner

I don't have any other app installed, but when I tried installing it all the data was there

In zepp/mifit? Including the data you are missing?

>I don't have any other app installed, but when I tried installing it all the data was there In zepp/mifit? Including the data you are missing?
Poster

I tried it in MiBandage, yes all the data even the missing.

I tried it in MiBandage, yes all the data even the missing.
Owner

Well, but this is it. Depending on how "the other apps" sync data, the data might not be available to Gadgetbridge anymore...

When we sync, we do not delete data from the band, we just save a last synced pointer. How other apps do it is up to them...

Stop using (uninstall or "reliably" kill/freeze) those apps to see if this helps. After you confirm, even just letting Gadgetbridge to sync "before other apps" could be your solution, if having/installing other apps is your thing.

Well, but this is it. Depending on how "the other apps" sync data, the data might not be available to Gadgetbridge anymore... When we sync, we do not delete data from the band, we just save a last synced pointer. How other apps do it is up to them... Stop using (uninstall or "**reliably**" kill/freeze) those apps to see if this helps. After you confirm, even just letting Gadgetbridge to sync "before other apps" could be your solution, if having/installing other apps is your thing.
Poster

I don't have it installed anymore and i hadn't had it installed before. I just tested the synchronistaion and then uninstalled. The weird thing is that I installed GB to my other phone, set everything up but it still didn't work, so there might be a problem with the way GB works and my band, but it's weird that it worked before with no issue.

I don't have it installed anymore and i hadn't had it installed before. I just tested the synchronistaion and then uninstalled. The weird thing is that I installed GB to my other phone, set everything up but it still didn't work, so there might be a problem with the way GB works and my band, but it's weird that it worked before with no issue.
Owner

Is this resolved now? What was the issue, please?

Thank you

Is this resolved now? What was the issue, please? Thank you
vanous added the
potentially fixed / confirm and close
label 4 months ago
Poster

Seems like an issue in firmware? Didn't work with any app. When I then wanted to save battery, I turned all heart rate measurements off (because it was useless) and after a day or so it started synching.

Seems like an issue in firmware? Didn't work with any app. When I then wanted to save battery, I turned all heart rate measurements off (because it was useless) and after a day or so it started synching.
Owner

Interesting. Thank you!

Interesting. Thank you!
vanous closed this issue 4 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.