Skip to content

Resume Heart Tracker after wearable reconnect - #333

Merged
TobiasRoeddiger merged 1 commit into
automation/bump-version-1.5.4-36858743484from
codex/heart-reconnect
Oct 5, 2026
Merged

TobiasRoeddiger merged 1 commit into
automation/bump-version-1.5.4-36858743484from
codex/heart-reconnect

Conversation

@TobiasRoeddiger

Copy link
Copy Markdown
Member

After the selected ear reconnects, Heart Tracker keeps reading its old sensor objects and the graph freezes. Resolve the current wearable by device ID, clear stale readings while disconnected, and rebuild the PPG pipeline from the fresh connection. Exiting stops the current connection’s sensors.

Validated on Pixel 9a with two OpenEarables running 2.3.0: reproduced the frozen graph while fresh PPG arrived at 50 Hz; manual and automatic reconnect now resume the graph and 50 Hz PPG, preserve the other ear’s stream, and stop selected-ear sensors on exit. Automatic recovery took 1.55 seconds in the measured trial.

Validation: 129 Flutter tests, clean analysis, and Android release build. Includes a regression test for fresh-stream rebinding, selected-device isolation, and exit cleanup.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Visit the preview URL for this PR (updated for commit 608a68c):

https://open-earable-web--pr333-codex-heart-reconnec-hbozwgog.web.app

(expires Mon, 02 Nov 2026 08:22:21 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c7397c11177c71d8d81172cea9365829823fb41c

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

PR Build Artifacts

Full workflow run: https://github.com/OpenEarable/app/actions/runs/37282804719

@TobiasRoeddiger
TobiasRoeddiger merged commit 7c9035c into automation/bump-version-1.5.4-36858743484 Oct 5, 2026
9 checks passed
@TobiasRoeddiger
TobiasRoeddiger deleted the codex/heart-reconnect branch October 5, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant