mainsail-crew / mainsail

Mainsail is the popular web interface for managing and controlling 3D printers with Klipper.
https://docs.mainsail.xyz
GNU General Public License v3.0
1.72k stars 365 forks source link

Upgrade Klipper for multiple controllers #928

Open rlaferla opened 2 years ago

rlaferla commented 2 years ago

Requested feature:

Upgrade Klipper for multiple controllers. Printers can have multiple controllers. For example, I have three for my printer: Fysetc Spider, Huvud CAN and Raspberry Pi host. The UI to upgrade the firmware only updates/upgrades one controller, the host.

Solves the following problem:

No response

Additional information:

No response

dw-0 commented 2 years ago

The host is not to be seen as an MCU like the other two you mention. The update button only allows you to update the contents of the Klipper folder on the host. To update controllers, you need to recompile the firmware and then flash it. Mainsail is just a web interface that is not capable of executing commands on the host. We need Klipper and Moonraker support for this sort of thing first, so that one day we can allow flashing of controllers via the Mainsail web interface.