Skip to content

Add ESP32 USB simulated-acceleration integration test - #7

Open
nickessler2004 wants to merge 3 commits into
mainfrom
feat/esp32-usb-simulated-telemetry
Open

nickessler2004 wants to merge 3 commits into
mainfrom
feat/esp32-usb-simulated-telemetry

Conversation

@nickessler2004

@nickessler2004 nickessler2004 commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Behavior

Generate separate simulated X/Y/Z on the ESP32-S3, classify exact T1/T2 boundaries per TELEMETRY_PROTOCOL.md, and emit sparse warning/critical NDJSON events over native USB. A finite Python serial capture synchronizes UTC through a nonce/latency-checked handshake, saves actual received packets to SQLite, and uploads their original UUIDs, shared IMU sequence, timestamps and threshold snapshots through authenticated owner RPCs into a new clearly labeled simulated session. Capture runs 3–45 seconds; upload follows capture. Retry replays the durable outbox without opening USB.

The user confirmed the actual board is Adafruit Feather ESP32-S3 #5477 without a screen. The Monterey guide defaults to its 2MB PSRAM board profile and also documents Reverse TFT #5691. No observer UI, mobile gateway, database schema or RLS changes; no real IMU/BLE/GPS drivers or privileged credentials.

Validation

  • New native/sketch/bridge tests: 13 passed; separate live software-only Supabase upload/readback, duplicate replay and unrelated observer RLS test: 1 passed.
  • Existing local checks: 84 dashboard unit tests, 31 browser tests, 3 PWA tests, 21 mobile tests; mobile typecheck, dashboard build, demo build, formatting and whitespace checks passed.
  • ESP32 CI passed for both board profiles, with Espressif 3.3.5 and USB CDC enabled. Confirmed #5477 build: 411,083 bytes flash / 43,584 bytes global RAM. This includes Python 3.9 native/bridge tests. The workflow is pinned to Ubuntu 22.04 for Python 3.9 compatibility.
  • Existing dashboard/mobile CI passed, including browser/PWA tests and iOS/Android bundle export.
  • Deployed observer hostname was blocked by the environment allowlist; authenticated live Supabase readback succeeded. Physical USB and deployed-site acceptance remain for the user to perform. No hardware success is claimed.

See Monterey setup and verification and validation evidence and limits. Do not merge automatically.

@netlify

netlify Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for msd-observer ready!

Name Link
🔨 Latest commit aa7aca6
🔍 Latest deploy log https://app.netlify.com/projects/msd-observer/deploys/6ae8e59af56501ef799f7cf9
😎 Deploy Preview https://deploy-preview-7--msd-observer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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