Skip to content

[BUG] - Weird Step Count data #37

@cimm

Description

@cimm

The step count data appears unusual and doesn’t match the values shown in the iOS Health app. Below is a random sample of today’s step count reported by HealthAutoExport:

1.5661734416503
1.5661734416503
1.5661734416503004
1.5661734416503004
1.5356489023589504
0.19539069756587085
0.7830855329179212
0.783085532917921
0.238438236598287

In contrast, the same data in the iOS Health app look saner:

Image

When exporting other types of data, such as caffeine or alcohol consumption, the values are reported correctly. It appears that only the step count data is affected.

  • The values are floating-point numbers rather than integers. For example, how can I take 0.238438236598287 steps?
  • The numbers do not correlate with my actual step count. The values do not consistently increase with more steps and seem almost random.
  • Adjusting the data aggregation and aggregation interval in the automation changes the numbers, but they still do not match the iOS Health app’s figures.
  • Some reported number are shown multiple times in a row. It feels weird that I took exactly 1.5661734416503004 steps multiple times in a row.

Steps to reproduce the behavior:

  1. Go to the “Automations” tab.
  2. Click on “New Automation” twice.
  3. Keep the “Automation Type” set to “REST API” and configure a REST endpoint.
  4. Select “Step Count” as the health metric to send, and choose JSON as the export format.
  5. Click the blue “Manual Export” button, then click the green “Begin Export” button.
  6. Inspect the received data.
  • Device: iPhone 13 mini
  • OS: iOS 18.4.1
  • App Version: 8.2.11

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions