Is your feature request related to a problem? Please describe.
With the advent of peerprint, printers can now share work over a network. But there's additional benefit to being able to establish a "trusted" network of printers across multiple networks, not just the LAN.
Describe the solution you'd like
Connecting to a WAN queue should be almost as easy as with a LAN queue - however this will likely require some kind of credential / auth step to ensure things remain secure.
There should be a way to perform the same functions as defined in LANPrintQueueBase:
- Connecting/disconnecting from the queue
- Getting / posting peer information
- Setting/getting/removing job information
- Acquiring/releasing jobs
Additionally there should be a batteries-included file hosting option, like the Fileshare class but permitting global access to the file.
File sync
IPFS seems to make a lot of sense here, but the design should allow for an arbitrary URI to permit file hosting in whatever way is easiest. IPFS does seem to require running a server in order to push files (link) so overhead may be an issue on less performant OctoPrint hosts (e.g. older generation raspberry pi's)
Additional context
#35 is the parent issue.
Is your feature request related to a problem? Please describe.
With the advent of peerprint, printers can now share work over a network. But there's additional benefit to being able to establish a "trusted" network of printers across multiple networks, not just the LAN.
Describe the solution you'd like
Connecting to a WAN queue should be almost as easy as with a LAN queue - however this will likely require some kind of credential / auth step to ensure things remain secure.
There should be a way to perform the same functions as defined in LANPrintQueueBase:
Additionally there should be a batteries-included file hosting option, like the Fileshare class but permitting global access to the file.
File sync
IPFS seems to make a lot of sense here, but the design should allow for an arbitrary URI to permit file hosting in whatever way is easiest. IPFS does seem to require running a server in order to push files (link) so overhead may be an issue on less performant OctoPrint hosts (e.g. older generation raspberry pi's)
Additional context
#35 is the parent issue.