github ilyakruchinin/SomnoTrace v4.0.1

50 minutes ago

SomnoTrace v4.0.1

✨ New Features

  • 🫀 Opt-in Live PPG Recording (O2 Ring S / Gen2): Added a new Live PPG Recording mode (opt-in from the Oximeter settings dropdown; existing paired rings remain on standard "Download after sleep"). Streams ~102 Hz dual-wavelength raw optical PPG plus 1 Hz SpO₂, heart rate, and motion to /PPG/<YYYYMMDD>/ on the SD card, and automatically generates standard oximetry graphs and SleepHQ/SMB uploads when your session ends.
  • 🚶 Graceful Overnight Disconnect & Resume: Live PPG sessions now survive brief BLE dropouts (such as toilet breaks outside BLE range) and seamlessly resume appending to the same overnight recording for up to 30 minutes before finalizing.
  • ⏱️ Dashboard Stream Quality & Time Drift Card: The Stream Quality card at the bottom of the Dashboard is now always visible on both desktop and mobile, highlights any BLE packet loss in eye-catching red, and displays the last CPAP session's clock drift (separated from any timezone offset).

🔧 Reliability & Memory Improvements

  • 🕒 Smarter O2 Ring NTP Time Sync: Syncs the ring's clock immediately on pairing, only pushes time once NTP is valid, and measures pre-sync RTC drift so timestamps on downloaded oximetry files stay accurate.
  • 🧠 Major Internal RAM Optimizations (PSRAM Migration): Moved OTA streaming buffers, JSON allocations (cJSON), NimBLE host memory, SD refresh tasks, and large static buffers into PSRAM—freeing substantial internal SRAM so Wi-Fi/BLE stay stable and OTA firmware updates succeed reliably without needing a reboot first.
  • 📖 Documentation: Added 3-click web installer and SMB share highlights to README.md.

Don't miss a new SomnoTrace release

NewReleases is sending notifications on new releases.