v0.7.1
Pre-release
Pre-release
SomnoTrace Release Notes (v0.7.1)
π Key Highlights & New Features
π AirSense 11 BLE JSON-RPC Passthrough Bridge (POST /api/ble/passthrough)
- Generic Remote Automation: Unlocks direct, transparent communication with the connected AirSense 11 over encrypted Bluetooth GATT.
- Smart Home Integration: Allows external scripts, Home Assistant, or smart buttons to issue raw JSON-RPC commands directly to the CPAP machine.
- Automatic Encryption & Serialization: SomnoTrace automatically handles AES-256-CBC session encryption, GATT MTU chunking, and mutex command queueing while passing JSON payloads unchanged.
π¨ Redesigned Dashboard Metric Cards & Modern Aesthetics
- Vibrant 4-Color Palette: The top summary cards (AHI, Usage Time, Avg Leak Rate, Average Pressure) now feature distinct, high-contrast color themes (Blue, Green, Gold, Red) for instant visual recognition.
- Vector SVG Watermark Icons: Embedded subtle theme-colored vector icons into each card (Pulse activity, Clock, Airflow, and Pressure Gauge dial).
- Mobile-Optimized Unit Typography: Scaled unit labels (
h,m,L/min,cmHβO) to establish clear visual hierarchy and eliminate unwanted text wrapping on mobile devices. - Meaningful Status Badges: Replaced empty placeholders with active clinical insights, such as
β₯ 4h Compliant,< 24 L/min Good, and95% 14.2 cmHβO, styled with theme-aware neon glowing outlines in Dark Mode and high-contrast deep text in Light Mode.
β° Flexible Therapy Interruption Alert Time Windows
- 30-Minute Selectors: Expanded Therapy Interruption Alert Start/End time selectors to 48 half-hour choices (
00:00to23:30) supporting arbitrary spans and day-boundary crossovers. - Dynamic Window Summary: Added a live status badge (π overnight, βοΈ daytime, π custom) providing instant feedback on the configured monitoring window.
β‘ Performance, Stability & Bug Fixes
- Connection Recycling & Reliability: Implemented graceful WebSocket teardown on page exit (
pagehide/beforeunload), increased HTTP socket limits to 20, and tuned keep-alive timeouts to eliminate connection resets (httpd_sock_err 104). - URI Handler Capacity: Increased HTTP server URI handler slots to 60 to support expanded REST API endpoints cleanly without registration warnings.
- Radio Coexistence & CPU Pinning: Configured hardware Wi-Fi/BLE radio coexistence and pinned Wi-Fi to Core 0 and NimBLE to Core 1 for uninterrupted real-time streaming.
- Stream Quality Display Fix: Fixed a Dashboard state bug where Stream Quality statistics failed to re-render when navigating between cached and uncached noon-days.
- Settings Portal Fixes: Fixed NVS persistence for the "Days to keep in sync" setting (
max_days) and added missing loading spinners for the Upload Window card during page load.
