There is a special command for MQTT:
{
"print": {
"sequence_id": "0",
"command": "gcode_line",
"param": "M960 S5 P0" // Gcode to execute, can use \n for multiple lines
}
}
Or
{
"print": {
"sequence_id": "0",
"command": "gcode_file",
"param": "filename.gcode" // Filename (on the printer's filesystem) to print
}
}
I think we can already make a list of problems that we should fix ourselves