Skip to content

[FEATURE REQUEST] Minimal Read Only REST API #256

Open
@labatt

Description

To streamline project work and notifications across multiple printers and multiple jobs, it would be helpful if we could retrieve a minimal amount of information from the Bambu Labs Cloud:

  • Printer status (i.e. Offline, Idle, Printing, Error)
  • Temperatures (Nozzle, Bed, Chamber)
  • Times (Print start, estimated minutes to completion for current print)

As a bonus, the ability to pick up the camera stream in some format... RTSP?

That's all that's REALLY important. Additional ones that would be NICE but not really as important:

  • Speed %
  • Printing Progress Step (i.e. heating, calibrating, etc.)
  • Fan status (part cooling fan on, aux cooling fan on)

And when we get to two way...

  • Stop print
  • Pause print
  • Run calibration

The ability to submit a print job would be great, but an MVP/iterative approach to get some status info to be read about the printer would be amazing.

Current proposed COMPLETE JSON response....

{
        "general": {
                "printer_name": "a name",
                "printer_serial": "serialnumber",
		"current_time": "2022-09-14T19:28:12+00:00",
         },     
	"status": {
		"curent_status": "printing",
		"last_progress": "Heating Bed",
		"last_error": "Spaghetti detected",
		"speed": "100",
		"fan_part": "50",
		"fan_aux": "0"
	},
	"temperatures": {
		"nozzle": "240",
		"bed": "45",
		"chamber": "42",
		"units": "C"
	},
	"times": {
		"print_start": "2022-09-14T18:59:02+00:00",
		"print_estimate": "5536",
		"print_left": 3285
	},
	"last_print": {
		"last_print_start_time": "2022-09-14T18:59:02+00:00",
		"last_final_print_time": "1234",
		"last_filament_used": "56.3",
		"last_print_completed_time": "2022-09-14T20:35:58+00:00"
	}
}

Speed is printer speed in %. The fan numbers are %. The print estimate is in seconds. The filament used is in grams. etc.

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions