Mrnt / OctoPrint-FlashForge

OctoPrint plugin to support closed source printers from FlashForge, PowerSpec, Dremel
GNU General Public License v3.0
87 stars 12 forks source link

SD Wifi (FlashAir) support for not sd enabled Flashforge printers #87

Open msmthng opened 5 months ago

msmthng commented 5 months ago

Hi, i would like to use my flashir sd within octoprint to handle sd card listening etc.

there fore i have to create lists etc. on the resonses for the serial hook.

the questions is if i should include this within the flashforge plugig or doing a second plugin handling the sd card.

but in this case there should be 2 plugins using the octoprint.comm.transport.serial.factory hook in parallel - is it possible to use 2 plugins for one connections in parallel?

thx

msmthng

Mrnt commented 4 months ago

Sorry for the delay in responding. This is an interesting idea. I believe you can only have one serial hook active at a time. If I understand correctly, you would want the connection to the flashir SD would manage file listings, deleting files? Were you also envisioning uploading the files using the flashir connection? It seems like flashir support would need to be added to this plugin with the g-code commands like M20 for file listing, M30 for file deletion M21 for card formatting being processed by this plugin via the flashir connection instead of being passed to the printer.