Skip to content

Build MSD Impact Monitor with event-only telemetry preview - #1

Merged
nickessler2004 merged 2 commits into
mainfrom
feat/impact-monitor-dashboard
Oct 21, 2026
Merged

nickessler2004 merged 2 commits into
mainfrom
feat/impact-monitor-dashboard

Conversation

@nickessler2004

@nickessler2004 nickessler2004 commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Adds the first working MSD Impact Monitor prototype to this previously empty repository, with explicitly separated live-simulation and event-only preview modes. No hardware, phone gateway, or cloud database is connected.

  • The live simulation includes a moving GPS vehicle, three IMU axes, threshold controls, impact logs, session history, and JSON export in a responsive React + TypeScript UI.
  • The threshold rule is green for A < T1, yellow for T1 ≤ A ≤ T2, and red for A > T2. Both exact boundaries are yellow.
  • Event-only telemetry uses sparse, source-labeled threshold packets. Peak magnitude and GPS may be absent; no continuous readings, route, vehicle speed, or distance are fabricated. Reported event severity is retained independently of local demo thresholds.
  • Connection status, receipt age, and impact state are distinct. Continuous samples older than five seconds are stale and produce gray current status with hidden current readings and GPS. Pause updates and Data feed controls exercise stale and disconnected behavior.
  • Event-only current motion remains unknown/gray even after a recent event or a long quiet period. The latest event is a timestamped historical report, not a current-motion assessment. Local test injection never claims a connected device.
  • Histories and schema-version-2 exports stay separate by telemetry mode, with explicit simulated/test-event/device provenance and null values for unavailable fields.
  • README instructions, screenshots for both modes, domain logic, adapter contracts, and GitHub Actions checks support later ESP32-S3/gateway integration. No cloud integration is included.

Validation on the updated implementation: production build and TypeScript checks, all 37 unit tests, all 14 Chromium browser tests, production-browser smoke check for both modes with no runtime errors, mobile checks at 390px, and Prettier check. Tests cover exact threshold boundaries, source isolation, sparse packets, stale/disconnected streams, event silence never confirming green, preserved event severity after demo-threshold edits, automatic impact coalescing, sessions, and JSON exports. Map tiles are blocked in browser tests to exercise the offline fallback.

All settings/history are in memory and reset on refresh. Export JSON to keep a copy. No deployment, hardware calibration, authentication, cloud persistence, or merge is included.

@nickessler2004 nickessler2004 changed the title Build first MSD Impact Monitor dashboard prototype Build MSD Impact Monitor with event-only telemetry preview Oct 21, 2026
@nickessler2004
nickessler2004 merged commit ddb02d9 into main Oct 21, 2026
1 check passed
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.

2 participants