github ilyakruchinin/SomnoTrace v4.0.0

54 minutes ago

SomnoTrace v4.0.0

πŸŒ‰ Series 10 support via SomnoBridge β€” the headline addition

  • Pair, provision and pull therapy data from an AirSense 10 / AirCurve 10
    through the SomnoBridge Wi-Fi↔BLE adapter β€” the EZShare card stays in the
    machine, nothing is swapped.
  • Clock-drift correction applies to bridge-imported days too: SomnoTrace
    anchors its NTP time on the bridge's clock and corrects the AS10's
    timestamps, so imported nights line up with your oximeter data.
  • Bridge status everywhere β€” LCD indicators for the BLE link and card Wi-Fi,
    portal sync progress, and a configure dialog with a card network picker
    and insecure-card repair.
  • Pairing reliability β€” clean release builds can now bond (SMP and
    bond-store fixes that blocked every pairing attempt in earlier betas).

πŸ“₯ Imports that don't invent data

  • Source fingerprinting β€” every imported EDF is SHA-256 hashed with its
    provenance recorded in the session manifest; re-dropped, growing or
    rewritten files are recognised instead of duplicated or guessed.
  • Late and out-of-order arrivals (EVE/CSL showing up hours after the
    waveforms) are matched on evidence, not arrival order; ambiguous sources
    stay staged with a stated reason rather than being merged on proximity.
  • Progressive uploads handled β€” files trickling in over FTP or manual
    copies wait for the group to go quiet before committing; torn files
    stage as in-flight, never quarantined.
  • Persistent import state β€” unchanged day-groups are skipped, so passes
    dropped from ~5 minutes of rebuild churn to sub-second no-ops, and
    committed sources are cleaned out of IMPORT/.
  • Existing sessions are never retroactively modified β€” fixes apply to new
    imports only.

πŸ›οΈ Sessions now match your ResMed card

  • Mask-off breaks split sessions exactly like the machine does β€” one EDF
    file set per mask-on window, matching the card file-for-file.
  • Phantom ~120 L/min leak spikes during mask-off are gone from charts and
    statistics β€” leak numbers line up with what OSCAR reports.
  • Midday sessions record as one continuous session β€” the forced noon split
    is gone (live recording only; imported sessions keep the machine's split).
  • The final therapy window is no longer truncated by an end-of-session
    race (up to ~96 minutes was being lost).

βš™οΈ Settings that tell the truth

  • TiMin, TiMax, Trigger and Cycle now export for AirCurve bilevel profiles
    (VAuto, ST, Timed, Spont) β€” previously written as "no data".
  • Historical settings require a verified source with matching machine
    identity β€” days that can't prove it show Unknown rather than borrowing
    the current machine's values.
  • AS10 card settings keep the card's own scaling and enum values;
    unverified fields stay unknown.

πŸ› οΈ Reliability

  • Clock-drift fetches now retry β€” a single BLE timeout can no longer bake
    a zero-drift correction into every session of a day (the ~1-hour shift /
    "lost session" bug).
  • HTTP work runs on deferred workers β€” no more stalled pages or
    mid-request resets with multiple tabs open.
  • PSRAM-backed stacks and buffers for the heavy workers β€” fewer low-heap
    resets.
  • Upload retry storms parked β€” a persistently failing unit backs off to
    once a day instead of hours of HTTP 429s.

⚠️ Worth knowing

  • Without usable STR mask evidence, session pairing still falls back to
    the 60-second heuristic β€” two sessions starting very close together may
    be treated as one.
  • Sessions imported before this release are frozen by design β€” they are
    not repaired, migrated or merged.
  • Live features (real-time alerts, live graphs, remote start/stop, MQTT
    therapy telemetry) remain Series 11 only β€” Series 10 via SomnoBridge is
    file-sync with drift correction.

Don't miss a new SomnoTrace release

NewReleases is sending notifications on new releases.