Expand description
MQTT command envelopes — the JSON published to device/{serial}/request.
Each command renders to { "<category>": { "sequence_id": .., "command": .., .. } }. The printer echoes sequence_id back in its report, which is how we
match a command to its effect (verify-by-reread).
Shapes here are derived from the OpenBambuAPI spec and must be confirmed against a real A1 mini; where the device disagrees with the spec, the device wins.
Structs§
- AmsFilament
Setting - Parameters for
print.ams_filament_setting— set a tray’s filament profile. Shapes are from the OpenBambuAPI spec. [spec] - Project
File - Parameters for
print.project_file— start a sliced.gcode.3mfthat is already on the printer’s storage. - Sequence
Ids - Monotonic allocator for the
sequence_idfield. Owned by the session/client — kept out ofCommandso commands stay pure, data-only values.
Enums§
- AmsControl
- Basic AMS control action (
print.ams_controlparam). - Command
- A control/query command sent to the printer.
- LedNode
- Which LED a
system.ledctrlcommand targets. The node name is what the printer matches inlights_report. - Speed
Level - Print-speed profile. A1/P1 use four levels; the printer echoes the active
one back as
spd_lvlin its report. - Timelapse
Control - Whether to enable or disable the printer’s per-print timelapse recording.