beeminder / BeeSwift

Official Beeminder for iOS app
Other
29 stars 6 forks source link

Inaccurate time asleep #259

Open krugerk opened 3 years ago

krugerk commented 3 years ago

A user has reported that Beeminder iOS app (5.8 and later with 5.9) produced inaccurate sleep durations. The duration listed in Apple Health is closer to what the user expected. The datapoint in Beeminder seems to be double the amount.

Perhaps it is worth noting that in this case there are multiple sources providing 'time asleep' data to Apple Health. Furthermore, the app is installed on multiple iOS apps and HealthKit integration is enabled on both.

We've even seen an instance of the Apple Health sleep metric feeding Beeminder more than 24 hours of sleep on one day!

Cognata

Verbata: autodata maintenance, apple health integration, autodata accuracy, autodata fetches,

krugerk commented 3 years ago

'Time asleep' according to Apple Health: image

-- as shown in the Web App: image

-- As shown in the app: image

krugerk commented 3 years ago

I also see the datapoint comment shows auto-updated and not just auto-entered. Is the app creating a datapoint on one device the adding to that on the other device? That is, that the error is inter app combining one app's reading of HealthKit data with the existing value already in the goal (created by the same app on another device)?

krugerk commented 3 years ago

A workaround for now might be for the user to deny Beeminder iOS access to sleep data on one of the two installations. The Health data itself is synced across iCloud connected devices so the same data should be available on each device.