Exercise from Google Fit/Health Connect not being logged Topic


I have MyNetDiary (MND) linked to Health Connect on Android.

I also have Google Fit linked to Health Connect on the same Android device.

I am seeing MND successfully sync nutrition data to Health Connect as I can see that data in the Nutrition journal on Google Fit.

When I exercise it is logged on Google Fit, however I don't see that exercise synced back to MND. I'm expecting to see that exercise in the Exercise menu item but that is always empty.

I also have Add Exercise to Calorie Budget ON and my exercise calorie burn is not being added to my calorie budget on MND.

Are my expectations incorrect or is this aspect of MND just not working correctly (or at all in fact)?


Hello Brian,

Thank you for bringing this to our attention, and we apologize for any inconvenience you're experiencing. Let's work together to address the syncing issues you're encountering.

Upon reviewing your account, I noticed that your MyNetDiary account is currently linked to Health Connect but not directly to Google Fit. As a result, exercise data logged in Google Fit may not be syncing back to MyNetDiary through Health Connect.

I would suggest revoking Health Connect and linking to Google Fit directly.

Here are a few steps you can take to troubleshoot and potentially resolve the issue:

1. Unlink MyNetDiary from the Health Connect.
2. Link MyNetDiary to Google Fit: Please make sure that you have linked your MyNetDiary account directly to Google Fit. To do this:
* Open the MyNetDiary app.
* Go to Me > Apps & Devices.
* Connect Google Fit.
3. Check Google Fit Permissions: Verify that MyNetDiary has the necessary permissions to read exercise and step data from Google Fit. In your phone's settings:
* Go to Settings > Google > Account services > Connected apps.
* Confirm that MyNetDiary is listed and has the required permissions (particularly to 'write' food info and to 'read' exercises.)
4. Ensure the Google Fit app has non-zeros exercise and step data on the recent few days.
5. Sync Google Fit Data: After ensuring the proper connection, force a sync between Google Fit and MyNetDiary (e.g., enter the new food to the meal section of MyNetDiary app; or:)
* Open MyNetDiary.
* Go to Me > Apps & Devices.
* Tap on Google Fit and manually sync the data. Google Fit's non-zeros exercises have to appear in the MyNetDiary Exercise section.
6. Review Exercise Settings in MyNetDiary: Confirm that your exercise settings in MyNetDiary are configured correctly:
* Open MyNetDiary.
* Go to Me > Settings > Calorie Budget & Exercise.
* Ensure that 'Add Exercise to Calorie Budget' is turned on. (I just checked - currently, it's enabled and has been set to add 100% of exercises.)

If the problem persists, kindly capture screenshots of the recent exercise and step data displayed on Google Fit. Additionally, tap the 'Upload Diagnostics' button located at the bottom of the Support & FAQs screen within the MyNetDiary Android app. Please email these screenshots to us at support@mynetdiary.com. Rest assured, our team is dedicated to assisting you in resolving this matter promptly. Your cooperation is highly appreciated.

Thank you for your patience.

Sincerely,
Dmitry S.
MyNetDiary Tech Support team


> As a result, exercise data logged in Google Fit may not be syncing back to MyNetDiary through Health Connect.

But why wouldn't it be? I can see that Google Fit (GF) logged the exercise in Health Connect (HC) yesterday so why would MND be unable to read it from HC?

Further when I open the HC app and go to "Permissions and data" and then click on the "MyNetDiary" entry under "Allowed access" I can see "Allow all" is enabled as well as every option under it including things like "Active calories burned", "Distance", "Heart Rate", "Steps". So MND has the access it's supposed to need, yes?

I'm also looking at the "Recent access" log and it shows that MND read just 10 minutes ago including "Sleep, Activity, Body measurements, Vitals, Nutrition". Looking further back in the log I can see the "Activity" that GF wrote yesterday and then only 1h6m later MND read "Nutrition, Sleep, Activity, Body measurements, Vitals". So MND should have read the Activity that GF wrote.

This really seems like an MND<->HC bug.

> I would suggest revoking Health Connect and linking to Google Fit directly.

But your own app shows that MND gets more data from HC than it does from GF, so I'd prefer to say with HC and get more data. Furthermore as I understand the GF API is deprecated and that HC is supposed to be preferred. Given that GF API access is deprecated I would rather not be using it for it to one day simply stop working because it's being removed.


Even though I would rather pursue the HC connection, just for test purposes I did as you suggest above and link to GF instead (temporarily) to see what the result would be.

I do now have an entry under Exercise in MND. However for yesterday it says:
Google Fit activity calories,
6674 calories
walking, elliptical

When I look at the GF data I can see the elliptical activity at it was only 464 calories.

Beyond that 60 minutes of elliptical, there is a (presumably) BMR value of 151 calories for most hours in the 24h period yesterday except the last two at 23:15 and 23:45 which are 34 calories. All of the BMR readings for today are 34 calories per 1/2.

But yesterday when I was looking all day my BMR readings where 34 calories also. Something (MND perhaps) updated them to 151 calories per 1/2 hour since I looked yesterday.


Today's exercise seems to have logged better. So far at least all I see is the specific exercise that I did for the ~490 calories that the exercise burned.

But I would still prefer to be using HC and not deprecated GF for this. Why doesn't it work with HC?


Brian,

Thank you for the detailed information and your efforts in testing this issue. I understand your preference for the Health Connect (HC) connection, and I appreciate your patience.

The issue you're experiencing does seem unusual, and it's important for us to investigate this further to provide a resolution. To facilitate a more in-depth analysis and to protect your privacy, I recommend reaching out to our support team directly via email at support@mynetdiary.com.

Please include the following information in your email to assist our support team:

1. A description of the problem and steps to reproduce it.
2. Screenshots of the exercise and step data in Google Fit.
3. Any additional details about your activity tracking preferences in Google Fit and Health Connect.
4. If possible, provide details about the specific exercise that is not syncing correctly.
Our support team and QA team will review your case thoroughly and work towards resolving the syncing issues with Health Connect. We appreciate your cooperation and understanding as we strive to address this matter promptly.

Thank you, and we look forward to assisting you via email.

Sincerely,
Dmitry S.
MyNetDiary Tech Support team

Exercise from Google Fit/Health Connect not being logged