Arksine / moonraker

Web API Server for Klipper
https://moonraker.readthedocs.io
GNU General Public License v3.0
1.02k stars 392 forks source link

Add filament I’d to print history #866

Open asm308 opened 1 month ago

asm308 commented 1 month ago

Is your feature request related to a problem? Please describe

When there is an integration to spoolman, it would be really cool if the history tracked the ID of the filament used for each print. I see there is also a request #738 to add metadata for the cost of the print which would also be cool to have in the history. You could then track which filaments were used in each print and the cost of prints overtime. Help to identify good/bad filaments / batches and also keep a handle on costs of a particular print overtime as the cost of spools changes

Describe the solution you'd like

Just a couple of extra fields in the history. If I could interrogate spoolman from a history entry to actually get the name of filament etc that would be a big bonus or perhaps have the full detail fetched from spoolman at the time the history entry is made. But that might be too much info to display. I’d be happy with just the ID, but clearly more useful with human readable data

Describe alternatives you've considered

Can’t see how else this would be done. I can’t see anything currently that would allow me to identify what filament I used. Eg if I had a print fail in use, it would be nice to be able to identify the actual filament used

Additional information

No response