Ankermgmt / ankermake-m5-protocol

Ankermake M5 protocol specifications and libraries *NOT AFFILIATED WITH ANKER*
GNU General Public License v3.0
150 stars 30 forks source link

[ENHANCEMENT] MainSail Support #87

Open thomasjpatterson opened 1 year ago

thomasjpatterson commented 1 year ago

Your issue may already be reported! Please search on the issue tracker before creating one.

Describe the solution you'd like To provide an even richer experience for advanced users, we shall provide MainSail support for AnkerControl such that we will become a "middleware" similar to MoonRaker to control the AnkerMake M5.

Acceptance Criteria

chrivers commented 1 year ago

In the experimental mainsail branch, we have the following features:

Now, an "Emergency stop" feature is not something I'm sure has an M5 equivalent. But we could make the E-stop feature send some kind of stop command, to at least have a best-effort option.

Bed leveling is unlikely to work. Not because we can't provide the Mainsail UI with the data, but because the M5 can't provide the data to us :(

We can request the data through gcode (over mqtt), but because the packets are truncated at 512 bytes, we don't actually get the data. So it seems we are out of luck, unless Anker fixes the firmware to actually support gcode commands.

ravenspeak commented 6 months ago

@chrivers do you have any quick guide on how to make the experimental mainsail branch work? Do I just run the webserver and add the printer in mainsail using the webserver's IP and port?