Skip to content

Phone app: training dataset recorder and Klipper/Moonraker mode - #4

Merged
Agnuxo1 merged 2 commits into
mainfrom
feature/dataset-recorder
Sep 27, 2026
Merged

Agnuxo1 merged 2 commits into
mainfrom
feature/dataset-recorder

Conversation

@Agnuxo1

@Agnuxo1 Agnuxo1 commented Sep 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • Dataset recorder (klipperlearn-dataset/v1): printer telemetry, accelerometer, audio features, knock/jam events with WAV clips, photos per layer/mid/final, human outcome labels, ZIP export with manifest.jsonl.
  • Klipper/Moonraker mode: same-origin connection when the app is served on the Klipper machine (no keys), trial upload/start, recording of a job started elsewhere, Klipper-native trial commands with restore.
  • tools/migrate_bed_trials_to_dataset.py and a read-only Termux check for the phone-as-host route (tools/android/phone_host_check.sh), docs.

Validation

  • tests/test_phone_app.cjs 20/20 (encoders, detectors on synthetic signals, manifest layout, Klipper transform, Moonraker flow against a fake server).
  • tests/test_phone_app_browser.cjs PASS in Chrome with fake camera/microphone: recorded trial + dataset ZIP layout.
  • npm test 47/47, JS programs 14/14, check_repository.py OK.
  • Read-only handshake against a real Klipper/Moonraker (Anycubic 4Max Pro).

🤖 Generated with Claude Code

Agnuxo1 and others added 2 commits September 27, 2026 15:02
…nraker mode

Records printer telemetry, accelerometer, audio features, knock and jam
events with WAV clips, and per-layer/mid/final photos for every trial;
exports a dataset ZIP with manifest.jsonl. Adds a Moonraker host mode
(same-origin on localhost, no keys) that can also record a job started
elsewhere, and Klipper-native trial commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Converts bed-trial sessions to klipperlearn-dataset/v1, adds a read-only
Termux self-check for the non-root phone-host route, and documents the
Klipper mode and dataset format.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
klipper-learn Error Error Sep 27, 2026 1:41pm UTC

@Agnuxo1
Agnuxo1 merged commit 9adf2dc into main Sep 27, 2026
5 of 6 checks passed

This branch had an error being deployed

1 failed deployment
Preview — 26ef8c3a Deployed Sep 27, 2026 by vercel[bot]
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