Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Allow to defined moonraker instances in config.json #630

Closed
lucaschoeneberg opened this issue Feb 13, 2022 · 2 comments · Fixed by #695
Closed

[FR] Allow to defined moonraker instances in config.json #630

lucaschoeneberg opened this issue Feb 13, 2022 · 2 comments · Fixed by #695

Comments

@lucaschoeneberg
Copy link

Is your feature request related to a problem? Please describe.
Hi, I'm currently having the problem that I'm running Mainsail Web on a server in the network and moonracker on a PI at the printer. I am currently trying to connect the printer to the Mainsail instance on the server.

Describe the solution you'd like
I think it would be great if Mainsail could be installed on a server and this instance of Mainsail then controls all 3D printers in the Network. That would expand the possibilities, because as soon as the PI on which Mainsail is installed fails, all other 3D printers can no longer be controlled except via their own IP address.

Describe alternatives you've considered
I know that it is important that the software is easy to install, but you can still create some kind of default configuration. The farm 3D printers could be in there and other GUI information.

@dw-0
Copy link
Member

dw-0 commented Feb 13, 2022

So you basically mean a self hosted alternative to http://my.mainsail.xyz?

That should be possible already. You have a config.json in the mainsail zip file. Modify that zip file that it's content is:

{
    "remoteMode":true
}

@lucaschoeneberg
Copy link
Author

Ok, that's great, thank you.
But wouldn't it be interesting if you could add default printers to config.json, which are included with every new browser session?

So implement these lines in config.json from the local browser storage.
printers [{"hostname":"","port":},{"hostname":"","port":}]

@meteyou meteyou changed the title [FR] Allow server installation of Mainsail (only moonracker on PI) [FR] Allow to defined moonraker instances in config.json Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants