bambutools
bambutools' hosts various classes and methods used internally and externally
bybambu-printer-manager`.
AMSControlCommand
Bases: Enum
AMS Control Commands enum
AMSUserSetting
Bases: Enum
AMS User Settings enum
PlateType
Bases: Enum
Used by BambuPrinter.print_3mf_file to specify which plate should be used when
starting a print job.
PrintOption
Bases: Enum
Print Option enum
PrinterModel
Bases: Enum
Printer model enum
PrinterState
Bases: Enum
This enum is used by bambu-printer-manager to track the underlying state
of the mqtt connection to the printer.
States
NO_STATE- Startup / initial state indicates no active session.CONNECTED- Primary state expected when pollingBambuPrinter.PAUSED-bambu-printer's session state is paused.QUIT- When this state is triggered, all session based resources and threads are released.
getModelBySerial(serial)
Returns the Printer model enum based on the provided serial #.
parseAMSStatus(status)
Can be used to parse ams_status
parseFan(fan)
Mainly an internal method used for parsing Fan data
parseRFIDStatus(status)
Can be used to parse ams_rfid_status
parseStage(stage)
Mainly an internal method used for parsing stage data from the printer.