Commit Graph
11 Commits
Author SHA1 Message Date
octoturgeandClaude Sonnet 5 5cf7621b13 Fix print.calibration docs and add v1's missing report schema
Confirmed live: both BambuMQTT versions reply to a calibration request
with a dedicated print.calibration report, not just push_status - the
v1 request schema's own description said the opposite ("printer responds
with push_status instead of calibration"), and v2's report schema framed
this as a v1-vs-v2 contrast that no longer holds. Both descriptions
corrected; the printer does still send ordinary push_status updates
alongside the dedicated report as calibration progresses, same as any
other print job, not instead of it.

Added v1/report/print/calibration.schema.json (only existed for v2
before) and wired it into v1/report.schema.json's print category
dispatcher, which never listed it since the file didn't exist.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MWQVtBGxHYLkVw2kBupd5g
2026-09-07 14:47:07 +00:00
octoturge f7efe0a273 finished BambuMQTT schemas 2026-09-05 14:34:23 +00:00
octoturge e49e72a97b feat: (almost) all schemas done 2026-09-02 20:38:36 +00:00
octoturge 2458798880 feat: most of the schemas done 2026-09-02 18:05:49 +00:00
octoturge da6281f5d8 feat: added schemas for print.stop, print.pause and print.resume for BambuMQTT v1 and v2 2026-09-02 15:17:50 +00:00
octoturge de5aa86a2b feat: added upgrade schemas vor BambuMQTT v1 and v2 2026-09-02 15:08:27 +00:00
octoturge 053f1d3ec4 feat: Added unload filament schema 2026-08-31 21:42:43 +00:00
octoturge d4b9f62de0 feat: Added new schemas 2026-08-31 21:18:49 +00:00
octoturge 51dba8e896 Fix broken v2 bambulab schema refs, wire up v2 dispatchers, fix PrintJobStatus JSON mismatch
- v2/common/device/device.schema.json: stray backtick in bed $ref broke resolution
- v2/report/print/print.schema.json: ams $ref pointed at wrong path (missing ams/ subdir)
- v2/common/device/plate.schema.json: $id was copy-pasted from bed.schema.json
- Add v2/request.schema.json and v2/report.schema.json dispatchers - v2's leaf
  schemas were unreachable without them, same oneOf convention as v1
- Rewrite schemas/bambulab/README.md layout section, which still described
  v1's pre-rename paths and claimed v2 was removed
- PrintJob.status serialized as a raw i32 in Rust (prost stores proto3 enums
  as i32) while ts-types' TypeBox schema validates full enum name strings -
  add serde with= on the field so Rust JSON matches TS and protobuf's own
  canonical JSON enum mapping, plus a regression test
2026-08-31 13:50:51 +00:00
octoturge 1b23c58eb6 feat: push_status report for Bambu MQTT v2 2026-08-31 13:41:56 +00:00
octoturge 20ecc1e8bd chore: schema reorganization 2026-08-31 11:02:55 +00:00