Is there a repository of Moonraker Components anywhere? #848
Unanswered
iandouglas
asked this question in
Q&A
Replies: 1 comment
-
As a follow-up ... NFS will typically cache a file locally, but in the client's RAM unless additional work is done for setting up cachefilesd and using the 'fsc' option when mounting NFS. Since most low-power boards won't have a lot of spare RAM to use, copying the file to disk would be beneficial. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone.
I'm thinking about making an extension for Moonraker for network-area storage of gcode and using the printer's local SD storage as a cache to do the actual printing. I'm curious if there's a repository of other existing Moonraker components anywhere that I can look at for referencing proper structure etc. or to see if anyone else is already working on something like this.
Basically my idea is this: I have a fleet of printers, same brand/model, and I create a gcode file. I don't necessarily want to "broadcast" that file and copy it to every machine (SD storage is relatively small compared to what I can set as network storage via NFS). I'd love to have that NFS mount point be my directory of "gcode files available to print" in the UI, and when a user selects a file, check to see if the file is already copied/cached on local storage and if not copy it from the NFS mount point, then print from the local version of the file. After some period of time, delete the local copy.
I'm able to mount my NFS storage as the
~/printer_data/gcodes
folder and print from there just fine (my network is more than fast enough), but any hiccup in the network would fail a print if the NFS mount is interrupted.Perhaps this is best accomplished with lower-level NFS caching, but I'd be curious about the viability of making this available as a bit of a "print farm" like control over the file system.
Beta Was this translation helpful? Give feedback.
All reactions